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.ControlorOpenLayers.Control.DimensionManagerThe control to configure the playback panel with.
-
playLabel StringText for play button label (i18n).
-
playTooltip StringText for play button tooltip (i18n).
Public Properties¶
Public properties in addition to those listed for Ext.Toolbar.
-
PlaybackToolbar.playing¶ BooleanBoolean 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