venice
Interface ListenerStateChangeable
- All Known Implementing Classes:
- ZRelationship, ZPackage
- public interface ListenerStateChangeable
Nodes which implement this interface can be asked to enable or
disable listening of events from other nodes. Enabling and disabling
of event listening is done for performance reasons. Enabling is
also needed after deserialization because listener connections are
not saved in the serialisation file.
- Author:
- Hannu Laurila
Method Summary |
void |
setListenersEnabled(boolean inEnabled,
boolean inRecurse)
sets all listeners of this object uses to be either enabled or
disabled. |
setListenersEnabled
public void setListenersEnabled(boolean inEnabled,
boolean inRecurse)
- sets all listeners of this object uses to be either enabled or
disabled.
- Parameters:
inEnabled
- new state for listenersinRecurse
- whether to recurse to vmodelelement children