Enum Class CloseOriginType

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

public enum CloseOriginType extends Enum<CloseOriginType> implements Window.CloseOrigin
Describes the default ways a window was closed.
  • Enum Constant Details

    • CLOSE_BUTTON

      public static final CloseOriginType CLOSE_BUTTON
      A screen is closed with one of the following approaches: screen's close button, TabSheet tabs' close actions (Close, Close All, Close Others).
    • SHORTCUT

      public static final CloseOriginType SHORTCUT
      A screen is closed with UiScreenProperties.getCloseShortcut().
  • Method Details

    • values

      public static CloseOriginType[] 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 CloseOriginType 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