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>
表示表单控件的类型。
  • Enum Constant Details

    • Button

      public static final FormControlType Button
      此控件的类型是 IButton。
    • CheckBox

      public static final FormControlType CheckBox
      该控件的类型是 ICheckBox。
    • GroupBox

      public static final FormControlType GroupBox
      该控件的类型是 IGroupBox。
    • Label

      public static final FormControlType Label
      此控件的类型是 ILabel。
    • ListBox

      public static final FormControlType ListBox
      该控件的类型是 IListBox。
    • OptionButton

      public static final FormControlType OptionButton
      此控件的类型是 IOptionButton。
    • ScrollBar

      public static final FormControlType ScrollBar
      该控件的类型是 IScrollBar。
    • Spinner

      public static final FormControlType Spinner
      该控件的类型是 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