|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.malai.instrument.Link<RotateShapes,DnD,Border>
net.sf.latexdraw.instruments.Border.DnD2Rotate
private static class Border.DnD2Rotate
This link maps a DnD interaction on a rotation handler to an action that rotates the selected shapes.
Field Summary | |
---|---|
protected IPoint |
gc
The gravity centre used for the rotation. |
protected IPoint |
p1
The point corresponding to the 'press' position. |
Fields inherited from class org.malai.instrument.Link |
---|
action, clazzAction, execute, instrument, interaction |
Constructor Summary | |
---|---|
protected |
Border.DnD2Rotate(Border ins)
|
Method Summary | |
---|---|
void |
initAction()
After being created by method createAction, the action must be initialised by this method. |
boolean |
isConditionRespected()
|
void |
updateAction()
Updates the current action. |
Methods inherited from class org.malai.instrument.Link |
---|
addEventable, clearEvents, createAction, getAction, getInstrument, getInteraction, interactionAborts, interactionStarts, interactionStops, interactionUpdates, interimFeedback, isActivated, isExecute, isInteractionMustBeAborted, isRunnable, isRunning, setActivated |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected IPoint p1
protected IPoint gc
Constructor Detail |
---|
protected Border.DnD2Rotate(Border ins) throws java.lang.InstantiationException, java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.IllegalAccessException
Method Detail |
---|
public void initAction()
Link
initAction
in class Link<RotateShapes,DnD,Border>
public void updateAction()
Link
updateAction
in class Link<RotateShapes,DnD,Border>
public boolean isConditionRespected()
isConditionRespected
in class Link<RotateShapes,DnD,Border>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |