Table Of Contents

Previous topic

gxp.PlaybackOptionsPanel

Next topic

gxp.PointSymbolizer

gxp.PlaybackToolbar

Extends
xtype
gxp_playbacktoolbar
class gxp.PlaybackToolbar(config)
Create a panel for showing a ScaleLine control and a combobox for selecting the map scale.

Config Options

Configuration properties in addition to those listed for Ext.Toolbar.

control
OpenLayers.Control or OpenLayers.Control.TimeManager 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 Methods

Public methods in addition to those listed for Ext.Toolbar.

PlaybackToolbar.setPlaybackMode()
Parameter:mode – {String} one of ‘track’,’cumulative’, or ‘ranged’

Set the playback mode of the control.

PlaybackToolbar.setTime()
Parameter: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()
Parameter:format – {String}

Set the format string used by the time slider tooltip