Enum Class Window.ContentSwitchMode

java.lang.Object
java.lang.Enum<Window.ContentSwitchMode>
io.jmix.ui.component.Window.ContentSwitchMode
All Implemented Interfaces:
Serializable, Comparable<Window.ContentSwitchMode>, Constable
Enclosing interface:
Window

public static enum Window.ContentSwitchMode extends Enum<Window.ContentSwitchMode>
Defines how the managed main TabSheet switches a tab with the given window: hides or unloads its content.
  • Enum Constant Details

    • DEFAULT

      public static final Window.ContentSwitchMode DEFAULT
      Tab switching is determined by the managed main TabSheet mode (hide or unload content of a tab).
    • HIDE

      public static final Window.ContentSwitchMode HIDE
      Tab content should be hidden not considering the TabSheet mode.
    • UNLOAD

      public static final Window.ContentSwitchMode UNLOAD
      Tab content should be unloaded not considering the TabSheet mode.
  • Method Details

    • values

      public static Window.ContentSwitchMode[] 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

      public static Window.ContentSwitchMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null