Class OutputCheckBox

All Implemented Interfaces:
Serializable, overit.geocall.marks.MethodExposer, overit.geocall.marks.NameExposer, Arrangeable, Badgeable, Identified, Tool, overit.geocall.ux.configurability.UIConfigurable, overit.geocall.ux.edm.ModelConfigurable

@Component public class OutputCheckBox extends Output
This class implements an output checkbox, a field which value can be true, false or null
See Also:
GCApi:
component
  • Field Details

    • _selected

      protected Boolean _selected
  • Constructor Details

    • OutputCheckBox

      public OutputCheckBox()
  • Method Details

    • setVALUE

      public void setVALUE(String s)
      Sets the value of the output checkbox.
      Overrides:
      setVALUE in class Output
      Parameters:
      s - null or an empty string to set the null value or a string that represents a boolean ("true" or "1", "false" or "0") to set the corresponding value. If the string is not recognized as a boolean value, it will be used the default value, that is false
    • getHtmlValue

      protected org.apache.ecs.Element getHtmlValue(EntitySet es)
      Overrides:
      getHtmlValue in class Output
    • getHtml

      public org.apache.ecs.Element getHtml(EntitySet es)
      Description copied from class: Component
      Abstract method that must be extended and returns the html code of the Component
      Overrides:
      getHtml in class Output
      Parameters:
      es - The EntitySet to which the element belongs
      Returns:
      The html of the Component