Enum Class BorderStyle

All Implemented Interfaces:
Serializable, Comparable<BorderStyle>, Constable

public enum BorderStyle extends Enum<BorderStyle>
Enumeration for border style.
  • Enum Constant Details

    • None

      public static final BorderStyle None
      No border (width ignored), default.
    • Hidden

      public static final BorderStyle Hidden
      Invisible border (of specified width).
    • Dotted

      public static final BorderStyle Dotted
      Dotted border.
    • Dashed

      public static final BorderStyle Dashed
      Dashed border.
    • Solid

      public static final BorderStyle Solid
      Solid border.
    • Double

      public static final BorderStyle Double
      Double lined border.
    • Groove

      public static final BorderStyle Groove
      Relief border grooved into the canvas.
    • Ridge

      public static final BorderStyle Ridge
      Relief border coming out of the canvas.
    • Inset

      public static final BorderStyle Inset
      Relief border lowering contents into the canvas.
    • Outset

      public static final BorderStyle Outset
      Relief border letting contents come out of the canvas.
  • Method Details

    • values

      public static BorderStyle[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BorderStyle 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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
      Returns the numerical representation of this enum.