com.dat.cx
Class CxExtendsCanAddEvent

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

public class CxExtendsCanAddEvent
extends java.util.EventObject

CxExtendsAddEvents are dispatched to any registered listeners asking them them if it is valid to add a component by the given child name

See Also:
Serialized Form

Constructor Summary
CxExtendsCanAddEvent(java.lang.Object source, java.lang.String path, java.lang.String childName)
          Constructor
 
Method Summary
 java.lang.String getChildName()
          Get the proposed name for a child component
 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

CxExtendsCanAddEvent

public CxExtendsCanAddEvent(java.lang.Object source,
                            java.lang.String path,
                            java.lang.String childName)
Constructor
Parameters:
source - the extends from component
path - the path within the extends from component to where the descendent component has been added.
childName - the name of the component to be added
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.

getChildName

public java.lang.String getChildName()
Get the proposed name for a child component
Returns:
the component that has been added