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

Module ModesComponent

source code

Mode handling components.

Classes [hide private]
  Mode
Interface to be implemented by modes.
  ContextManagerMode
Turns any context manager into a mode object.
  ComponentMode
Enables a component while the mode is active.
  DisableMode
Disables a component while the mode is active.
  LayerMode
Sets the layer of a component to a specific one.
  AddLayerMode
Adds an extra layer to a component, independently of the layer associated to the component.
  CompoundMode
A compound mode wraps any number of modes into one.
  MultiEntryMode
Mode wrapper that allows registration in multiple modes components.
  SetAttributeMode
Changes an attribute of an object to a given value.
  ModeButtonBehaviour
Strategy that determines how the mode button of a specific mode behaves.
  LatchingBehaviour
Behaviour that will jump back to the previous mode when the button is released after having been hold for some time.
  ReenterBehaviour
Like latching, but calls a callback when the mode is-reentered.
  CancellableBehaviour
Acts a toggle for the mode -- when the button is pressed a second time, every mode in this mode group will be exited, going back to the last selected mode.
  ImmediateBehaviour
Just goes to the pressed mode immediatley.
  AlternativeBehaviour
Relies in the alternative to be in the same group for cancellation to work properly.
  DynamicBehaviourMixin
Chooses the mode to uses dynamically when the button is pressed.
  ExcludingBehaviourMixin
Button behaviour that excludes the mode/s when the currently selected mode is in any of the excluded groups.
  _ModeEntry
Used by ModesComponent to store information about modes.
  ModesComponent
A ModesComponent handles the selection of different modes of the component.
  DisplayingModesComponent
A modes component that displays the selected option.
Functions [hide private]
 
tomode(thing) source code
 
generator_mode(function) source code