Class BorderStyle

  • All Implemented Interfaces:
    java.io.Serializable

    public final class BorderStyle
    extends TraitEnum
    Enumeration class for border styles.
    See Also:
    Serialized Form
    • Field Detail

      • BORDER_STYLE_NAMES

        private static final java.lang.String[] BORDER_STYLE_NAMES
      • BORDER_STYLE_VALUES

        private static final int[] BORDER_STYLE_VALUES
      • NONE

        public static final BorderStyle NONE
        border-style: none
      • HIDDEN

        public static final BorderStyle HIDDEN
        border-style: hidden
      • DOTTED

        public static final BorderStyle DOTTED
        border-style: dotted
      • DASHED

        public static final BorderStyle DASHED
        border-style: dashed
      • SOLID

        public static final BorderStyle SOLID
        border-style: solid
      • DOUBLE

        public static final BorderStyle DOUBLE
        border-style: double
      • GROOVE

        public static final BorderStyle GROOVE
        border-style: groove
      • RIDGE

        public static final BorderStyle RIDGE
        border-style: ridge
      • INSET

        public static final BorderStyle INSET
        border-style: inset
      • OUTSET

        public static final BorderStyle OUTSET
        border-style: outset
    • Constructor Detail

      • BorderStyle

        private BorderStyle​(int index)
    • Method Detail

      • valueOf

        public static BorderStyle valueOf​(java.lang.String name)
        Returns the enumeration/singleton object based on its name.
        Parameters:
        name - the name of the enumeration value
        Returns:
        the enumeration object
      • valueOf

        public static BorderStyle valueOf​(int enumValue)
        Returns the enumeration/singleton object based on its name.
        Parameters:
        enumValue - the enumeration value
        Returns:
        the enumeration object
      • readResolve

        private java.lang.Object readResolve()
                                      throws java.io.ObjectStreamException
        Throws:
        java.io.ObjectStreamException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object