Class ButtonTemplate
java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.composer.ElementTemplate
com.aquima.interactions.test.templates.composer.ButtonTemplate
Template that can be used to initialize a button definition.
- Since:
- 6.0
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ButtonTemplate
(com.aquima.interactions.foundation.report.IInitializationReport report, String name) ButtonTemplate
(String name) Constructs a button template with the specified name. -
Method Summary
Modifier and TypeMethodDescriptionprotected com.aquima.interactions.foundation.text.IMultilingualText
void
setDisplayText
(com.aquima.interactions.foundation.text.IMultilingualText displayText) This method may be used to override the display text of the button.void
setDisplayText
(String displayText) This method may be used to override the display text of the button.com.aquima.interactions.composer.ds.IButtonDS
This method converts the template to a data source that can be used to initialize a button definition.Methods inherited from class com.aquima.interactions.test.templates.composer.ElementTemplate
getName, getPresentationStyles
Methods inherited from class com.aquima.interactions.test.templates.AbstractReportingTemplate
getInitializationReport
-
Constructor Details
-
ButtonTemplate
Constructs a button template with the specified name.- Parameters:
name
- The name of the button.
-
ButtonTemplate
protected ButtonTemplate(com.aquima.interactions.foundation.report.IInitializationReport report, String name)
-
-
Method Details
-
setDisplayText
This method may be used to override the display text of the button.- Parameters:
displayText
- the display text of the button.
-
setDisplayText
public void setDisplayText(com.aquima.interactions.foundation.text.IMultilingualText displayText) This method may be used to override the display text of the button.- Parameters:
displayText
- the display text of the button.- Since:
- 8.4
-
getDisplayText
protected com.aquima.interactions.foundation.text.IMultilingualText getDisplayText() -
toDataSource
public com.aquima.interactions.composer.ds.IButtonDS toDataSource()This method converts the template to a data source that can be used to initialize a button definition.- Returns:
- a data source that can be used to initialize a button definition.
-