|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Scope> org.zkoss.bind.annotation.Scope
public enum Scope
The implicit scopes of zk for ScopeParam
.
The AUTO scope means searching the value from components to page, desktop one bye one automatically...until find a value
SESSION, APPLICATION and by the order.
Other scope only represents itself.
ScopeParam
Enum Constant Summary | |
---|---|
APPLICATION
Search the value from the implicit applicationScope |
|
AUTO
Search the value from components to page, desktop one bye one...until find a value |
|
COMPONENT
Search the value from the implicit componentScope |
|
DESKTOP
Search the value from the implicit desktopScope |
|
PAGE
Search the value from the implicit pageScope |
|
SESSION
Search the value from the implicit sessionScope |
|
SPACE
Search the value from the implicit spaceScope |
Method Summary | |
---|---|
java.lang.String |
getName()
the zk implicit scope name |
static Scope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Scope[] |
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 Scope AUTO
public static final Scope COMPONENT
public static final Scope SPACE
public static final Scope PAGE
public static final Scope DESKTOP
public static final Scope SESSION
public static final Scope APPLICATION
Method Detail |
---|
public static Scope[] values()
for (Scope c : Scope.values()) System.out.println(c);
public static Scope 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 java.lang.String getName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |