|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<WindowLifecycleEvent.Cause>
org.apache.myfaces.trinidad.event.WindowLifecycleEvent.Cause
public static enum WindowLifecycleEvent.Cause
What caused the delivery of the WindowLifecycleEvent.
Enum Constant Summary | |
---|---|
CLOSE
The Window is believed to have been closed by the user |
|
CLOSING
Delivered when the content of a Window have been unloaded in order to close the window |
|
EXPIRE
The Window is believed to have been closed by the user |
|
NAVIGATE
Delivered when the content of a Window have been unloaded as a result of navigating within the application |
|
OPEN
Delivered when a new Window is open |
|
RELOAD
The contents of an existing Window are being reloaded |
|
UNLOAD
Delivered when the content of a Window have been unloaded but cause of the unloading isn't known. |
Method Summary | |
---|---|
static WindowLifecycleEvent.Cause |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static WindowLifecycleEvent.Cause[] |
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 WindowLifecycleEvent.Cause OPEN
public static final WindowLifecycleEvent.Cause UNLOAD
public static final WindowLifecycleEvent.Cause NAVIGATE
public static final WindowLifecycleEvent.Cause CLOSING
public static final WindowLifecycleEvent.Cause RELOAD
public static final WindowLifecycleEvent.Cause EXPIRE
public static final WindowLifecycleEvent.Cause CLOSE
Method Detail |
---|
public static WindowLifecycleEvent.Cause[] values()
for (WindowLifecycleEvent.Cause c : WindowLifecycleEvent.Cause.values()) System.out.println(c);
public static WindowLifecycleEvent.Cause valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |