ilog.views.appframe.docview.project
Class NodePropertyChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by ilog.views.appframe.docview.project.DataContainerEvent
          extended by ilog.views.appframe.docview.project.NodePropertyChangeEvent
All Implemented Interfaces:
Serializable

public class NodePropertyChangeEvent
extends DataContainerEvent

Event that indicates that a property of a node of a data container has changed.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class ilog.views.appframe.docview.project.DataContainerEvent
NODE_ADDED, NODE_REMOVED, PROPERTY_CHANGED
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
NodePropertyChangeEvent(IlvDataContainer dataContainer, Object parent, Object node, int index, String propertyName, Object oldValue, Object newValue)
          Constructs a new NodePropertyChangeEvent.
 
Method Summary
 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.
 
Methods inherited from class ilog.views.appframe.docview.project.DataContainerEvent
getDataContainer, getID, getIndex, getNode, getParent
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodePropertyChangeEvent

public NodePropertyChangeEvent(IlvDataContainer dataContainer,
                               Object parent,
                               Object node,
                               int index,
                               String propertyName,
                               Object oldValue,
                               Object newValue)
Constructs a new NodePropertyChangeEvent.

Parameters:
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.
Method Detail

getPropertyName

public String getPropertyName()
Returns the name of the property that has been modified.


getNewValue

public Object getNewValue()
Returns the new value of the property.


getOldValue

public Object getOldValue()
Returns the value of the property before it was modified.



Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.