Skip to content

Class: ToolbarProxy

Hierarchy

Implements

Summary

Constructors

Properties

Class Properties

Currently none in this class.

Inherited Properties

Accessors

Class Accessors

Currently none in this class.

Inherited Accessors

Methods

Class Methods

Inherited Methods

Constructors

constructor

+ new ToolbarProxy(context: IContext): ToolbarProxy

Overrides ControlProxy.constructor

Parameters:

Name Type
context IContext

Returns: ToolbarProxy

Methods

getToolbarControls

getToolbarControls(): ToolBarItem[]

Implementation of IToolbarProxy

Returns: ToolBarItem[]

The toolbar items objects for this container


getToolbarItem

getToolbarItem(itemName: string): IToolbarItemProxy

Implementation of IToolbarProxy

Parameters:

Name Type Description
itemName string takes in _Name property of the toolbar item

Returns: IToolbarItemProxy

returns the ToolbarItemProxy instance of the item by the name


getToolbarItems

getToolbarItems(): IToolbarItemProxy[]

Implementation of IToolbarProxy

Returns: IToolbarItemProxy[]

The toolbar items controls for this container


getVisible

getVisible(): boolean

Implementation of IToolbarProxy

Returns: boolean

true/false


isContainer

isContainer(): boolean

Implementation of IToolbarProxy

Overrides ControlProxy.isContainer

Returns: boolean

true/false.


setVisible

setVisible(value: boolean, redraw: boolean): this

Implementation of IToolbarProxy

Overrides ControlProxy.setVisible

Parameters:

Name Type Default Description
value boolean - visible state
redraw boolean true true if redraw after setting the visible state

Returns: this