|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jpicedt.graphic.toolkit.AbstractMouseTransform jpicedt.graphic.toolkit.EditElementMouseTransformFactory._MoveElementTransform
protected class EditElementMouseTransformFactory._MoveElementTransform
A mouse-transform that can translate an element, or a group of element.
Constructor Summary | |
---|---|
EditElementMouseTransformFactory._MoveElementTransform(BranchElement target,
int anchorChildIndex,
PicPoint clickPt,
Grid grid)
|
|
EditElementMouseTransformFactory._MoveElementTransform(Element target,
PicPoint clickPt,
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 by mouseReleased. |
void |
process(PEMouseEvent me)
Called when the mouse is dragged. |
void |
start(PEMouseEvent e)
Called when the mouse is pressed. |
String |
toString()
|
Methods inherited from class jpicedt.graphic.toolkit.AbstractMouseTransform |
---|
getClone, getTarget, paint |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EditElementMouseTransformFactory._MoveElementTransform(BranchElement target, int anchorChildIndex, PicPoint clickPt, Grid grid)
target
- the selection-handler upon which this transform acts (globally)anchorChildIndex
- index of target's child that will serve as
the reference-child for grid alignment ; if null, target is used instead ;clickPt
- public EditElementMouseTransformFactory._MoveElementTransform(Element target, PicPoint clickPt, Grid grid)
target
- the selection-handler upon which this transform acts ; also serve
as the anchor for grid alignment.clickPt
- Method Detail |
---|
public void start(PEMouseEvent e)
start
in interface MouseTransform
start
in class AbstractMouseTransform
public Cursor getCursor()
MouseTransform
public void process(PEMouseEvent me)
public boolean next(PEMouseEvent e)
AbstractMouseTransform
next
in interface MouseTransform
next
in class AbstractMouseTransform
true
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 Object
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |