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

Class DisplayingModesComponent

source code

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

A modes component that displays the selected option.

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
 
add_mode(self, name, mode_or_component, data_source)
Adds a mode.
source code
 
update(self) source code
 
_do_enter_mode(self, name) source code
 
_update_data_sources(self, selected) source code

Inherited from ModesComponent: active_modes, disconnect, get_mode, get_mode_button, get_mode_groups, on_enabled_changed, pop_groups, pop_mode, pop_unselected_modes, push_mode, selected_groups, set_mode_button, set_shift_button, set_toggle_button

Inherited from CompoundComponent.CompoundComponent: has_component, register_component, register_components, set_allow_update, set_enabled, update_all

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

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 ModesComponent: __subject_events__, default_behaviour, momentary_toggle, selected_mode

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)

add_mode(self, name, mode_or_component, data_source)

source code 

Adds a mode. The mode will be displayed in the given data source. The display name of the data source is its value when added.

Overrides: ModesComponent.add_mode

update(self)

source code 
Overrides: ControlSurfaceComponent.ControlSurfaceComponent.update

_do_enter_mode(self, name)

source code 
Overrides: ModesComponent._do_enter_mode