Class InputCheckBoxes

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

@Component public class InputCheckBoxes extends InputRadio
This class extends InputRadio and must be used to add the following three buttons to a set of checkboxes: CHECKALL, CHECKNONE, CHECKINVERSE.
See Also:
GCApi:
component
  • Field Details

    • _checkall

      protected boolean _checkall
    • _checknone

      protected boolean _checknone
    • _checkinverse

      protected boolean _checkinverse
    • SELECT_ALL

      public static final org.apache.ecs.html.Script SELECT_ALL
    • SELECT_NONE

      public static final org.apache.ecs.html.Script SELECT_NONE
    • SELECT_INVERSE

      public static final org.apache.ecs.html.Script SELECT_INVERSE
    • _msgSelezionaTutto

      protected String _msgSelezionaTutto
    • _msgDeselezionaTutto

      protected String _msgDeselezionaTutto
    • _msgInvertiSelezione

      protected String _msgInvertiSelezione
  • Constructor Details

    • InputCheckBoxes

      public InputCheckBoxes()
      Creates a new instance of InputCheckBoxes
  • Method Details

    • setup

      protected void setup()
      Description copied from class: Component
      Setup the Component
      Overrides:
      setup in class Input
    • setCHECKALL

      public void setCHECKALL(String s)
      Sets the possibility to show the CHECKALL button. This button check all the children InputRadio.
      Parameters:
      s - Boolean to enable or disable the visibility of the CHECKALL button.
    • setCHECKNONE

      public void setCHECKNONE(String s)
      Sets the possibility to show the CHECKNONE button. This button uncheck all the children InputRadio.
      Parameters:
      s - Boolean to enable or disable the visibility of the CHECKNONE button.
    • setCHECKINVERSE

      public void setCHECKINVERSE(String s)
      Sets the possibility to show the CHECKINVERSE button. This button check all the children InputRadio that were not checked, and unchek all the children InputRadio.
      Parameters:
      s - Boolean to enable or disable the visibility of the CHECKINVERSE button.
    • validate

      protected void validate(org.apache.ecs.html.Input i, EntitySet es, boolean ro, String name)
    • prepareName

      protected String prepareName()
      Overrides:
      prepareName in class InputRadio
    • getInput

      protected org.apache.ecs.html.Input getInput(String sName, String sValue)
      Overrides:
      getInput in class InputRadio
    • isSelected

      protected boolean isSelected(String sCurrentValue, boolean bOldValue, String sName)
      Overrides:
      isSelected in class InputRadio
    • getCheckAllButton

      protected org.apache.ecs.Element getCheckAllButton(EntitySet es)
    • getCheckNoneButton

      protected org.apache.ecs.Element getCheckNoneButton(EntitySet es)
    • getCheckInverseButton

      protected org.apache.ecs.Element getCheckInverseButton(EntitySet es)
    • getControlButtons

      protected org.apache.ecs.Element getControlButtons(EntitySet es)
      Overrides:
      getControlButtons in class InputRadio
    • getControlElement

      protected org.apache.ecs.Element getControlElement()
      Overrides:
      getControlElement in class InputRadio
    • validateConcreteValue

      public void validateConcreteValue(String name, Object value, boolean strong, Map arriving) throws ValidationException
      Overrides:
      validateConcreteValue in class InputRadio
      Throws:
      ValidationException