|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<StandardContextType>
org.zkoss.pivot.impl.StandardContextType
public enum StandardContextType
The built-in collection of ContextType
.
Enum Constant Summary | |
---|---|
MIN_MAX
The context that stores minimum and maximum values. |
|
PRODUCT
The context that stores arithmetic product. |
|
SUM_COUNT
The context thats stores sum, count and number count. |
|
VARIANCE
The context that stores sum, sum of square and number count. |
Method Summary | |
---|---|
Context |
create()
Create the initial instance of the Context . |
static Context<?> |
create(int ordinal)
Create the context by the enum ordinal. |
static StandardContextType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static StandardContextType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final StandardContextType SUM_COUNT
public static final StandardContextType MIN_MAX
public static final StandardContextType PRODUCT
public static final StandardContextType VARIANCE
Method Detail |
---|
public static StandardContextType[] values()
for (StandardContextType c : StandardContextType.values()) System.out.println(c);
public static StandardContextType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic Context create()
ContextType
Context
.
create
in interface ContextType
public static Context<?> create(int ordinal)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |