com.dat.cx
Class CxExtendsLocationChangeEvent
java.lang.Object
|
+--java.util.EventObject
|
+--com.dat.cx.CxExtendsLocationChangeEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class CxExtendsLocationChangeEvent
- extends java.util.EventObject
CxExtendsLocationChangeEvents are dispatched to any registered listeners notifying
them that the location of a descendent of the extends from
component has been changed.
- See Also:
- Serialized Form
Constructor Summary |
CxExtendsLocationChangeEvent(java.lang.Object source,
java.lang.String path,
java.awt.Point oldLocation,
java.awt.Point newLocation)
Constructor |
Method Summary |
java.awt.Point |
getNewLocation()
Get the new location |
java.awt.Point |
getOldLocation()
Get the orignial locatoin |
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 |
CxExtendsLocationChangeEvent
public CxExtendsLocationChangeEvent(java.lang.Object source,
java.lang.String path,
java.awt.Point oldLocation,
java.awt.Point newLocation)
- Constructor
- Parameters:
source
- the extends from componentpath
- the path within the extends from component to the
descendent property.oldLocation
- the original location.newLocation
- the new location.
getPath
public java.lang.String getPath()
- Get the path to changed property.
- Returns:
- path to the changed property.
getOldLocation
public java.awt.Point getOldLocation()
- Get the orignial locatoin
- Returns:
- the original location
getNewLocation
public java.awt.Point getNewLocation()
- Get the new location
- Returns:
- the new location