public static enum PopupState.ClickMode extends java.lang.Enum<PopupState.ClickMode>
Enum Constant and Description |
---|
Close
A click outside of the current popup will close the current popup and
the event will otherwise propagate to whatever was below.
|
Consume
All clicks outside of the current popup will be consumed
and ignored.
|
ConsumeAndClose
A click outside of the current popup will be consumed but
will also close the popup.
|
Modifier and Type | Method and Description |
---|---|
static PopupState.ClickMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PopupState.ClickMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PopupState.ClickMode Consume
public static final PopupState.ClickMode Close
public static final PopupState.ClickMode ConsumeAndClose
public static PopupState.ClickMode[] values()
for (PopupState.ClickMode c : PopupState.ClickMode.values()) System.out.println(c);
public static PopupState.ClickMode 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