Package _Framework :: Module CompoundComponent :: Class CompoundComponent
[hide private]
[frames] | no frames]

Class CompoundComponent

source code

                         object --+                
                                  |                
      Disconnectable.Disconnectable --+            
                                      |            
  Disconnectable.CompoundDisconnectable --+        
                                          |        
                    SubjectSlot.SlotManager --+    
                                              |    
                             object --+       |    
                                      |       |    
          Disconnectable.Disconnectable --+   |    
                                          |   |    
                        SubjectSlot.Subject --+    
                                              |    
ControlSurfaceComponent.ControlSurfaceComponent --+
                                                  |
                                                 CompoundComponent

Base class for classes encompasing other components to form complex components

Nested Classes [hide private]

Inherited from SubjectSlot.Subject: __metaclass__

Instance Methods [hide private]
 
__init__(self, *a, **k)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
update_all(self) source code
 
register_component(self, component) source code
 
register_components(self, *a) source code
 
has_component(self, component) source code
 
set_enabled(self, enable)
When disabling a compound component, childs are disabled.
source code
 
_set_enabled_recursive(self, enable) source code
 
set_allow_update(self, allow_updates) source code

Inherited from ControlSurfaceComponent.ControlSurfaceComponent: application, disconnect, is_enabled, on_enabled_changed, on_scene_list_changed, on_selected_scene_changed, on_selected_track_changed, on_track_list_changed, song, update

Inherited from SubjectSlot.SlotManager: register_slot, register_slot_manager

Inherited from Disconnectable.CompoundDisconnectable: disconnect_disconnectable, find_disconnectable, has_disconnectable, register_disconnectable, unregister_disconnectable

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

Class Variables [hide private]

Inherited from ControlSurfaceComponent.ControlSurfaceComponent: canonical_parent, is_private, layer, name

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *a, **k)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

update_all(self)

source code 
Overrides: ControlSurfaceComponent.ControlSurfaceComponent.update_all

set_enabled(self, enable)

source code 

When disabling a compound component, childs are disabled. When enabled, childs are restored to whatever state they were explicitly set to.

Overrides: ControlSurfaceComponent.ControlSurfaceComponent.set_enabled

_set_enabled_recursive(self, enable)

source code 
Overrides: ControlSurfaceComponent.ControlSurfaceComponent._set_enabled_recursive

set_allow_update(self, allow_updates)

source code 
Overrides: ControlSurfaceComponent.ControlSurfaceComponent.set_allow_update