Class TextDisplayComponent

java.lang.Object
com.ptc.core.components.rendering.AbstractGuiComponent
com.ptc.core.components.rendering.guicomponents.AttributeGuiComponent
com.ptc.core.components.rendering.guicomponents.TextDisplayComponent
All Implemented Interfaces:
GuiComponent, com.ptc.core.components.rendering.guicomponents.JSONGuiComponent, com.ptc.core.components.rendering.guicomponents.PrintableComponent, com.ptc.netmarkets.util.misc.NmFormatable, Serializable

public class TextDisplayComponent extends com.ptc.core.components.rendering.guicomponents.AttributeGuiComponent implements com.ptc.core.components.rendering.guicomponents.PrintableComponent, com.ptc.core.components.rendering.guicomponents.JSONGuiComponent
A GUI component to used display the given string. This component holds all the data that determine how the text needs to processed before display(for example, ' create hyperlinks in the string'.
Supported API: true
See Also:
  • Constructor Details

    • TextDisplayComponent

      public TextDisplayComponent(String label)
      Create an instance of TextDisplayComponent with label
      Supported API: true
      Parameters:
      label - label of TextDisplayComponnet
  • Method Details

    • setValue

      public void setValue(String val)
      Sets value of component
      Supported API: true
      Parameters:
      val - value to be set