Package elisa :: Package plugins :: Package good :: Package pigment :: Module pigment_transition :: Class PigmentTransition
[hide private]
[frames] | no frames]

Class PigmentTransition

source code


Provides Pigment specific facilities to write transitions such as a wrapper that animates implicitly the view to which the transition is applied.

Nested Classes [hide private]

Inherited from core.component.Component: __metaclass__

Instance Methods [hide private]
 
__init__(self)
Lazily set name from class name styled with underscores (class ComponentBar -> name component_bar.
source code
 
apply(self, view, end_callback='frontend')
Start the transition on view.
source code
 
stop(self)
Interrupt the transition where it is currently calling the end of transition callback if set.
source code

Inherited from core.component.Component: clean, initialize, load_config, save_config

Inherited from extern.log.log.Loggable: debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure

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

Static Methods [hide private]

Inherited from core.component.Component: __classinit__

Class Variables [hide private]
string name = 'pigment_transition'
Component's name

Inherited from base_components.transition.Transition: supported_views

Inherited from core.component.Component: checked, config_doc, default_config, id, plugin

Inherited from extern.log.log.Loggable: logCategory

Instance Variables [hide private]
pgm.timing.implicit.AnimatedObject implicit
wrapper that animates implicitly the view

Inherited from base_components.transition.Transition: in_progress

Inherited from core.component.Component: config, path

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 
Lazily set name from class name styled with underscores (class ComponentBar -> name component_bar. Also set log category based on component name, with a 'comp_' prefix.
Overrides: base_components.transition.Transition.__init__

apply(self, view, end_callback='frontend')

source code 

Start the transition on view.

If end_callback is set, it will be called when the transition ends.
Overrides: base_components.transition.Transition.apply
(inherited documentation)

stop(self)

source code 
Interrupt the transition where it is currently calling the end of transition callback if set.
Overrides: base_components.transition.Transition.stop
(inherited documentation)