|
|||||||||||
| 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.generic.attribute.event.AttributableOnSetEventMultiplexer
Multiplexer for AttributableOnSetEvents.
| Method Summary | |
void |
attributesChanged(AttributableOnSetEvent documentevent)
Invoked when an attribute in an AttributableOnSet object
has changed. |
static EventListenerTag |
combine(EventListenerTag a,
EventListenerTag b)
Combines two given eventlisteners to a new eventlistener. |
static AttributableOnSetListener |
multiplex(AttributableOnSetListener a,
AttributableOnSetListener b)
Combines the two given listeners. |
static EventListenerTag |
separate(EventListenerTag a,
EventListenerTag b)
Separates the eventlistener b from the eventlistener
a and returns the eventlistener structure. |
static AttributableOnSetListener |
unmultiplex(AttributableOnSetListener a,
AttributableOnSetListener b)
Separates the two given listeners and returns the 'root'-listener. |
| 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 |
| 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 static AttributableOnSetListener multiplex(AttributableOnSetListener a,
AttributableOnSetListener b)
b must not be
null
a - the first listener to combine.b - the first listener to combine.
public static AttributableOnSetListener unmultiplex(AttributableOnSetListener a,
AttributableOnSetListener b)
b must not be
null
a - the first listener to separate.b - the first listener to separate.
public void attributesChanged(AttributableOnSetEvent documentevent)
AttributableOnSetListenerAttributableOnSet object
has changed.
attributesChanged in interface AttributableOnSetListenerdocumentevent - the event carrying information.AttributableOnSetListener.attributesChanged(AttributableOnSetEvent)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||