|
|||||||||||
| 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.VetoableCompositeAdapter
The VetoableCompositeAdapter class implements the
VetoableCompositeListener interface and overrides all
methods declared there with methods which have no functionality inside. So
that, when creating a VetoableCompositeListener not all of
the methods have to be overridden, only the methods which are from interest.
| Constructor Summary | |
VetoableCompositeAdapter()
Constructor for VetoableCompositeAdapter. |
|
| Method Summary | |
void |
vetoableCompositeMoving(MoveEvent event)
This method is called while a Composite is being moved
around. |
void |
vetoableCompositePreMoving(MoveEvent event)
This method is called before a Composite is being moved
around. |
void |
vetoableCompositePreResizing(ResizeEvent event)
This method is called before a Composite is about to be
resized. |
void |
vetoableCompositeResizing(ResizeEvent event)
This method is called while a Composite is being resized.
|
| 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 VetoableCompositeAdapter()
| Method Detail |
public void vetoableCompositePreMoving(MoveEvent event)
throws CompositeEventVetoException
VetoableCompositeListenerComposite is being moved
around. Throwing a CompositeEventVetoException prevents
movement of the Composite completely.
vetoableCompositePreMoving in interface VetoableCompositeListenerevent - the MoveEvent
- Throws:
CompositeEventVetoException - is thrown to completely prevent
the Composite of movement.- See Also:
MoveEvent
public void vetoableCompositeMoving(MoveEvent event)
throws CompositeEventVetoException
VetoableCompositeListener
This method is called while a Composite is being moved
around. Throwing a CompositeEventVetoException prevents
movement of the Composite to the actual position.
For instance this can be used to avoid that the Composite is
being moved to a location that is not acceptable.
Notice that this method is only called while interaction with the
Composite is taking place and not when moving it by the
interface methods.
vetoableCompositeMoving in interface VetoableCompositeListenerevent - the MoveEvent
- Throws:
CompositeEventVetoException - is thrown to prevent the
Composite of movement to the current location- See Also:
MoveEvent
public void vetoableCompositePreResizing(ResizeEvent event)
throws CompositeEventVetoException
VetoableCompositeListenerComposite is about to be
resized. Throwing a CompositeEventVetoException prevents
the Composite against resizement completely.
vetoableCompositePreResizing in interface VetoableCompositeListenerevent - the ResizeEvent
- Throws:
CompositeEventVetoException - is thrown to completely prevent
the Composite of resizement.- See Also:
ResizeEvent
public void vetoableCompositeResizing(ResizeEvent event)
throws CompositeEventVetoException
VetoableCompositeListener
This method is called while a Composite is being resized.
Throwing a CompositeEventVetoException prevents the
Composite against resizement to the actual size.
For instance this can be used to avoid that the Composite is
being resized to a size that is not acceptable.
Notice that this method is only called while interaction with the
Composite is taking place and not when resize it by the
interface methods.
vetoableCompositeResizing in interface VetoableCompositeListenerevent - the ResizeEvent
- Throws:
CompositeEventVetoException - is thrown to prevent the
Composite of resize to the current size- See Also:
ResizeEvent
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||