Skip to content

Class: ButtonTableButtonProxy

ButtonTableButtonProxy is a developer-facing class that provides access to a button control. It is passed to rules to provide access to a 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 ButtonTableButtonProxy(context: IContext): ButtonTableButtonProxy

Overrides ControlProxy.constructor

Parameters:

Name Type
context IContext

Returns: ButtonTableButtonProxy

Methods

getEnabled

getEnabled(): boolean

Returns the Enabled property value of the button.

Implementation of IButtonTableButtonProxy.getEnabled

Returns: boolean


getVisible

getVisible(): boolean

Returns the Visible property value of the button.

Implementation of IButtonTableButtonProxy.getVisible

Returns: boolean


redraw

redraw(): Promise<any>

Redraw control is not supported. Instead, the parent section redraw is triggered.

Implementation of IButtonTableButtonProxy.redraw Overrides ControlProxy.redraw

Returns: Promise<any>


setEnabled

setEnabled(isEnabled: boolean, redraw?: boolean = true): void

Sets the Enabled property of the button.

Implementation of IButtonTableButtonProxy.setEnabled

Parameters:

Name Type Description
isEnabled boolean Set to true to enable the button or false to disable it.
redraw? boolean = true Set to true to redraw the button after setting the enabled state.

Returns: void