com.osbcp.css.constants
Enum BorderStyle

java.lang.Object
  extended by java.lang.Enum<BorderStyle>
      extended by com.osbcp.css.constants.BorderStyle
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BorderStyle>

public enum BorderStyle
extends java.lang.Enum<BorderStyle>
implements java.io.Serializable

Values for the border-style property.

Author:
Christoffer Pettersson
See Also:
CSS border-style Property

Enum Constant Summary
DASHED
          Specifies a dashed border.
DOTTED
          Specifies a dotted border.
DOUBLE
          Specifies a double border.
GROOVE
          Specifies a 3D grooved border.
HIDDEN
          The same as "none", except in border conflict resolution for table elements.
INHERT
          Specifies that the border style should be inherited from the parent element.
INSET
          Specifies a 3D inset border.
NONE
          Specifies no border.
OUTSET
          Specifies a 3D outset border.
RIDGE
          Specifies a 3D ridged border.
SOLID
          Specifies a solid border.
 
Method Summary
 java.lang.String toString()
           
static BorderStyle valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static BorderStyle[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NONE

public static final BorderStyle NONE
Specifies no border.


HIDDEN

public static final BorderStyle HIDDEN
The same as "none", except in border conflict resolution for table elements.


DOTTED

public static final BorderStyle DOTTED
Specifies a dotted border.


DASHED

public static final BorderStyle DASHED
Specifies a dashed border.


SOLID

public static final BorderStyle SOLID
Specifies a solid border.


DOUBLE

public static final BorderStyle DOUBLE
Specifies a double border.


GROOVE

public static final BorderStyle GROOVE
Specifies a 3D grooved border. The effect depends on the border-color value.


RIDGE

public static final BorderStyle RIDGE
Specifies a 3D ridged border. The effect depends on the border-color value.


INSET

public static final BorderStyle INSET
Specifies a 3D inset border. The effect depends on the border-color value.


OUTSET

public static final BorderStyle OUTSET
Specifies a 3D outset border. The effect depends on the border-color value.


INHERT

public static final BorderStyle INHERT
Specifies that the border style should be inherited from the parent element.

Method Detail

values

public static BorderStyle[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (BorderStyle c : BorderStyle.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static BorderStyle 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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<BorderStyle>