|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Object
java.lang.Enum<Window.LifecycleState>
org.apache.myfaces.trinidad.context.Window.LifecycleState
public static enum Window.LifecycleState
Represents the current state of the Window. Windows start out OPEN, when the current window's document is being unloaded, they move to the UNLOADING state and then either move back to the OPEN state if the Window's content is populated with a new document from the same application, or to the CLOSED state if it is not.
This represents the framework's best guess at the current status of the Window.
| Enum Constant Summary | |
|---|---|
CLOSEDThe Window is believed to be closed, either because the window was explicitly closed or because the window is suspected to have been closed |
|
OPENThe Window is currently open |
|
UNLOADINGThe Window is being unloaded |
|
| Method Summary | |
|---|---|
static Window.LifecycleState |
valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. |
static Window.LifecycleState[] |
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 Window.LifecycleState OPEN
public static final Window.LifecycleState UNLOADING
public static final Window.LifecycleState CLOSED
| Method Detail |
|---|
public static Window.LifecycleState[] values()
for (Window.LifecycleState c : Window.LifecycleState.values())
System.out.println(c);
public static Window.LifecycleState 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 namejava.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 | |||||||||
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.