public class NodePropertyChangeEvent extends DataContainerEvent
NODE_ADDED, NODE_REMOVED, PROPERTY_CHANGED
source
Constructor and Description |
---|
NodePropertyChangeEvent(IlvDataContainer dataContainer,
Object parent,
Object node,
int index,
String propertyName,
Object oldValue,
Object newValue)
Constructs a new
NodePropertyChangeEvent . |
Modifier and Type | Method and Description |
---|---|
Object |
getNewValue()
Returns the new value of the property.
|
Object |
getOldValue()
Returns the value of the property before it was modified.
|
String |
getPropertyName()
Returns the name of the property that has been modified.
|
getDataContainer, getID, getIndex, getNode, getParent
getSource, toString
public NodePropertyChangeEvent(IlvDataContainer dataContainer, Object parent, Object node, int index, String propertyName, Object oldValue, Object newValue)
NodePropertyChangeEvent
.dataContainer
- The data container that contains the modified node.node
- The node with the attribute that was modified.parent
- The parent of the node that has been modified or
null
if the node
is a root of the data container.index
- The position of the node in the array of child nodes
of the parent
.propertyName
- The name of the property with the value that has changed.oldValue
- The old value of the property.newValue
- The new value of the property.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.