|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jpicedt.graphic.toolkit.EditConvexZoneMouseTransformFactory.MoveConvexZoneTransform
protected class EditConvexZoneMouseTransformFactory.MoveConvexZoneTransform
Une transformation de souris qui peut translater un ensemble de zone convexe.
Constructor Summary | |
---|---|
EditConvexZoneMouseTransformFactory.MoveConvexZoneTransform(ConvexZoneGroup target,
int anchorChildIndex,
PicPoint clickPt,
Grid grid)
|
|
EditConvexZoneMouseTransformFactory.MoveConvexZoneTransform(ConvexZoneGroup 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 when the left mouse-button changes state. |
void |
paint(Graphics2D g,
Rectangle2D allocation,
double scale)
Allows the MouseTransform to do specific graphic rendering when it's operating. |
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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EditConvexZoneMouseTransformFactory.MoveConvexZoneTransform(ConvexZoneGroup 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 EditConvexZoneMouseTransformFactory.MoveConvexZoneTransform(ConvexZoneGroup 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
public Cursor getCursor()
MouseTransform
getCursor
in interface MouseTransform
public void process(PEMouseEvent me)
process
in interface MouseTransform
public boolean next(PEMouseEvent e)
MouseTransform
next
in interface MouseTransform
true
if there's another task in the sequence,
false
if mouse-transform has completed with this
mouse-event.public void paint(Graphics2D g, Rectangle2D allocation, double scale)
MouseTransform
paint
in interface MouseTransform
public String getHelpMessage()
MouseTransform
getHelpMessage
in interface MouseTransform
public String toString()
toString
in class Object
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |