Package elisa :: Package plugins :: Package bad :: Package poblenou_frontend :: Module elisa_view :: Class ElisaView
[hide private]
[frames] | no frames]

Class ElisaView

source code


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
 
frontend_changed(self, previous_frontend, new_frontend)
Called when frontend is set to a new value.
source code
 
controller_changed(self, old_controller, new_controller)
Called when controller is set to a new value.
source code
 
_create_player(self) source code
 
_create_dvd_player(self) source code
 
_create_slideshow(self) source code
 
_create_menu(self) source code
 
_create_background(self) source code
 
_create_fade(self) source code
 
_fade_in(self) source code
 
clean(self)
Perform some cleanups and save the Component config back to application's config.
source code
 
_unzoom_widget(self, widget) source code
 
_zoom_widget(self, widget) source code
 
last_animated_panel_widget_selected__get(self) source code
 
attribute_set(self, origin, key, old_value, new_value)
Called when an attribute of the controller to which it is connected changes.
source code
 
_is_root_menu(self, controller) source code

Inherited from base_components.view.View: controller__get, controller__set, frontend__get, frontend__set, initialize, parent__get, parent__set, update

Inherited from core.component.Component: 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]
tuple of strings supported_controllers = 'base:elisa_controller',
list of controllers that are compatible with the view identified by their path: 'plugin:controller'
dictionary: keys: strings; values: list of strings or strings bindings = {'player': 'player', 'dvd_player': 'dvd_player', 's...
associations between model's attribute and Controller's attributes; if an attribute contained in bindings' keys is changed or created in model, it is replicated in all the corresponding attributes of the controller defined in bindings values

Inherited from base_components.view.View: context_path, name

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

Inherited from extern.log.log.Loggable: logCategory

Instance Variables [hide private]

Inherited from base_components.view.View: context_handle, controller, frontend, parent

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.view.View.__init__

frontend_changed(self, previous_frontend, new_frontend)

source code 

Called when frontend is set to a new value.

Override if you wish to react to that change. Do not forget to call the parent class method.
Overrides: base_components.view.View.frontend_changed
(inherited documentation)

controller_changed(self, old_controller, new_controller)

source code 

Called when controller is set to a new value.

Override if you wish to react to that change. Do not forget to call the parent class method.
Overrides: base_components.view.View.controller_changed
(inherited documentation)

clean(self)

source code 
Perform some cleanups and save the Component config back to application's config. This method should be called by the elisa.core.manager.Manager holding the component reference when it stops itself.
Overrides: base_components.view.View.clean

attribute_set(self, origin, key, old_value, new_value)

source code 
Called when an attribute of the controller to which it is connected changes.
Overrides: base_components.view.View.attribute_set
(inherited documentation)

Class Variable Details [hide private]

bindings

associations between model's attribute and Controller's attributes; if an attribute contained in bindings' keys is changed or created in model, it is replicated in all the corresponding attributes of the controller defined in bindings values
Type:
dictionary: keys: strings; values: list of strings or strings
Value:
{'player': 'player', 'dvd_player': 'dvd_player', 'slideshow': 'slidesh\
ow', 'menu': 'menu'}