Package elisa :: Package plugins :: Package bad :: Package dvd :: Module dvd_player_view :: Class DvdPlayerView
[hide private]
[frames] | no frames]

Class DvdPlayerView

source code


This class implements a view which can create a Player instance and manage it. This class can be inherited to provide the toolkit dependent display, as well as the GStreamer video and audio sinks

Nested Classes [hide private]

Inherited from core.component.Component: __metaclass__

Instance Methods [hide private]
 
initialize(self)
Initialize various variables internal to the Component.
source code
 
_in_menu(self, value) 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
 
dvd_menu_visible_changed(self, is_visible) source code
 
state_changed(self, state) source code
 
_update_model_position(self) source code
 
uri_changed(self, uri) source code
 
seek_to_changed(self, position) source code
 
volume_changed(self, volume) source code
 
controller_changed(self, old_controller, new_controller)
Called when controller is set to a new value.
source code
 
_end_of_stream(self, uri) source code

Inherited from base_components.view.View: __init__, clean, controller__get, controller__set, frontend__get, frontend__set, frontend_changed, 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]
dict default_config = {'gpl': 0}
used when nothing found in Application's config
dict config_doc = {'gpl': 'wether or not to use GPL GStreamer eleme...
documentation for each option of the default configuration.
string name = 'dvd_player_view'
Component's name

Inherited from base_components.view.View: bindings, context_path, supported_controllers

Inherited from core.component.Component: checked, 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]

initialize(self)

source code 

Initialize various variables internal to the Component.

This method is called by the plugin_registry after the component's config has been loaded.

Override this method if you need to perform some initializations that would normally go in Component's constructor but can't be done there because they require access to the component's config.
Overrides: base_components.view.View.initialize

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)

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)

Class Variable Details [hide private]

config_doc

documentation for each option of the default configuration. Keys should be same as the ones in default_config and values should be strings
Type:
dict
Value:
{'gpl': 'wether or not to use GPL GStreamer elements'}