Skip to content

Class: FioriToolbarItemProxy

FioriToolbarItemProxy is a developer-facing class that provides access to a toolbar item control for application specific customizations.

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 FioriToolbarItemProxy(context: IContext): FioriToolbarItemProxy

Inherited from ControlProxy.constructor

Parameters:

Name Type
context IContext

Returns: FioriToolbarItemProxy

Methods

getEnabled

getEnabled(): boolean

Returns the Enabled property value defined for the control.

Implementation of IFioriToolbarItemProxy.getEnabled

Returns: boolean


getParent

getParent(): IFioriToolbarProxy

This method returns toolbar container control

Implementation of IFioriToolbarItemProxy.getParent Overrides ControlProxy.getParent

Returns: IFioriToolbarProxy

The control of the toolbar container


getVisible

getVisible(): boolean

Gets the control's visible state.

Implementation of IFioriToolbarItemProxy.getVisible

Returns: boolean

returns true if the control is visible otherwise false.


setEnabled

setEnabled(isEnabled: boolean): void

Sets the Enabled property of the control.

Implementation of IFioriToolbarItemProxy.setEnabled

Parameters:

Name Type Description
isEnabled boolean true enables and false disables.

Returns: void