|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.malai.instrument.Link<AddShape,I,Pencil>
net.sf.latexdraw.instruments.PencilLink<MultiClick>
net.sf.latexdraw.instruments.MultiClic2AddShape
class MultiClic2AddShape
This link allows to create shapes using a multi-clic interaction.
Field Summary |
---|
Fields inherited from class org.malai.instrument.Link |
---|
action, clazzAction, execute, instrument, interaction |
Constructor Summary | |
---|---|
protected |
MultiClic2AddShape(Pencil ins,
boolean exec)
The constructor by default. |
Method Summary | |
---|---|
void |
initAction()
After being created by method createAction, the action must be initialised by this method. |
void |
interactionStarts(Interaction inter)
Happens when the interaction quits its initial state. |
void |
interimFeedback()
Defines the interim feedback of the link. |
boolean |
isConditionRespected()
|
boolean |
isInteractionMustBeAborted()
Sometimes the interaction of two different links can overlap themselves. |
void |
updateAction()
Updates the current action. |
Methods inherited from class org.malai.instrument.Link |
---|
addEventable, clearEvents, createAction, getAction, getInstrument, getInteraction, interactionAborts, interactionStops, interactionUpdates, isActivated, isExecute, isRunnable, isRunning, setActivated |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected MultiClic2AddShape(Pencil ins, boolean exec) throws java.lang.InstantiationException, java.lang.IllegalAccessException
ins
- The pencil.exec
- True: the action will be executed each time the interaction is updated.
java.lang.InstantiationException
java.lang.IllegalAccessException
Method Detail |
---|
public boolean isInteractionMustBeAborted()
Link
isInteractionMustBeAborted
in class Link<AddShape,MultiClick,Pencil>
public void updateAction()
Link
updateAction
in class Link<AddShape,MultiClick,Pencil>
public void initAction()
Link
initAction
in class PencilLink<MultiClick>
public boolean isConditionRespected()
isConditionRespected
in class Link<AddShape,MultiClick,Pencil>
public void interactionStarts(Interaction inter) throws MustAbortStateMachineException
InteractionHandler
interactionStarts
in interface InteractionHandler
interactionStarts
in class Link<AddShape,MultiClick,Pencil>
inter
- The concerned interaction.
MustAbortStateMachineException
- If the interaction must be aborted.public void interimFeedback()
Link
interimFeedback
in class Link<AddShape,MultiClick,Pencil>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |