Enum Class TaskWindow.State

java.lang.Object
java.lang.Enum<TaskWindow.State>
cl.obcom.desktopfx.core.TaskWindow.State
All Implemented Interfaces:
Serializable, Comparable<TaskWindow.State>, Constable
Enclosing interface:
TaskWindow

public static enum TaskWindow.State extends Enum<TaskWindow.State>
Specifies the state of a TaskWindow.
  • Enum Constant Details

    • NORMAL

      public static final TaskWindow.State NORMAL
      The TaskWindow is normalized.
    • MAXIMIZED

      public static final TaskWindow.State MAXIMIZED
      The TaskWindow is maximized.
    • ICONIFIED

      public static final TaskWindow.State ICONIFIED
      The TaskWindow is iconified.
  • Method Details

    • values

      public static TaskWindow.State[] 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 TaskWindow.State 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
    • fromName

      public static TaskWindow.State fromName(String name, TaskWindow.State defval)
      Returns the state with specified name.
      Parameters:
      name - the name of the required State.
      defval - the default returned if name is not found.
      Returns:
      the state or defval if name is not found.