Package swingtree

Enum Class UI.Edge

All Implemented Interfaces:
Serializable, Comparable<UI.Edge>, Constable, UIEnum<UI.Edge>
Enclosing class:
UI

@Immutable public static enum UI.Edge extends Enum<UI.Edge> implements UIEnum<UI.Edge>
Use this to target specific edges of a JComponent and apply custom StyleConf properties to them.
See ComponentStyleDelegate.borderWidthAt(Edge, double)
  • Enum Constant Details

    • EVERY

      public static final UI.Edge EVERY
    • TOP

      public static final UI.Edge TOP
    • BOTTOM

      public static final UI.Edge BOTTOM
    • LEFT

      public static final UI.Edge LEFT
  • Method Details

    • values

      public static UI.Edge[] 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 UI.Edge 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