Enum Class Positions

java.lang.Object
java.lang.Enum<Positions>
ch.swingfx.twinkle.window.Positions
All Implemented Interfaces:
IPosition, Serializable, Comparable<Positions>, Constable

public enum Positions extends Enum<Positions> implements IPosition
This enum has some default positions that can be used by NotificationBuilder.withPosition()
  • Enum Constant Details

    • NORTH_EAST

      public static final Positions NORTH_EAST
    • NORTH_WEST

      public static final Positions NORTH_WEST
    • NORTH

      public static final Positions NORTH
    • SOUTH_EAST

      public static final Positions SOUTH_EAST
    • SOUTH_WEST

      public static final Positions SOUTH_WEST
    • SOUTH

      public static final Positions SOUTH
    • WEST

      public static final Positions WEST
    • EAST

      public static final Positions EAST
    • CENTER

      public static final Positions CENTER
  • Constructor Details

    • Positions

      private Positions()
  • Method Details

    • values

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