Class e.p.p.v.SkipOrSeekControl(MultiStateControl):

Part of elisa.plugins.poblesec.videoplayer_controls View In Hierarchy

Known subclasses: elisa.plugins.poblesec.videoplayer_controls.SkipNextControl, elisa.plugins.poblesec.videoplayer_controls.SkipPreviousControl

Abstract class for implementing SkipPrevious/SkipNext ribbon controls with seeking functionality if allowed by played model.

Its slave passed to the constructor must be of type elisa.plugins.poblesec.player_video.PlayerController.

Line # Kind Name Docs
118 Method __init__ Constructor.
146 Method activate Activating the action runs the action code attached to the control.
151 Method pre_activate Code run prior to control activation.
165 Method de_pre_activate Code run after control activation.
127 Method _on_player_new_track Undocumented
140 Method _player_seek Undocumented
143 Method _player_skip Undocumented
161 Method _stop_seeking Undocumented
171 Method _seek Undocumented

Inherited from MultiStateControl:

Line # Kind Name Docs
41 Method set_state Undocumented
46 Method get_state Undocumented

Inherited from Control (via MultiStateControl):

Line # Kind Name Docs
77 Method caption__set Undocumented
81 Method caption__get Undocumented
86 Method glyphs__set Undocumented
90 Method glyphs__get Undocumented
def __init__(self, *args):
Constructor.
Parameterscontrolled_objectobject that the control will act on when activated (type: object )
def _on_player_new_track(self, player, model):
Undocumented
def _player_seek(self):
Undocumented
def _player_skip(self):
Undocumented
def activate(self):
Activating the action runs the action code attached to the control. For example it can be the code executed when a button is clicked.

Control implementations have to override this method.

Returns (type: elisa.core.utils.defer.Deferred )
def pre_activate(self):
Code run prior to control activation. For example it can be the code executed when a button is pressed.

Control implementations have to override this method.

Returns (type: elisa.core.utils.defer.Deferred )
def _stop_seeking(self):
Undocumented
def de_pre_activate(self):
Code run after control activation. For example it can be the code executed when a button is released.

Control implementations have to override this method.

Returns (type: elisa.core.utils.defer.Deferred )
def _seek(self):
Undocumented
API Documentation for Elisa Media Center, generated by pydoctor at 2009-04-27 17:55:12.