Class ButtonTemplate


public class ButtonTemplate extends ElementTemplate
Template that can be used to initialize a button definition.
Since:
6.0
Author:
O. Kerpershoek
  • Constructor Details

    • ButtonTemplate

      public ButtonTemplate(String name)
      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

      public void setDisplayText(String displayText)
      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.