Enum Class StandardContextType

java.lang.Object
java.lang.Enum<StandardContextType>
org.zkoss.pivot.impl.StandardContextType
All Implemented Interfaces:
Serializable, Comparable<StandardContextType>, java.lang.constant.Constable, ContextType

public enum StandardContextType extends Enum<StandardContextType> implements ContextType
The built-in collection of ContextType.
Author:
simonpai
  • Enum Constant Details

    • SUM_COUNT

      public static final StandardContextType SUM_COUNT
      The context thats stores sum, count and number count.
    • MIN_MAX

      public static final StandardContextType MIN_MAX
      The context that stores minimum and maximum values.
    • PRODUCT

      public static final StandardContextType PRODUCT
      The context that stores arithmetic product.
    • VARIANCE

      public static final StandardContextType VARIANCE
      The context that stores sum, sum of square and number count.
  • Method Details

    • values

      public static StandardContextType[] 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 StandardContextType 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
    • create

      public Context create()
      Description copied from interface: ContextType
      Create the initial instance of the Context.
      Specified by:
      create in interface ContextType
    • create

      public static Context<?> create(int ordinal)
      Create the context by the enum ordinal.