Class MultiValuedInputComponent

All Implemented Interfaces:
GuiComponent, com.ptc.netmarkets.util.misc.NmFormatable, Serializable

public class MultiValuedInputComponent extends AttributeInputComponent
A composite GUI component to input a string value. This component will be composed of a TextBox component or a TextArea component depending on the max string length and the configurations that determine this.
Supported API: true

See Also:
  • Constructor Details

    • MultiValuedInputComponent

      public MultiValuedInputComponent(ArrayList<AttributeInputComponent> guiComponents, AttributeInputComponent defaultGui)
      Create an instance of MultiValuedInputComponent from a list of AttributeInputComponent and a default AttributeInputComponent
      Supported API: true
  • Method Details

    • setEditable

      public void setEditable(boolean isEditable)
      Set whether the component is editable or not
      Supported API: true
      Overrides:
      setEditable in class AttributeInputComponent
      Parameters:
      isEditable - isEditable=true: renders the component as editable isEditable=false; renders the component as non-editable.
    • setComponentHidden

      public void setComponentHidden(boolean hidden)
      Set whether the component is hidden or not
      Supported API: true
      Overrides:
      setComponentHidden in class AbstractGuiComponent
      Parameters:
      hidden - hidden=true: renders the component as hidden hidden=false; renders the component as non-hidden.