Class: ToolbarItemProxy¶
ToolbarItemProxy is a developer-facing class that provides access to a toolbar item control for application specific customizations.
Hierarchy¶
-
ToolbarItemProxy
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 ToolbarItemProxy(context
: IContext): ToolbarItemProxy
Overrides ControlProxy.constructor
Parameters:
Name | Type |
---|---|
context |
IContext |
Returns: ToolbarItemProxy
Methods¶
getParent¶
▸ getParent(): IToolbarProxy
Implementation of IToolbarItemProxy
Overrides ControlProxy.getParent
This method returns toolbar container control
Returns: IToolbarProxy
The control of the toolbar container
getToolbarControls¶
▸ getToolbarControls(): IControlProxy[]
Implementation of IToolbarItemProxy
This method returns the top-level controls for this container
deprecated
- use new ToolbarProxy API: getParent().getToolbarControls()
Returns: IControlProxy[]
The controls for this container
getVisible¶
▸ getVisible(): boolean
Implementation of IToolbarItemProxy
Returns: boolean
true/false
setVisible¶
▸ setVisible(value
: boolean, redraw
: boolean): this
Implementation of IToolbarItemProxy
Overrides ControlProxy.setVisible
Sets the toolbar item's visible state with / without redraw
Parameters:
Name | Type | Default | Description |
---|---|---|---|
value |
boolean | - | visible state |
redraw |
boolean | true | true if redraw after setting the visible state |
Returns: this