|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The VetoableEventMediator facilitates to gain access to all
vetoable CompositeLine events, vetoable Composite
events and vetoable CompositeGroup events.
The VetoableEventMediator is allways an instance variable of a
CompositeView and hasn't to be implemented nor registered to a
BaseComposite instance. This is a mandatory commandment!
An implementation of a CompositeView allways comes with its own
VetoableEventMediator implementation and is a major part of the
architecture.
To be informed about all occuring events an object has to implement the
VetoableEventMediatorListener interface and then registered at a
specific CompositeView as
VetoableEventMediatorListener.
| Method Summary | |
void |
addMediatorListener(VetoableEventMediatorListener listener)
Adds the given VetoableEventMediatorListener to the
VetoableEventMediators internal structure so that he will
be informed on all occuring events. |
void |
removeMediatorListener(VetoableEventMediatorListener listener)
Removes the given VetoableEventMediatorListener from
VetoableEventMediators internal structure so that he will
no langer be informed on occuring events. |
| Methods inherited from interface com.tensegrity.composite.event.VetoableCompositeLineListener |
vetoableCompositeManipulating, vetoableCompositeMoving, vetoableCompositePreManipulating, vetoableCompositePreMoving |
| Methods inherited from interface com.tensegrity.composite.event.VetoableBaseCompositeListener |
vetoablePreSelect |
| Methods inherited from interface com.tensegrity.composite.event.VetoableCompositeListener |
vetoableCompositeMoving, vetoableCompositePreMoving, vetoableCompositePreResizing, vetoableCompositeResizing |
| Method Detail |
public void addMediatorListener(VetoableEventMediatorListener listener)
VetoableEventMediatorListener to the
VetoableEventMediators internal structure so that he will
be informed on all occuring events.
listener - the VetoableEventMediatorListener to addpublic void removeMediatorListener(VetoableEventMediatorListener listener)
VetoableEventMediatorListener from
VetoableEventMediators internal structure so that he will
no langer be informed on occuring events.
listener - the listener to remove
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||