|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.malai.instrument.Link<SelectShapes,DnD,Hand>
net.sf.latexdraw.instruments.DnD2Select
class DnD2Select
This link allows to select several shapes.
Field Summary | |
---|---|
protected java.awt.geom.Rectangle2D |
selectionBorder
The is rectangle is used as interim feedback to show the rectangle made by the user to select some shapes. |
Fields inherited from class org.malai.instrument.Link |
---|
action, clazzAction, execute, instrument, interaction |
Constructor Summary | |
---|---|
protected |
DnD2Select(Hand hand,
boolean exec)
Initialises the link. |
Method Summary | |
---|---|
void |
initAction()
After being created by method createAction, the action must be initialised by this method. |
void |
interimFeedback()
Defines the interim feedback of the link. |
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, 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 java.awt.geom.Rectangle2D selectionBorder
Constructor Detail |
---|
protected DnD2Select(Hand hand, boolean exec) throws java.lang.InstantiationException, java.lang.IllegalAccessException
hand
- The hand.exec
- True: the action is executed at each update of the interaction.
java.lang.InstantiationException
java.lang.IllegalAccessException
Method Detail |
---|
public void initAction()
Link
initAction
in class Link<SelectShapes,DnD,Hand>
public void updateAction()
Link
updateAction
in class Link<SelectShapes,DnD,Hand>
public boolean isConditionRespected()
isConditionRespected
in class Link<SelectShapes,DnD,Hand>
public void interimFeedback()
Link
interimFeedback
in class Link<SelectShapes,DnD,Hand>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |