Enum WBorder.Style

java.lang.Object
java.lang.Enum<WBorder.Style>
eu.webtoolkit.jwt.WBorder.Style
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<WBorder.Style>, java.lang.constant.Constable
Enclosing class:
WBorder

public static enum WBorder.Style
extends java.lang.Enum<WBorder.Style>
Enumeration for border style.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant Description
    Dashed
    Dashed border.
    Dotted
    Dotted border.
    Double
    Double lined border.
    Groove
    Relief border grooved into the canvas.
    Hidden
    Invisible border (of specified width).
    Inset
    Relief border lowering contents into the canvas.
    None
    No border (width ignored), default.
    Outset
    Relief border letting contents come out of the canvas.
    Ridge
    Relief border coming out of the canvas.
    Solid
    Solid border.
  • Method Summary

    Modifier and Type Method Description
    int getValue()
    Returns the numerical representation of this enum.
    static WBorder.Style valueOf​(java.lang.String name)
    Returns the enum constant of this type with the specified name.
    static WBorder.Style[] values()
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • None

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

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

      public static final WBorder.Style Dotted
      Dotted border.
    • Dashed

      public static final WBorder.Style Dashed
      Dashed border.
    • Solid

      public static final WBorder.Style Solid
      Solid border.
    • Double

      public static final WBorder.Style Double
      Double lined border.
    • Groove

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

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

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

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

    • values

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

      public static WBorder.Style valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
      java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
      java.lang.NullPointerException - if the argument is null
    • getValue

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