Enum Class ComponentPositionPreference

java.lang.Object
java.lang.Enum<ComponentPositionPreference>
io.github.astrapi69.awt.screen.position.ComponentPositionPreference
All Implemented Interfaces:
Serializable, Comparable<ComponentPositionPreference>, Constable

public enum ComponentPositionPreference extends Enum<ComponentPositionPreference>
The enum ComponentPositionPreference holds the key suffixes that will be saved in the preferences and the default with and height
  • Enum Constant Details

  • Field Details

    • DEFAULT_WIDTH

      public static final int DEFAULT_WIDTH
      The constant for the default width
      See Also:
    • DEFAULT_HEIGHT

      public static final int DEFAULT_HEIGHT
      The constant for the default height
      See Also:
  • Method Details

    • values

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