Skip to content

Class: ButtonFormCellControlProxy

ButtonFormCellControlProxy is a developer-facing interface that provides access to a button control and allows customizations. In addition, it provides access to the IFormCellProxy interface.

Hierarchy

Implements

Summary

Constructors

Properties

Class Properties

None in this class.

Inherited Properties

Accessors

Class Accessors

None in this class.

Inherited Accessors

Methods

Class Methods

Inherited Methods

Constructors

constructor

+ new ButtonFormCellControlProxy(context: IContext): ButtonFormCellControlProxy

Overrides FormCellControlProxy.constructor

Parameters:

Name Type
context IContext

Returns: ButtonFormCellControlProxy

Methods

getAlignment

getAlignment(): string

Returns the Alignment property value defined for the FormCell's control.

Returns: string


getButtonType

getButtonType(): string

Implementation of IButtonFormCellProxy

Returns the ButtonType property value defined for the FormCell's control.

Returns: string


getImage

getImage(): string

Implementation of IButtonFormCellProxy

Returns the Image property value defined for the FormCell's control.

Returns: string


getImagePosition

getImagePosition(): string

Implementation of IButtonFormCellProxy

Returns the ImagePosition property value defined for the Button FormCell's control.

Returns: string


getImageSize

getImageSize(): Object

Implementation of IButtonFormCellProxy

Returns the ImageSize property value defined for the Button FormCell's control.

Returns: Object


getSemantic

getSemantic(): string

Implementation of IButtonFormCellProxy

Returns the Semantic property value defined for the Button FormCell's control.

Returns: string


getTextAlignment

getTextAlignment(): string

Implementation of IButtonFormCellProxy

Returns the TextAlignment property value defined for the FormCell's control.

deprecated - use getAlignment() instead.

Returns: string


getTitle

getTitle(): string

Implementation of IButtonFormCellProxy

Returns the Title property value defined for the FormCell's control.

Returns: string


setAlignment

setAlignment(alignment: string): void

Sets the Alignment property of the FormCell's control. Accepted values are: "left", "right", "center".

Parameters:

Name Type Description
alignment string value to set.

Returns: void


setButtonType

setButtonType(type: string): void

Implementation of IButtonFormCellProxy

Sets the ButtonType property of the FormCell's control. Accepted values are: "Button", "Normal".

Parameters:

Name Type Description
type string value to set.

Returns: void


setImage

setImage(image: string): void

Implementation of IButtonFormCellProxy

Sets the Image property of the Button FormCell's control.

Parameters:

Name Type Description
image string value to set.

Returns: void


setImagePosition

setImagePosition(imagePosition: string): void

Implementation of IButtonFormCellProxy

Sets the ImagePosition property of the Button FormCell's control.

Parameters:

Name Type Description
imagePosition string value to set.

Returns: void


setImageSize

setImageSize(imageSize: Object): void

Implementation of IButtonFormCellProxy

Sets the ImageSize property of the Button FormCell's control.

Parameters:

Name Type Description
imageSize Object value to set.

Returns: void


setSemantic

setSemantic(semantic: string): void

Implementation of IButtonFormCellProxy

Sets the Semantic property of the Button FormCell's control.

Parameters:

Name Type Description
semantic string value to set.

Returns: void


setTextAlignment

setTextAlignment(alignment: string): void

Implementation of IButtonFormCellProxy

Sets the TextAlignment property of the FormCell's control. Accepted values are: "left", "right", "center".

deprecated - use setAlignment(alignment: string) instead.

Parameters:

Name Type Description
alignment string value to set.

Returns: void


setTitle

setTitle(title: string): void

Implementation of IButtonFormCellProxy

Sets the Title property of the Button FormCell's control.

Parameters:

Name Type Description
title string value to set.

Returns: void