WidgetChild Class
Widget extension providing functionality enabling a Widget to be a child of another Widget.
Properties
ROOT_TYPE
    Object
    
    
    
    
    
    Constructor reference used to determine the root of a Widget-based object tree.
Currently used to control the behavior of the root  
attribute so that recursing up the object heirarchy can be constrained 
to a specific type of Widget.  Widget authors should set this property
to the constructor function for a given Widget implementation.
Attributes
depth
    Number
    
    
    
    
    
    Number representing the depth of this Widget relative to the root Widget in the object heirarchy.
Default: -1
Fires event depthChange
            
            Fires when the value for the configuration attribute depth is
            changed. You can listen for the event using the on method if you
            wish to be notified before the attribute's value has changed, or
            using the after method if you wish to be notified after the
            attribute's value has changed.
            
Parameters:
- 
                        eEventFacadeAn Event Facade object with the following attribute-specific properties added:
index
    Number
    
    
    
    
    
    Number representing the Widget's ordinal position in its parent Widget.
Fires event indexChange
            
            Fires when the value for the configuration attribute index is
            changed. You can listen for the event using the on method if you
            wish to be notified before the attribute's value has changed, or
            using the after method if you wish to be notified after the
            attribute's value has changed.
            
Parameters:
- 
                        eEventFacadeAn Event Facade object with the following attribute-specific properties added:
parent
    Widget
    
    
    
    
    
    Retrieves the parent of the Widget in the object hierarchy.
Fires event parentChange
            
            Fires when the value for the configuration attribute parent is
            changed. You can listen for the event using the on method if you
            wish to be notified before the attribute's value has changed, or
            using the after method if you wish to be notified after the
            attribute's value has changed.
            
Parameters:
- 
                        eEventFacadeAn Event Facade object with the following attribute-specific properties added:
root
    Widget
    
    
    
    
    
    Returns the root Widget in the object hierarchy. If the ROOT_TYPE property is set, the search for the root Widget will be constrained to parent Widgets of the specified type.
Fires event rootChange
            
            Fires when the value for the configuration attribute root is
            changed. You can listen for the event using the on method if you
            wish to be notified before the attribute's value has changed, or
            using the after method if you wish to be notified after the
            attribute's value has changed.
            
Parameters:
- 
                        eEventFacadeAn Event Facade object with the following attribute-specific properties added:
selected
    Number
    
    
    
    
    
    Number indicating if the Widget is selected. Possible values are:
- 0
- (Default) Not selected
- 1
- Fully selected
- 2
- Partially selected
Default: 0
Fires event selectedChange
            
            Fires when the value for the configuration attribute selected is
            changed. You can listen for the event using the on method if you
            wish to be notified before the attribute's value has changed, or
            using the after method if you wish to be notified after the
            attribute's value has changed.
            
Parameters:
- 
                        eEventFacadeAn Event Facade object with the following attribute-specific properties added:
