|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.composite.event.EventMediatorAdapter
The EventMediatorAdapter class implements the
EventMediatorListener interface and overrides all methods
declared there with methods which have no functionality inside. So that, when
creating a EventMediatorListener not all of the methods have to
be overridden, only the methods which are from interest.
| Constructor Summary | |
EventMediatorAdapter()
Constructor for EventMediatorAdapter. |
|
| Method Summary | |
void |
attributesChanged(AttributableOnSetEvent attributableOnSetEvent)
Invoked when an attribute in an AttributableOnSet object
has changed. |
void |
compositeChanged(ChangedEvent event)
This method is called whenever a Composite has been changed
but for the change is no specialized callback defined. |
void |
compositeChanged(LineChangedEvent event)
This method is called whenever a CompositeLine has been
changed but for the change is no specialized callback defined. |
void |
compositeManipulating(LineManipulationEvent event)
This method is called while a CompositeLine is being
manipulated.
|
void |
compositeMoving(LineMoveEvent event)
This method is called while a CompositeLine is being moved
around.
|
void |
compositeMoving(MoveEvent event)
This method is called while a Composite is being moved
around. |
void |
compositePostManipulating(LineManipulationEvent event)
This method is called after a CompositeLine has been
manipulated. |
void |
compositePostMoving(LineMoveEvent event)
This method is called after a CompositeLine has been moved. |
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 |
compositePreManipulating(LineManipulationEvent event)
This method is called before the manipulation of a CompositeLine starts. |
void |
compositePreMoving(LineMoveEvent event)
This method is called before a CompositeLine is being moved
around. |
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.
|
void |
groupAddedComposite(GroupAddCompositeEvent event)
This method is called whenever a Composite has been added
to a CompositeGroup. |
void |
groupAddedComposites(GroupAddCompositesEvent event)
This method is called whenever a List of
Composites has been added to a CompositeGroup.
|
void |
groupCompositeOrderChanged(GroupCompositeOrderChangeEvent event)
This method is called whenever the internal order of BaseComposite objects changes. |
void |
groupFoldStateChanged(GroupFoldStateChange event)
This method is called whenever the state of folding of a CompositeGroup has been changed.
|
void |
groupFoldStatePreChange(GroupFoldStateChange event)
This method is called whenever the state of folding of a CompositeGroup is up to be changed. |
void |
groupRemovedComposite(GroupRemoveCompositeEvent event)
This method is called whenever a Composite has been removed
from a CompositeGroup.
|
void |
groupRemovedComposites(GroupRemoveCompositesEvent event)
This method is called whenever a List of
Composites has been removed from a
CompositeGroup.
|
void |
groupSelectionChanged(GroupSelectionChangeEvent event)
This method is called whenever the selection within the CompositeGroup has been changed.
|
void |
groupSizeAdjusted(GroupSizeAdjustmentEvent event)
This method is called whenever the size of a CompositeGroup
has been changed by the CompositeGroup itself.
|
void |
mouseClick(BCMouseEvent event)
This method is called when a mouse button has been pressed and released upon a BaseComposite. |
void |
mouseDown(BCMouseEvent event)
This methods is called when a mouse button has been pressed upon a BaseComposite. |
void |
mouseEnter(BCMouseEvent event)
This method is called when the mouse enters the BaseComposite. |
void |
mouseExit(BCMouseEvent event)
This method is called when the mouse exits the BaseComposite. |
void |
mouseUp(BCMouseEvent event)
This methods is called when a mouse button has been pressed upon a BaseComposite and it will be released. |
void |
postSelect(BCSelectEvent event)
This method is called whenever a Composite has been
selected. |
void |
preSelect(BCSelectEvent event)
This method is called before a Composite is being selected. |
void |
viewAddedComposite(ViewAddCompositeEvent event)
Called whenever a Composite was added. |
void |
viewAddedComposites(ViewAddCompositesEvent event)
Called whenever multiple Composites are added. |
void |
viewCompositeOrderChanged(ViewCompositeOrderChangeEvent event)
Called whenever the internal order of BaseComposite objects
changes. |
void |
viewModeChanged(ViewModeChangeEvent event)
Called whenever the mode of the CompositeView changed. |
void |
viewParameterChanged(ViewParameterChangeEvent event)
Called whenever a parameter of the view changed. |
void |
viewRemovedComposite(ViewRemoveCompositeEvent event)
Called whenever a Composite was removed. |
void |
viewRemovedComposites(ViewRemoveCompositesEvent event)
Called whenever multiple Composites were remmoved. |
void |
viewScrolled(ViewScrolledEvent event)
Called if the view position is changed during an action. |
void |
viewSelectionChanged(ViewSelectionChangeEvent event)
Called whenever the selection of the view changed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EventMediatorAdapter()
| Method Detail |
public void attributesChanged(AttributableOnSetEvent attributableOnSetEvent)
AttributableOnSetListenerAttributableOnSet object
has changed.
attributesChanged in interface AttributableOnSetListenerattributableOnSetEvent - the event carrying information.public void preSelect(BCSelectEvent event)
BaseCompositeListenerComposite is being selected.
preSelect in interface BaseCompositeListenerevent - the SelectEventBCSelectEventpublic void postSelect(BCSelectEvent event)
BaseCompositeListenerComposite has been
selected.
postSelect in interface BaseCompositeListenerevent - the SelectEventBCSelectEventpublic void mouseEnter(BCMouseEvent event)
BaseCompositeListenerBaseComposite. Enter means that the hotspot of the mouse
cursor lies within the bounding box of the BaseComposite
mouseEnter in interface BaseCompositeListenerevent - the BCMouseEventpublic void mouseExit(BCMouseEvent event)
BaseCompositeListenerBaseComposite. Exit means that the hotspot of the mouse
cursor lies no longer within the bounding box of the
BaseComposite
mouseExit in interface BaseCompositeListenerevent - the BCMouseEventpublic void mouseDown(BCMouseEvent event)
BaseCompositeListenerBaseComposite.
mouseDown in interface BaseCompositeListenerevent - the BCMouseEventpublic void mouseUp(BCMouseEvent event)
BaseCompositeListenerBaseComposite and it will be released.
mouseUp in interface BaseCompositeListenerevent - the BCMouseEventpublic void mouseClick(BCMouseEvent event)
BaseCompositeListenerBaseComposite.
mouseClick in interface BaseCompositeListenerevent - the BCMouseEventpublic void compositeChanged(LineChangedEvent event)
CompositeLineListenerCompositeLine has been
changed but for the change is no specialized callback defined.
compositeChanged in interface CompositeLineListenerevent - the LineChangedEventLineChangedEventpublic void compositePreManipulating(LineManipulationEvent event)
CompositeLineListenerCompositeLine starts.
compositePreManipulating in interface CompositeLineListenerevent - the LineManipulationEvent event instanceLineManipulationEventpublic void compositeManipulating(LineManipulationEvent event)
CompositeLineListener
This method is called while a CompositeLine is being
manipulated.
Notice that this method is only called while interaction with the
CompositeLine is taking place and not when manipulate it by
the interface methods.
compositeManipulating in interface CompositeLineListenerevent - the LineManipulationEvent event instanceLineManipulationEventpublic void compositePostManipulating(LineManipulationEvent event)
CompositeLineListenerCompositeLine has been
manipulated.
compositePostManipulating in interface CompositeLineListenerevent - the LineManipulationEvent event instanceLineManipulationEventpublic void compositePreMoving(LineMoveEvent event)
CompositeLineListenerCompositeLine is being moved
around.
compositePreMoving in interface CompositeLineListenerevent - the LineMoveEvent event instance- See Also:
LineMoveEventpublic void compositeMoving(LineMoveEvent event)
CompositeLineListener
This method is called while a CompositeLine is being moved
around.
Notice that this method is only called while interaction with the
CompositeLine is taking place and not when moving it by the
interface methods.
compositeMoving in interface CompositeLineListenerevent - the LineMoveEvent event instance- See Also:
LineMoveEventpublic void compositePostMoving(LineMoveEvent event)
CompositeLineListenerCompositeLine has been moved.
compositePostMoving in interface CompositeLineListenerevent - the LineMoveEvent event instance- See Also:
LineMoveEventpublic 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:
ResizeEventpublic void groupAddedComposite(GroupAddCompositeEvent event)
CompositeGroupListenerComposite has been added
to a CompositeGroup. The GroupAddCompositeEvent
given by event carries the information a
CompositeGroupListener could be interested in.
groupAddedComposite in interface CompositeGroupListenerevent - the event that carries the informationpublic void groupRemovedComposite(GroupRemoveCompositeEvent event)
CompositeGroupListenerComposite has been removed
from a CompositeGroup.
The GroupRemoveCompositeEvent given by event
carries the information a CompositeGroupListener could be
interested in.
groupRemovedComposite in interface CompositeGroupListenerevent - the event that carries the informationpublic void groupAddedComposites(GroupAddCompositesEvent event)
CompositeGroupListenerList of
Composites has been added to a CompositeGroup.
The GroupAddCompositesEvent given by event
carries the information a CompositeGroupListener could be
interested in.
groupAddedComposites in interface CompositeGroupListenerevent - the event that carries the informationpublic void groupRemovedComposites(GroupRemoveCompositesEvent event)
CompositeGroupListenerList of
Composites has been removed from a
CompositeGroup.
The GroupRemoveCompositesEvent given by event
carries the information a CompositeGroupListener could be
interested in.
groupRemovedComposites in interface CompositeGroupListenerevent - the event that carries the informationpublic void groupSelectionChanged(GroupSelectionChangeEvent event)
CompositeGroupListenerCompositeGroup has been changed.
The GroupSelectionChangeEvent given by event
carries the information a CompositeGroupListener could be
interested in.
groupSelectionChanged in interface CompositeGroupListenerevent - the event that carries the informationpublic void groupCompositeOrderChanged(GroupCompositeOrderChangeEvent event)
CompositeGroupListenerBaseComposite objects changes.
groupCompositeOrderChanged in interface CompositeGroupListenerevent - the corresponding
GroupCompositeOrderChangeEvent event.public void groupFoldStatePreChange(GroupFoldStateChange event)
CompositeGroupListenerCompositeGroup is up to be changed.
groupFoldStatePreChange in interface CompositeGroupListenerevent - the event that carries the information.public void groupFoldStateChanged(GroupFoldStateChange event)
CompositeGroupListenerCompositeGroup has been changed.
The GroupFoldStateChange event given by event
carries the information a CompositeGroupListener could be
interested in.
groupFoldStateChanged in interface CompositeGroupListenerevent - the event that carries the information.public void groupSizeAdjusted(GroupSizeAdjustmentEvent event)
CompositeGroupListenerCompositeGroup
has been changed by the CompositeGroup itself.
CompositeGroup.
groupSizeAdjusted in interface CompositeGroupListenerevent - the event that carries the information.public void viewAddedComposite(ViewAddCompositeEvent event)
CompositeViewListenerComposite was added.
viewAddedComposite in interface CompositeViewListenerevent - the corresponding event.public void viewAddedComposites(ViewAddCompositesEvent event)
CompositeViewListenerComposites are added.
viewAddedComposites in interface CompositeViewListenerevent - the corresponding event.public void viewRemovedComposite(ViewRemoveCompositeEvent event)
CompositeViewListenerComposite was removed.
viewRemovedComposite in interface CompositeViewListenerevent - the corresponding event.public void viewRemovedComposites(ViewRemoveCompositesEvent event)
CompositeViewListenerComposites were remmoved.
viewRemovedComposites in interface CompositeViewListenerevent - the corresponding event.public void viewSelectionChanged(ViewSelectionChangeEvent event)
CompositeViewListener
viewSelectionChanged in interface CompositeViewListenerevent - the corresponding ViewSelectionChangeEvent
event.public void viewCompositeOrderChanged(ViewCompositeOrderChangeEvent event)
CompositeViewListenerBaseComposite objects
changes.
viewCompositeOrderChanged in interface CompositeViewListenerevent - the corresponding ViewCompositeOrderChangeEvent
event.public void viewParameterChanged(ViewParameterChangeEvent event)
CompositeViewListener
viewParameterChanged in interface CompositeViewListenerevent - the corresponding ViewParameterChangeEvent
event.public void viewModeChanged(ViewModeChangeEvent event)
CompositeViewListenerCompositeView changed.
viewModeChanged in interface CompositeViewListenerevent - the corresponding ViewModeChangeEvent
event.public void viewScrolled(ViewScrolledEvent event)
CompositeViewListener
viewScrolled in interface CompositeViewListenerevent - the corresponding ViewScrollingEvent
event.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||