|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Phase> org.zkoss.bind.Phase
public enum Phase
The Phase of PhaseListener when doing binding.
There are currently seven phases that executed in that order:
Command :
COMMAND
: do a commandVALIDATE
: do validate before a command or zk eventSAVE_BEFORE
: do save bindings before executing a commandLOAD_BEFORE
: do load bindings before executing a commandEXECUTE
: execute a commandSAVE_AFTER
: do save bindings after executing a commandLOAD_AFTER
: do load bindings after executing a commandSAVE_BINDING
: do a save bindingLOAD_BINDING
: do a load bindingGLOBAL_COMMAND
: do a global commandEXECUTE
: execute a command
Enum Constant Summary | |
---|---|
COMMAND
command phase. |
|
EXECUTE
command execution phase. |
|
GLOBAL_COMMAND
global command phase. |
|
LOAD_AFTER
load after command phase. |
|
LOAD_BEFORE
load before command phase. |
|
LOAD_BINDING
load binding phase. |
|
SAVE_AFTER
save after command phase. |
|
SAVE_BEFORE
save before command phase. |
|
SAVE_BINDING
save binding phase. |
|
VALIDATE
validate phase. |
Method Summary | |
---|---|
static Phase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Phase[] |
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 Phase COMMAND
public static final Phase GLOBAL_COMMAND
public static final Phase VALIDATE
public static final Phase SAVE_BEFORE
public static final Phase LOAD_BEFORE
public static final Phase EXECUTE
public static final Phase SAVE_AFTER
public static final Phase LOAD_AFTER
public static final Phase SAVE_BINDING
public static final Phase LOAD_BINDING
Method Detail |
---|
public static Phase[] values()
for (Phase c : Phase.values()) System.out.println(c);
public static Phase 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 |