public static enum DocumentTabPane.CloseMode extends Enum<DocumentTabPane.CloseMode>
Enum Constant and Description |
---|
withAskOnCloseButton
User must confirm to close the tab
|
withDisabledCloseButton
Close button is shown, but disabled
|
withoutCloseButton
No close button
|
withSilentCloseButton
Close button silently closes the tab
|
Modifier and Type | Method and Description |
---|---|
static DocumentTabPane.CloseMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentTabPane.CloseMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentTabPane.CloseMode withSilentCloseButton
public static final DocumentTabPane.CloseMode withAskOnCloseButton
public static final DocumentTabPane.CloseMode withoutCloseButton
public static final DocumentTabPane.CloseMode withDisabledCloseButton
public static DocumentTabPane.CloseMode[] values()
for (DocumentTabPane.CloseMode c : DocumentTabPane.CloseMode.values()) System.out.println(c);
public static DocumentTabPane.CloseMode 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 © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.