|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjpicedt.graphic.toolkit.AbstractMouseTransform
jpicedt.graphic.toolkit.EditElementMouseTransformFactory._MoveControlPointTransform
protected class EditElementMouseTransformFactory._MoveControlPointTransform
a mouse-transform that moves element's end-points, ie aka scales elements
| Constructor Summary | |
|---|---|
EditElementMouseTransformFactory._MoveControlPointTransform(Element target,
int pointIndex,
EditPointConstraint constraint,
String helpMessage,
Grid grid)
|
|
| Method Summary | |
|---|---|
Cursor |
getCursor()
Return the cursor for this MouseTransform |
String |
getHelpMessage()
Return a help-message for the UI, that makes sense with this transform. |
boolean |
next(PEMouseEvent e)
Called when the mouse is released. |
void |
process(PEMouseEvent e)
Called when the mouse is dragged. |
String |
toString()
|
| Methods inherited from class jpicedt.graphic.toolkit.AbstractMouseTransform |
|---|
getClone, getTarget, paint, start |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EditElementMouseTransformFactory._MoveControlPointTransform(Element target,
int pointIndex,
EditPointConstraint constraint,
String helpMessage,
Grid grid)
target - the element upon which is transform will actpointIndex - index of the Element's point that will be movedgrid - the Grid instance used for alignment (if it's snap-on)constraint - the geometrical constraint to be used when moving control-points ; may be nullhelpMessage - if non-null, this will be displayed on mouse-move events instead of the default help-message
for this mouse-transform.Element.setCtrlPt(int, jpicedt.graphic.PicPoint)| Method Detail |
|---|
public void process(PEMouseEvent e)
public boolean next(PEMouseEvent e)
next in interface MouseTransformnext in class AbstractMouseTransformtrue if there's another task in the sequence,
false if mouse-transform has completed with this
mouse-event.public String getHelpMessage()
MouseTransform
public String toString()
toString in class Objectpublic Cursor getCursor()
MouseTransform
PicGroup, returns a cursor according to
pointIndex.
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||