|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ContextType> org.zkoss.bind.annotation.ContextType
public enum ContextType
To define the context object type for ContextParam
ContextParam
Enum Constant Summary | |
---|---|
APPLICATION
The web application, the type is WebApp |
|
BIND_CONTEXT
The current bind context, the type is BindContext |
|
BINDER
The current binder, the type is Binder |
|
COMMAND_NAME
The command name |
|
COMPONENT
The current component, the type is subclass of the Component |
|
DESKTOP
The desktop of the current component, the type is Desktop |
|
EXECUTION
The current execution, the type is Execution |
|
PAGE
The page of the current component, the type is Page |
|
SESSION
The session, the type is Session |
|
SPACE_OWNER
The space owner of the current component, the type is IdSpace |
|
TRIGGER_EVENT
The trigger event of a command |
|
VIEW
The view of binder, the type is Component |
Method Summary | |
---|---|
static ContextType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ContextType[] |
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 ContextType BIND_CONTEXT
BindContext
public static final ContextType BINDER
Binder
public static final ContextType EXECUTION
Execution
public static final ContextType COMPONENT
Component
public static final ContextType SPACE_OWNER
IdSpace
public static final ContextType VIEW
Component
public static final ContextType PAGE
Page
public static final ContextType DESKTOP
Desktop
public static final ContextType SESSION
Session
public static final ContextType APPLICATION
WebApp
public static final ContextType TRIGGER_EVENT
public static final ContextType COMMAND_NAME
Method Detail |
---|
public static ContextType[] values()
for (ContextType c : ContextType.values()) System.out.println(c);
public static ContextType 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 null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |