Class Option

All Implemented Interfaces:
Serializable, Cloneable, Component, DynamicPropertied, RawId, Scope, ComponentCtrl

public class Option extends AbstractTag
The OPTION tag.
Author:
tomyeh
See Also:
  • Constructor Details

    • Option

      public Option()
  • Method Details

    • isDisabled

      public boolean isDisabled()
      Returns the disabled of this option tag.
      Since:
      8.0.3
    • setDisabled

      public void setDisabled(boolean disabled) throws WrongValueException
      Sets the disabled of this option tag.
      Throws:
      WrongValueException
      Since:
      8.0.3
    • getLabel

      public String getLabel()
      Returns the label of this option tag.
      Since:
      8.0.3
    • setLabel

      public void setLabel(String label) throws WrongValueException
      Sets the label of this option tag.
      Throws:
      WrongValueException
      Since:
      8.0.3
    • isSelected

      public boolean isSelected()
      Returns the selected of this option tag.
      Since:
      8.0.3
    • setSelected

      public void setSelected(boolean selected) throws WrongValueException
      Sets the selected of this option tag.
      Throws:
      WrongValueException
      Since:
      8.0.3
    • getValue

      public String getValue()
      Returns the value of this option tag.
      Since:
      8.0.3
    • setValue

      public void setValue(String value) throws WrongValueException
      Sets the value of this option tag.
      Throws:
      WrongValueException
      Since:
      8.0.3