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

Class ComponentDetachEvent

source code

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

IComponent detach event sent when a component is detached from container.

Instance Methods [hide private]
 
__init__(self, container, detachedComponent)
Creates a new detach event.
source code
 
getContainer(self)
Gets the component container.
source code
 
getDetachedComponent(self)
Gets the detached 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, detachedComponent)
(Constructor)

source code 

Creates a new detach event.

Parameters:
  • container - the component container the component has been detached from.
  • detachedComponent - the component that has been detached.
Overrides: object.__init__

getContainer(self)

source code 

Gets the component container.

Returns:
the component container.

getDetachedComponent(self)

source code 

Gets the detached component.

Returns:
the detached component.