Package limn.backend
Enum Class NativeWindow.PopupKind
- All Implemented Interfaces:
Serializable,Comparable<NativeWindow.PopupKind>,Constable
- Enclosing interface:
NativeWindow
What a registered child window is, which decides whether a modal over the owner
leaves it usable.
Both kinds close and move with the owner; they differ only under an in-scene modal, which exempts its host so the host can keep drawing its own content outside its frame. Without this distinction that exemption reaches anything the host registered, and a non-modal dialog stayed clickable underneath a modal, where a native modal would have frozen it, and where the application had every reason to expect it frozen.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA window in its own right that happens to be owned for lifetime and movement: a non-modal dialog, a floating palette.The owner's own content, drawn outside its frame because the OS gives it no other way: a dropdown's list, a menu cascade, a tooltip. -
Method Summary
Modifier and TypeMethodDescriptionstatic NativeWindow.PopupKindReturns the enum constant of this class with the specified name.static NativeWindow.PopupKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TRANSIENT
The owner's own content, drawn outside its frame because the OS gives it no other way: a dropdown's list, a menu cascade, a tooltip. It stays usable under an in-scene modal whose host is this window, because it is that host. -
OWNED_WINDOW
A window in its own right that happens to be owned for lifetime and movement: a non-modal dialog, a floating palette. A modal over the owner blocks it like any other window.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-