Package io.jmix.ui.component
Enum Class Window.ContentSwitchMode
- All Implemented Interfaces:
Serializable
,Comparable<Window.ContentSwitchMode>
,Constable
- Enclosing interface:
- Window
Defines how the managed main TabSheet switches a tab with the given window: hides or unloads its content.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Window.ContentSwitchMode
Returns the enum constant of this class with the specified name.static Window.ContentSwitchMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
Tab switching is determined by the managed main TabSheet mode (hide or unload content of a tab). -
HIDE
Tab content should be hidden not considering the TabSheet mode. -
UNLOAD
Tab content should be unloaded not considering the TabSheet mode.
-
-
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
-