Enum Class FormControlType

java.lang.Object
java.lang.Enum<FormControlType>
io.keikai.axyra.sheets.content.FormControlType
All Implemented Interfaces:
Serializable, Comparable<FormControlType>, Constable

public enum FormControlType extends Enum<FormControlType>
The kind of a worksheet form control (the classic Form Controls group on Excel's Developer tab), matching the OOXML ctrlProp objectType families (ECMA-376 Part 1 §18.3.1.13 plus the <formControlPr> part).
  • Enum Constant Details

  • 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
    • code

      public String code()
      The wire token used across the native boundary.
    • fromCode

      public static FormControlType fromCode(String code)
      The type for a wire token; UNKNOWN for unrecognized tokens.