Skip to content

Interface: IFioriToolbarButtonProxy

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

Hierarchy

Implemented by

Summary

Properties

Class Properties

Currently none in this class.

Inherited Properties

Methods

Class Methods

Inherited Methods

Methods

getButtonType

getButtonType(): string

Returns the ButtonType property value defined for the control.

Returns: string


getImage

getImage(): string

Returns the Image property value defined for the control.

Returns: string


getImagePosition

getImagePosition(): string

Returns the ImagePosition property value defined for the Button control.

Returns: string


getSemantic

getSemantic(): string

Returns the Semantic property value defined for the Button control.

Returns: string


getTitle

getTitle(): string

Returns the Title property value defined for the control.

Returns: string


setButtonType

setButtonType(type: string): any

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

Parameters:

Name Type Description
type string value to set.

Returns: any


setImage

setImage(image: string): void

Sets the Image property of the Button control.

Parameters:

Name Type Description
image string value to set.

Returns: void


setImagePosition

setImagePosition(imagePosition: string): void

Sets the ImagePosition property of the Button control.

Parameters:

Name Type Description
imagePosition string value to set.

Returns: void


setSemantic

setSemantic(semantic: string): void

Sets the Semantic property of the Button control.

Parameters:

Name Type Description
semantic string value to set.

Returns: void


setTitle

setTitle(title: string): void

Sets the Title property of the control.

Parameters:

Name Type Description
title string value to set.

Returns: void