com.dat.cx
Class CxExtendsNodeChangeEvent
java.lang.Object
|
+--java.util.EventObject
|
+--com.dat.cx.CxExtendsNodeChangeEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class CxExtendsNodeChangeEvent
- extends java.util.EventObject
CxExtendsNodeChangeEvents are dispatched to any registered listeners notifying
them that node of a descendent of the extends from
component has been changed.
- See Also:
- Serialized Form
Constructor Summary |
CxExtendsNodeChangeEvent(java.lang.Object source,
java.lang.String path,
java.lang.String nodeName,
com.dat.cx.Node oldNodeValue,
com.dat.cx.Node newNodeValue)
Constructor |
Method Summary |
com.dat.cx.Node |
getNewNodeValue()
Get the new location |
java.lang.String |
getNodeName()
Get the node name |
com.dat.cx.Node |
getOldNodeValue()
Get the orignial node value |
java.lang.String |
getPath()
Get the path to changed property. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CxExtendsNodeChangeEvent
public CxExtendsNodeChangeEvent(java.lang.Object source,
java.lang.String path,
java.lang.String nodeName,
com.dat.cx.Node oldNodeValue,
com.dat.cx.Node newNodeValue)
- Constructor
- Parameters:
source
- the extends from componentpath
- the path within the extends from component to the
descendent property.nodeName
- the name used to identify the set and get methods for the nodeoldLocation
- the original node value.newLocation
- the new node value.
getPath
public java.lang.String getPath()
- Get the path to changed property.
- Returns:
- path to the changed property.
getNodeName
public java.lang.String getNodeName()
- Get the node name
- Returns:
- node name
getOldNodeValue
public com.dat.cx.Node getOldNodeValue()
- Get the orignial node value
- Returns:
- the original node value
getNewNodeValue
public com.dat.cx.Node getNewNodeValue()
- Get the new location
- Returns:
- the new location