Enum HTMLComponent

java.lang.Object
java.lang.Enum<HTMLComponent>
com.orchestranetworks.addon.dqid.common.HTMLComponent
All Implemented Interfaces:
Serializable, Comparable<HTMLComponent>, Constable

public enum HTMLComponent extends Enum<HTMLComponent>
An enumeration class for UI component types such as dropdown box, check box, radio button, text box and date-picker.
Since:
1.4.0
  • Enum Constant Details

    • CHECKBOX_COMPONENT

      public static final HTMLComponent CHECKBOX_COMPONENT
    • RADIOBOX_COMPONENT

      public static final HTMLComponent RADIOBOX_COMPONENT
    • TEXTBOX_COMPONENT

      public static final HTMLComponent TEXTBOX_COMPONENT
    • NUMERIC_TEXTBOX_COMPONENT

      public static final HTMLComponent NUMERIC_TEXTBOX_COMPONENT
    • DATETIME_COMPONENT

      public static final HTMLComponent DATETIME_COMPONENT
  • Method Details

    • values

      public static HTMLComponent[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static HTMLComponent valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • isDropDownBox

      public boolean isDropDownBox()
      Returns true if this component is DROPDOWNBOX_COMPONENT.
    • isCheckbox

      public boolean isCheckbox()
      Returns true if this component is CHECKBOX_COMPONENT.
    • isRadioBox

      public boolean isRadioBox()
      Returns true if this component is RADIOBOX_COMPONENT.
    • isTextBox

      public boolean isTextBox()
      Returns true if this component is TEXTBOX_COMPONENT.
    • isNumericTextBox

      public boolean isNumericTextBox()
      Returns true if this component is NUMERIC_TEXTBOX_COMPONENT.
    • isDateTime

      public boolean isDateTime()
      Returns true if this component is DATETIME_COMPONENT.
    • isHTMLComponentForEnumeration

      public boolean isHTMLComponentForEnumeration()
      Returns true if it is a radio box or check box or drop-down box component.