Enum Class CalcMode

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

public enum CalcMode extends Enum<CalcMode>
Workbook calculation mode.
  • Enum Constant Details

    • AUTOMATIC

      public static final CalcMode AUTOMATIC
      Recalculate automatically when dependencies change (Excel default).
    • MANUAL

      public static final CalcMode MANUAL
      Recalculate only on an explicit request.
    • AUTOMATIC_EXCEPT_TABLES

      public static final CalcMode AUTOMATIC_EXCEPT_TABLES
      Automatic except for data tables.
  • Method Details

    • values

      public static CalcMode[] 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 CalcMode 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 int code()
    • fromCode

      public static CalcMode fromCode(int code)