public enum CloseOriginType extends java.lang.Enum<CloseOriginType> implements Window.CloseOrigin
Enum Constant and Description |
---|
BREADCRUMBS
A screen is closed by clicking on the breadcrumbs link.
|
CLOSE_BUTTON
A screen is closed with one of the following approaches:
screen's close button, TabSheet tabs' close actions (Close, Close All, Close Others).
|
SHORTCUT
A screen is closed with
ClientConfig.getCloseShortcut() . |
Modifier and Type | Method and Description |
---|---|
static CloseOriginType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CloseOriginType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CloseOriginType BREADCRUMBS
public static final CloseOriginType CLOSE_BUTTON
public static final CloseOriginType SHORTCUT
ClientConfig.getCloseShortcut()
.public static CloseOriginType[] values()
for (CloseOriginType c : CloseOriginType.values()) System.out.println(c);
public static CloseOriginType 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