gxp.PlaybackToolbar
¶
-
class
gxp.
PlaybackToolbar
(config)¶ Create a toolbar for showing a series of playback controls.
Config Options¶
Configuration properties in addition to those listed for Ext.Toolbar.
-
control
OpenLayers.Control
orOpenLayers.Control.DimensionManager
The control to configure the playback panel with.
-
playLabel
String
Text for play button label (i18n).
-
playTooltip
String
Text for play button tooltip (i18n).
Public Properties¶
Public properties in addition to those listed for Ext.Toolbar.
-
PlaybackToolbar.
playing
¶ Boolean
Boolean flag indicating the control is currently playing or not. Read-only
Public Methods¶
Public methods in addition to those listed for Ext.Toolbar.
-
PlaybackToolbar.
setPlaybackMode
()¶ Parameters: mode – {String} one of ‘track’, ‘cumulative’, or ‘ranged’
Set the playback mode of the control.
-
PlaybackToolbar.
setTime
()¶ Parameters: time – {Date} Returns: {Boolean} - true if the time could be set to the supplied value false if the time is outside the current range of the TimeManager control. Set the time represented by the playback toolbar programatically
-
PlaybackToolbar.
setTimeFormat
()¶ Parameters: format – {String} Set the format string used by the time slider tooltip