public static enum WindowLifecycleEvent.Cause extends Enum<WindowLifecycleEvent.Cause>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
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 nameNullPointerException
- if the argument is nullCopyright © 2001-2016 The Apache Software Foundation. All Rights Reserved.