|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.composite.event.BaseCompositeAdapter
com.tensegrity.composite.event.CompositeAdapter
The CompositeAdapter class implements the
CompositeListener interface and overrides all methods declared
there with methods which have no functionality inside. So that, when
creating a CompositeListener not all of the methods have to be
overridden, only the methods which are from interest.
CompositeListener| Constructor Summary | |
CompositeAdapter()
Constructor for CompositeAdapter. |
|
| Method Summary | |
void |
compositeChanged(ChangedEvent event)
This method is called whenever a Composite has been changed
but for the change is no specialized callback defined. |
void |
compositeMoving(MoveEvent event)
This method is called while a Composite is being moved
around. |
void |
compositePostMoving(MoveEvent event)
This method is called after a Composite has been moved. |
void |
compositePostResizing(ResizeEvent event)
This method is called after a Composite has been resized. |
void |
compositePreMoving(MoveEvent event)
This method is called before a Composite is being moved
around. |
void |
compositePreResizing(ResizeEvent event)
This method is called before a Composite is about to be
resized. |
void |
compositeResizing(ResizeEvent event)
This method is called while a Composite is being resized.
|
| Methods inherited from class com.tensegrity.composite.event.BaseCompositeAdapter |
mouseClick, mouseDown, mouseEnter, mouseExit, mouseUp, postSelect, preSelect |
| 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.BaseCompositeListener |
mouseClick, mouseDown, mouseEnter, mouseExit, mouseUp, postSelect, preSelect |
| Constructor Detail |
public CompositeAdapter()
CompositeAdapter.
| Method Detail |
public void compositeChanged(ChangedEvent event)
CompositeListenerComposite has been changed
but for the change is no specialized callback defined.
compositeChanged in interface CompositeListenerevent - the ChangedEventChangedEventpublic void compositePreMoving(MoveEvent event)
CompositeListenerComposite is being moved
around. Throwing a CompositeEventVetoException prevents
movement of the Composite completely.
compositePreMoving in interface CompositeListenerevent - the LineMoveEvent- See Also:
MoveEventpublic void compositeMoving(MoveEvent event)
CompositeListener
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.
compositeMoving in interface CompositeListenerevent - the MoveEvent- See Also:
MoveEventpublic void compositePostMoving(MoveEvent event)
CompositeListenerComposite has been moved.
compositePostMoving in interface CompositeListenerevent - the MoveEvent- See Also:
MoveEventpublic void compositePreResizing(ResizeEvent event)
CompositeListenerComposite is about to be
resized. Throwing a CompositeEventVetoException prevents
resizement of the Composite completely.
compositePreResizing in interface CompositeListenerevent - the ResizeEvent- See Also:
ResizeEventpublic void compositeResizing(ResizeEvent event)
CompositeListener
This method is called while a Composite is being resized.
Throwing a CompositeEventVetoException prevents resizement
of the Composite 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.
compositeResizing in interface CompositeListenerevent - the ResizeEvent- See Also:
ResizeEventpublic void compositePostResizing(ResizeEvent event)
CompositeListenerComposite has been resized.
compositePostResizing in interface CompositeListenerevent - the ResizeEvent- See Also:
ResizeEvent
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||