public static enum Window.ClosingBehavior extends java.lang.Enum<Window.ClosingBehavior>
Enum Constant and Description |
---|
FIRE_ALWAYS
Always fire the last pane.
|
FIRE_IF_NON_EMPTY
Only fire the last pane if there is new data since the previous firing.
|
Modifier and Type | Method and Description |
---|---|
static Window.ClosingBehavior |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Window.ClosingBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Window.ClosingBehavior FIRE_ALWAYS
PaneInfo.isLast()
true
will be produced.public static final Window.ClosingBehavior FIRE_IF_NON_EMPTY
This is the default behavior.
public static Window.ClosingBehavior[] values()
for (Window.ClosingBehavior c : Window.ClosingBehavior.values()) System.out.println(c);
public static Window.ClosingBehavior 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