Package org.zkoss.bind.annotation
Enum Class ContextType
- All Implemented Interfaces:
Serializable,Comparable<ContextType>,Constable
To define the context object type for
ContextParam- Since:
- 6.0.0
- Author:
- dennis
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe web application, the type isWebAppThe current bind context, the type isBindContextThe current binder, the type isBinderThe command nameThe current component, the type is subclass of theComponentThe desktop of the current component, the type isDesktopThe current execution, the type isExecutionThe page of the current component, the type isPageThe session, the type isSessionThe space owner of the current component, the type isIdSpaceThe trigger event of a commandThe view of binder, the type isComponent -
Method Summary
Modifier and TypeMethodDescriptionstatic ContextTypeReturns the enum constant of this class with the specified name.static ContextType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BIND_CONTEXT
The current bind context, the type isBindContext -
BINDER
The current binder, the type isBinder -
EXECUTION
The current execution, the type isExecution -
COMPONENT
The current component, the type is subclass of theComponent -
SPACE_OWNER
The space owner of the current component, the type isIdSpace -
VIEW
The view of binder, the type isComponent -
PAGE
The page of the current component, the type isPage -
DESKTOP
The desktop of the current component, the type isDesktop -
SESSION
The session, the type isSession -
APPLICATION
The web application, the type isWebApp -
TRIGGER_EVENT
The trigger event of a command- Since:
- 6.0.1
-
COMMAND_NAME
The command name- Since:
- 6.0.1
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-