|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.generic.event.EventMultiplexer
com.tensegrity.gui.document.event.DocumentEventMultiplexer
Multiplexer for mdicomponent/document events.
| Constructor Summary | |
DocumentEventMultiplexer(EventListenerTag a,
EventListenerTag b)
Constructs a new DocumentEventMultiplexer instance
with the two given children. |
|
| Method Summary | |
static EventListenerTag |
combine(EventListenerTag a,
EventListenerTag b)
Combines two given eventlisteners to a new eventlistener. |
void |
documentAdded(DocumentEvent documentevent)
Invoked after a document was added to the mdicomponent. |
void |
documentModelChanged(DocumentEvent documentevent)
Invoked after a document's model has changed. |
void |
documentPreAdd(DocumentEvent documentevent)
Invoked when a document is about to be added to a mdicomponent. |
void |
documentPreRemove(DocumentEvent documentevent)
Invoked when a document is about to be removed from a mdicomponent. |
void |
documentRemoved(DocumentEvent documentevent)
Invoked after a document was removed from the mdicomponent. |
void |
documentSelected(DocumentEvent documentevent)
Invoked after a document was selected in the mdicomponent. |
void |
documentUnselected(DocumentEvent documentevent)
Invoked after a document was unselected in the mdicomponent. |
static DocumentListener |
multiplex(DocumentListener a,
DocumentListener b)
Multiplexes two DocumentListener instances and
returns the multiplexed DocumentListener. |
EventListenerTag |
separate(EventListenerTag listener)
Separation helper. |
static EventListenerTag |
separate(EventListenerTag a,
EventListenerTag b)
Separates the eventlistener b from the eventlistener
a and returns the eventlistener structure. |
static DocumentListener |
unmultiplex(DocumentListener a,
DocumentListener b)
Unmultiplexes two DocumentListener instances and
returns the unmultiplexed DocumentListener. |
| Methods inherited from class com.tensegrity.generic.event.EventMultiplexer |
a, b, countEventListeners, listenersToArrayList, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DocumentEventMultiplexer(EventListenerTag a,
EventListenerTag b)
DocumentEventMultiplexer instance
with the two given children.
a - child one.b - child two.| Method Detail |
public static EventListenerTag combine(EventListenerTag a,
EventListenerTag b)
a - the first eventlistener to combine.b - the second eventlistener to combine.
public static EventListenerTag separate(EventListenerTag a,
EventListenerTag b)
b from the eventlistener
a and returns the eventlistener structure.
a - the first eventlistener to separateb - the second eventlistener to separate.
a.public EventListenerTag separate(EventListenerTag listener)
listener - the listener to separate.
public static DocumentListener multiplex(DocumentListener a,
DocumentListener b)
DocumentListener instances and
returns the multiplexed DocumentListener.
a - the first DocumentListener.
DocumentListener.
public static DocumentListener unmultiplex(DocumentListener a,
DocumentListener b)
DocumentListener instances and
returns the unmultiplexed DocumentListener.
a - the first DocumentListener.
DocumentListener.
public void documentPreAdd(DocumentEvent documentevent)
throws DocumentEventVetoException
DocumentListener
documentPreAdd in interface DocumentListenerdocumentevent - the documentevent structure carrying information.
DocumentEventVetoException - indicates that the documentevent is
not desired.
public void documentPreRemove(DocumentEvent documentevent)
throws DocumentEventVetoException
DocumentListener
documentPreRemove in interface DocumentListenerdocumentevent - the documentevent structure carrying information.
DocumentEventVetoException - indicates that the documentevent is
not desired.public void documentAdded(DocumentEvent documentevent)
DocumentListener
documentAdded in interface DocumentListenerdocumentevent - the documentevent structure carrying information.public void documentRemoved(DocumentEvent documentevent)
DocumentListener
documentRemoved in interface DocumentListenerdocumentevent - the documentevent structure carrying information.public void documentSelected(DocumentEvent documentevent)
DocumentListener
documentSelected in interface DocumentListenerdocumentevent - the documentevent structure carrying information.public void documentUnselected(DocumentEvent documentevent)
DocumentListener
documentUnselected in interface DocumentListenerdocumentevent - the documentevent structure carrying information.public void documentModelChanged(DocumentEvent documentevent)
DocumentListener
documentModelChanged in interface DocumentListenerdocumentevent - the documentevent structure carrying information.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||