[]
        
(Showing Draft Content)

FormControlType

Enum Class FormControlType

java.lang.Object
java.lang.Enum<FormControlType>
com.grapecity.documents.excel.forms.FormControlType
All Implemented Interfaces:
Serializable, Comparable<FormControlType>, Constable

public enum FormControlType extends Enum<FormControlType>
Represents the type of form controls.
  • Enum Constant Details

    • Button

      public static final FormControlType Button
      The type of this control is IButton .
    • CheckBox

      public static final FormControlType CheckBox
      The type of this control is ICheckBox .
    • GroupBox

      public static final FormControlType GroupBox
      The type of this control is IGroupBox .
    • Label

      public static final FormControlType Label
      The type of this control is ILabel .
    • ListBox

      public static final FormControlType ListBox
      The type of this control is IListBox .
    • OptionButton

      public static final FormControlType OptionButton
      The type of this control is IOptionButton .
    • ScrollBar

      public static final FormControlType ScrollBar
      The type of this control is IScrollBar .
    • Spinner

      public static final FormControlType Spinner
      The type of this control is ISpinner .
  • Method Details

    • values

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

      public static FormControlType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null