com.osbcp.css.constants
Enum OutlineStyle

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

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

Values for the outline-style property.

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

Enum Constant Summary
DASHED
          Specifies a dashed outline.
DOTTED
          Specifies a dotted outline.
DOUBLE
          Specifies a double outliner.
GROOVE
          Specifies a 3D grooved outline.
INHERIT
          Specifies that the outline style should be inherited from the parent element.
INSET
          Specifies a 3D inset outline.
NONE
          Specifies no outline.
OUTSET
          Specifies a 3D outset outline.
RIDGE
          Specifies a 3D ridged outline.
SOLID
          Specifies a solid outline.
 
Method Summary
 java.lang.String toString()
           
static OutlineStyle valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OutlineStyle[] 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 OutlineStyle NONE
Specifies no outline.


DOTTED

public static final OutlineStyle DOTTED
Specifies a dotted outline.


DASHED

public static final OutlineStyle DASHED
Specifies a dashed outline.


SOLID

public static final OutlineStyle SOLID
Specifies a solid outline.


DOUBLE

public static final OutlineStyle DOUBLE
Specifies a double outliner.


GROOVE

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


RIDGE

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


INSET

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


OUTSET

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


INHERIT

public static final OutlineStyle INHERIT
Specifies that the outline style should be inherited from the parent element.

Method Detail

values

public static OutlineStyle[] 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 (OutlineStyle c : OutlineStyle.values())
    System.out.println(c);

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

valueOf

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