|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The CompositeListener interface defines an object that can
be notified about events that are generated by a Composite.
EventListenerTag,
Composite,
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 interface com.tensegrity.composite.event.BaseCompositeListener |
mouseClick, mouseDown, mouseEnter, mouseExit, mouseUp, postSelect, preSelect |
| Method Detail |
public void compositeChanged(ChangedEvent event)
Composite has been changed
but for the change is no specialized callback defined.
event - the ChangedEventChangedEventpublic void compositePreMoving(MoveEvent event)
Composite is being moved
around. Throwing a CompositeEventVetoException prevents
movement of the Composite completely.
event - the LineMoveEvent- See Also:
MoveEventpublic void compositeMoving(MoveEvent event)
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.
event - the MoveEvent- See Also:
MoveEventpublic void compositePostMoving(MoveEvent event)
Composite has been moved.
event - the MoveEvent- See Also:
MoveEventpublic void compositePreResizing(ResizeEvent event)
Composite is about to be
resized. Throwing a CompositeEventVetoException prevents
resizement of the Composite completely.
event - the ResizeEvent- See Also:
ResizeEventpublic void compositeResizing(ResizeEvent event)
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.
event - the ResizeEvent- See Also:
ResizeEventpublic void compositePostResizing(ResizeEvent event)
Composite has been resized.
event - the ResizeEvent- See Also:
ResizeEvent
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||