Package muntjac :: Package ui :: Module component_container :: Class ComponentAttachEvent
[hide private]
[frames] | no frames]

Class ComponentAttachEvent

source code

      object --+        
               |        
util.EventObject --+    
                   |    
     component.Event --+
                       |
                      ComponentAttachEvent

IComponent attach event sent when a component is attached to container.

Instance Methods [hide private]
 
__init__(self, container, attachedComponent)
Creates a new attach event.
source code
 
getContainer(self)
Gets the component container.
source code
 
getAttachedComponent(self)
Gets the attached component.
source code

Inherited from component.Event: getComponent

Inherited from util.EventObject: getSource

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, container, attachedComponent)
(Constructor)

source code 

Creates a new attach event.

Parameters:
  • container - the component container the component has been detached to.
  • attachedComponent - the component that has been attached.
Overrides: object.__init__

getContainer(self)

source code 

Gets the component container.

Returns:
the component container.

getAttachedComponent(self)

source code 

Gets the attached component.

Returns:
the attach component.