public static interface MutableOutline.OutlineListener<N extends MutableOutlineNode<?>>
Modifier and Type | Method and Description |
---|---|
void |
nodeAdded(N parent,
N child)
Receive notification about a node that has been added to the tree.
|
void |
nodeChanged(N node,
String propertyName,
Object oldValue,
Object newValue)
Receive notification about a node for which a property has been changed.
|
void |
nodeRemoved(N parent,
N child)
Receive notification about a node that has been removed from the tree.
|
void nodeAdded(N parent, N child)
parent
- the parent, or null
if the root node was set.child
- the node that has been addedvoid nodeRemoved(N parent, N child)
parent
- the parent, or null
if the root node has been un-set.child
- the node that has been removedvoid nodeChanged(N node, String propertyName, Object oldValue, Object newValue)
node
- the node that has been affectedpropertyName
- programmatic name of the property that has been changed. This could be
one of the constants defined in this inteface.oldValue
- previous value of the property that has been changed, or null
if
that property wasn't set beforenewValue
- new value of the property that has been changed, or null
if the
property has been removed entirelyCopyright © 2024 levigo holding gmbh. All rights reserved.