[]
        
(Showing Draft Content)

FunctionValueType

Enum Class FunctionValueType

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

public enum FunctionValueType extends Enum<FunctionValueType>
Specifies the value type of parameter or result.
  • Enum Constant Details

    • Number

      public static final FunctionValueType Number
    • Text

      public static final FunctionValueType Text
    • Boolean

      public static final FunctionValueType Boolean
    • Variant

      public static final FunctionValueType Variant
    • Object

      public static final FunctionValueType Object
      Specifies that value of parameter is scalar, Array or CalcReference. If this parameter is retval or acceptCustomObjects, the value can be custom objects.
  • Method Details

    • values

      public static FunctionValueType[] 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 FunctionValueType 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
    • getValue

      public int getValue()
    • forValue

      public static FunctionValueType forValue(int value)