com.tensegrity.composite.event
Interface VetoableEventMediator

All Superinterfaces:
EventListenerTag, VetoableBaseCompositeListener, VetoableCompositeGroupListener, VetoableCompositeLineListener, VetoableCompositeListener, VetoableCompositeViewListener

public interface VetoableEventMediator
extends VetoableCompositeLineListener, VetoableCompositeListener, VetoableCompositeGroupListener, VetoableCompositeViewListener

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.

Version:
$Id: VetoableEventMediator.java,v 1.2 2005/04/01 15:45:16 MichaelKegel Exp $
Author:
MichaelKegel

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

addMediatorListener

public void addMediatorListener(VetoableEventMediatorListener listener)
Adds the given VetoableEventMediatorListener to the VetoableEventMediators internal structure so that he will be informed on all occuring events.

Parameters:
listener - the VetoableEventMediatorListener to add

removeMediatorListener

public void removeMediatorListener(VetoableEventMediatorListener listener)
Removes the given VetoableEventMediatorListener from VetoableEventMediators internal structure so that he will no langer be informed on occuring events.

Parameters:
listener - the listener to remove


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.