A buttons in fiori style, with SAP icon
Link to blog: Design Studio SDK: Fiori Button (with SAP Image)
| Name | Description | Group | Default | Visible |
|---|---|---|---|---|
| dBackColor [String] |
Background Colour Background Colour |
Display | true | |
| dFontColor [String] |
Font Colour Font Colour |
Display | true | |
| dIcon [String] |
Icon Icon |
Display | e03e | true |
| dSize [String] |
Size M (16px) | L (22px) Size M (16px) | L (22px) |
Display | L | true |
| dStyle [String] |
Button Style Button Style |
Display | Default | true |
| dText [String] |
Text Text |
Display | true | |
| dTooltip [String] |
Tooltip Tooltip |
Display | true |
| Name | Description | Group | Default | Visible |
|---|---|---|---|---|
| onClick [ScriptText] |
Event For On Click Event For On Click |
Events | true |
| Name | Parameters | Return |
|---|---|---|
| getBackColor [details] | String | |
| getFontColor [details] | String | |
| getIcon [details] | String | |
| getSize [details] | org_scn_community_shared_Enumfield | |
| getSizeAsString [details] | String | |
| getStyle [details] | org_scn_community_shared_ButtonStyleEnumfield | |
| getStyleAsString [details] | String | |
| getText [details] | String | |
| getTooltip [details] | String | |
| setBackColor [details] | backColor | void |
| setFontColor [details] | fontColor | void |
| setIcon [details] | icon | void |
| setSize [details] | size | void |
| setSizeByString [details] | size | void |
| setStyle [details] | style | void |
| setStyleByString [details] | style | void |
| setText [details] | text | void |
| setTooltip [details] | tooltip | void |
| Name | Description | Group | Default | Visible |
|---|
| String getBackColor |
Gets Background Colour Property |
||||||
| Source Code | return this.dBackColor; | ||||||
| String getFontColor |
Gets Font Colour Property |
||||||
| Source Code | return this.dFontColor; | ||||||
| String getIcon |
Gets Icon Property |
||||||
| Source Code | return this.dIcon; | ||||||
| org_scn_community_shared_Enumfield getSize |
Gets Size M (16px) | L (22px) Property as Choice Option |
||||||
| Source Code | return this.dSize; | ||||||
| String getSizeAsString |
Gets Size M (16px) | L (22px) Property as String |
||||||
| Source Code | return this.dSize; | ||||||
| org_scn_community_shared_ButtonStyleEnumfield getStyle |
Gets Button Style Property as Choice Option |
||||||
| Source Code | return this.dStyle; | ||||||
| String getStyleAsString |
Gets Button Style Property as String |
||||||
| Source Code | return this.dStyle; | ||||||
| String getText |
Gets Text Property |
||||||
| Source Code | return this.dText; | ||||||
| String getTooltip |
Gets Tooltip Property |
||||||
| Source Code | return this.dTooltip; | ||||||
| void setBackColor |
/START HERE PLACE FOR CUSTOM ZTL FUNCTIONS Sets Background Colour Property
|
||||||
| Source Code | this.dBackColor = backColor; | ||||||
| void setFontColor |
Sets Font Colour Property
|
||||||
| Source Code | this.dFontColor = fontColor; | ||||||
| void setIcon |
Sets Icon Property
|
||||||
| Source Code | this.dIcon = icon; | ||||||
| void setSize |
Sets Size M (16px) | L (22px) Property by Choice Option
|
||||||
| Source Code | this.dSize = size; | ||||||
| void setSizeByString |
Sets Size M (16px) | L (22px) Property by String
|
||||||
| Source Code | this.dSize = size; | ||||||
| void setStyle |
Sets Button Style Property by Choice Option
|
||||||
| Source Code | this.dStyle = style; | ||||||
| void setStyleByString |
Sets Button Style Property by String
|
||||||
| Source Code | this.dStyle = style; | ||||||
| void setText |
Sets Text Property
|
||||||
| Source Code | this.dText = text; | ||||||
| void setTooltip |
Sets Tooltip Property
|
||||||
| Source Code | this.dTooltip = tooltip; | ||||||