|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Listener to special changes in Node
s. Is a property
change listener so that all changes in properties in the node
can be fired
in the usual way.
Methods childrenAdded, childrenRemoved and childrenReordered are called with Children.MUTEX.writeAccess which guarantees that no other thread can change the hierarchy during that time, but also requires proper implementation of all NodeListeners which should avoid calls to other threads which might require access to Children.MUTEX due to changes nodes hierarchy or do any other kind of starvation.
Method Summary | |
void |
childrenAdded(NodeMemberEvent ev)
Fired when a set of new children is added. |
void |
childrenRemoved(NodeMemberEvent ev)
Fired when a set of children is removed. |
void |
childrenReordered(NodeReorderEvent ev)
Fired when the order of children is changed. |
void |
nodeDestroyed(NodeEvent ev)
Fired when the node is deleted. |
Methods inherited from interface java.beans.PropertyChangeListener |
propertyChange |
Method Detail |
public void childrenAdded(NodeMemberEvent ev)
ev
- event describing the actionpublic void childrenRemoved(NodeMemberEvent ev)
ev
- event describing the actionpublic void childrenReordered(NodeReorderEvent ev)
ev
- event describing the changepublic void nodeDestroyed(NodeEvent ev)
ev
- event describing the node
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |