com.dat.cx
Class CxExtendsAddEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.dat.cx.CxExtendsAddEvent
All Implemented Interfaces:
java.io.Serializable

public class CxExtendsAddEvent
extends java.util.EventObject

CxExtendsAddEvents are dispatched to any registered listeners notifying them that a component has been added to or within an extends from component

See Also:
Serialized Form

Constructor Summary
CxExtendsAddEvent(java.lang.Object source, java.lang.String path, CxComponent child)
          Constructor
 
Method Summary
 CxComponent getChild()
          Get the component that was added
 java.lang.String getPath()
          Get the path to where the descendent component has been added.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CxExtendsAddEvent

public CxExtendsAddEvent(java.lang.Object source,
                         java.lang.String path,
                         CxComponent child)
Constructor
Parameters:
source - the extends from component
path - the path within the extends from component to where the descendent component has been added.
child - the added component
Method Detail

getPath

public java.lang.String getPath()
Get the path to where the descendent component has been added. That is the parent of the added component.
Returns:
path to where the component has been added.

getChild

public CxComponent getChild()
Get the component that was added
Returns:
the component that has been added