|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.composite.event.VetoableBaseCompositeAdapter
com.tensegrity.composite.event.VetoableCompositeLineAdapter
The VetoableCompositeLineAdapter class implements the
VetoableCompositeLineListener interface and overrides all
methods declared there with methods which have no functionality inside. So
that, when creating a VetoableCompositeLineListener not all of
the methods have to be overridden, only the methods which are from interest.
| Constructor Summary | |
VetoableCompositeLineAdapter()
Constructor for VetoableCompositeLineAdapter. |
|
| Method Summary | |
void |
vetoableCompositeManipulating(LineManipulationEvent event)
This method is called while a CompositeLine is being
manipulated.
|
void |
vetoableCompositeMoving(LineMoveEvent event)
This method is called while a CompositeLine is being moved
around. |
void |
vetoableCompositePreManipulating(LineManipulationEvent event)
This method is called before the manipulation of a CompositeLine starts.
|
void |
vetoableCompositePreMoving(LineMoveEvent event)
This method is called before a CompositeLine is being moved
around. |
| Methods inherited from class com.tensegrity.composite.event.VetoableBaseCompositeAdapter |
vetoablePreSelect |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.tensegrity.composite.event.VetoableBaseCompositeListener |
vetoablePreSelect |
| Constructor Detail |
public VetoableCompositeLineAdapter()
| Method Detail |
public void vetoableCompositePreManipulating(LineManipulationEvent event)
throws CompositeLineEventVetoException
VetoableCompositeLineListener
This method is called before the manipulation of a
CompositeLine starts.
Throwing a CompositeLineEventVetoException prevents
the CompositeLine against manipulation completely.
vetoableCompositePreManipulating in interface VetoableCompositeLineListenerevent - the LineManipulationEvent event instance
CompositeLineEventVetoException - is thrown to completely prevent
the CompositeLine against manipulation.LineManipulationEvent
public void vetoableCompositeManipulating(LineManipulationEvent event)
throws CompositeLineEventVetoException
VetoableCompositeLineListener
This method is called while a CompositeLine is being
manipulated.
Throwing a CompositeLineEventVetoException prevents
the CompositeLine against manipulation.
For instance this can be used to avoid that a single point of the
CompositeLine is being moved to a location that is not
acceptable.
Notice that this method is only called while interaction with the
CompositeLine is taking place and not when manipulate it by
the interface methods.
vetoableCompositeManipulating in interface VetoableCompositeLineListenerevent - the LineManipulationEvent event instance
CompositeLineEventVetoExceptionLineManipulationEvent
public void vetoableCompositePreMoving(LineMoveEvent event)
throws CompositeLineEventVetoException
VetoableCompositeLineListenerCompositeLine is being moved
around. Throwing a CompositeLineEventVetoException prevents
movement of the CompositeLine completely.
vetoableCompositePreMoving in interface VetoableCompositeLineListenerevent - the LineMoveEvent
- Throws:
CompositeLineEventVetoException - is thrown to completely prevent
the CompositeLine of movement.- See Also:
LineMoveEvent
public void vetoableCompositeMoving(LineMoveEvent event)
throws CompositeLineEventVetoException
VetoableCompositeLineListener
This method is called while a CompositeLine is being moved
around. Throwing a CompositeLineEventVetoException prevents
movement of the CompositeLine to the actual position.
For instance this can be used to avoid that the
CompositeLine is being moved to a location that is not
acceptable.
Notice that this method is only called while interaction with the
CompositeLine is taking place and not when moving it by the
interface methods.
vetoableCompositeMoving in interface VetoableCompositeLineListenerevent - the LineMoveEvent
- Throws:
CompositeLineEventVetoException - is thrown to prevent the
CompositeLine of movement to the current location- See Also:
LineMoveEvent
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||