Enum Class SyWindowDecorationComponent

java.lang.Object
java.lang.Enum<SyWindowDecorationComponent>
com.io7m.jsycamore.api.windows.SyWindowDecorationComponent
All Implemented Interfaces:
Serializable, Comparable<SyWindowDecorationComponent>, Constable

public enum SyWindowDecorationComponent extends Enum<SyWindowDecorationComponent>
Enumerations identifying the components that can be attached directly to a window.
  • Enum Constant Details

  • Method Details

    • values

      public static SyWindowDecorationComponent[] 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 SyWindowDecorationComponent 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
    • isDecoration

      public boolean isDecoration()
      Some window components are decorations. Decorations are made invisible when windows are set to undecorated mode.
      Returns:
      true if the component is a "decoration"