Class Index | File Index

Classes


Class minplayer.controllers.base


Extends minplayer.display.
This is the base minplayer controller. Other controllers can derive from the base and either build on top of it or simply define the elements that this base controller uses.
Defined in: minplayer.controllers.base.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
minplayer.controllers.base(context, options)
Field Summary
Field Attributes Field Name and Description
 
Reset the constructor.
Method Summary
Method Attributes Method Name and Description
 
 
 
playPause(state)
 
setPlayer(player)
 
setPlayPause(state)
Sets the play and pause state of the control bar.
 
setTimeString(element, time)
Sets the time string on the control bar.
Methods borrowed from class minplayer.display:
bind, getScaledRect, isValid, onResize, trigger
Methods borrowed from class minplayer.plugin:
addPlugin, destroy, eachPlugin, getPlugin, loadPlugins
Class Detail
minplayer.controllers.base(context, options)
Parameters:
{object} context
The jQuery context.
{object} options
This components options.
Field Detail
constructor
Reset the constructor.
Method Detail
construct()
See:
minplayer.plugin#construct

{object} getElements()
Returns:
{object} The elements defined by this display.
See:
minplayer.display#getElements

playPause(state)
Parameters:
state

setPlayer(player)
Parameters:
player
See:
minplayer.plugin#setPlayer

setPlayPause(state)
Sets the play and pause state of the control bar.
Parameters:
{boolean} state
TRUE - Show Play, FALSE - Show Pause.

setTimeString(element, time)
Sets the time string on the control bar.
Parameters:
{string} element
The name of the element to set.
{number} time
The total time amount to set.

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Feb 10 2012 02:13:35 GMT+0100 (CET)