Class sap.gantt.config.TimeZoomGroupModule: sap/gantt/config/TimeZoomGroup

extends ToolbarGroup

You can specify the Gantt chart Time zooming related toolbar items in the Gantt chart toolbar

Constructor Summary
new sap.gantt.config.TimeZoomGroup(sId?, mSettings?)Creates and initializes a new Time zoom group

Accepts an object literal mSettings that defines initial property values, aggregated and associated objects as well as event handlers.

Method Summary
sap.gantt.config.TimeZoomGroup.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.gantt.config.TimeZoomGroup with name sClassName and enriches it with the information contained in oClassInfo.
sap.gantt.config.TimeZoomGroup.getMetadata()Returns a metadata object for class sap.gantt.config.TimeZoomGroup.
getShowZoomButtons()Gets current value of property showZoomButtons.
getShowZoomSlider()Gets current value of property showZoomSlider.
setShowZoomButtons(bShowZoomButtons)Sets a new value for property showZoomButtons.
setShowZoomSlider(bShowZoomSlider)Sets a new value for property showZoomSlider.
Constructor Detail
new sap.gantt.config.TimeZoomGroup(sId?, mSettings?)
Creates and initializes a new Time zoom group

Accepts an object literal mSettings that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.

The supported settings are:

In addition, all settings applicable to the base type sap.gantt.config.ToolbarGroup can be used as well.

Parameters:
{string}sId? ID of the new control, generated automatically if no ID is given
{object}mSettings? Initial settings for the new control
Method Detail
sap.gantt.config.TimeZoomGroup.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.gantt.config.TimeZoomGroup with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of information as described in sap.gantt.config.ToolbarGroup.extend.

Parameters:
{string}sClassName Name of the class being created
{object}oClassInfo? Object literal with information about the class
{function}FNMetaImpl? Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata
Returns:
{function} Created class / constructor function
sap.gantt.config.TimeZoomGroup.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.gantt.config.TimeZoomGroup.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
getShowZoomButtons(): boolean
Gets current value of property showZoomButtons.

Enable a pair of zoom in and zoom out buttons for time zooming function.

Default value is true.

Returns:
{boolean} Value of property showZoomButtons
getShowZoomSlider(): boolean
Gets current value of property showZoomSlider.

Enable Slider control for time zooming function.

Default value is true.

Returns:
{boolean} Value of property showZoomSlider
setShowZoomButtons(bShowZoomButtons): sap.gantt.config.TimeZoomGroup
Sets a new value for property showZoomButtons.

Enable a pair of zoom in and zoom out buttons for time zooming function.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is true.

Parameters:
{boolean}bShowZoomButtons New value for property showZoomButtons
Returns:
{sap.gantt.config.TimeZoomGroup} Reference to this in order to allow method chaining
setShowZoomSlider(bShowZoomSlider): sap.gantt.config.TimeZoomGroup
Sets a new value for property showZoomSlider.

Enable Slider control for time zooming function.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is true.

Parameters:
{boolean}bShowZoomSlider New value for property showZoomSlider
Returns:
{sap.gantt.config.TimeZoomGroup} Reference to this in order to allow method chaining