com.osbcp.css.constants
Enum ListStyleType

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

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

Values for the list-style-type property.

Author:
Christoffer Pettersson
See Also:
CSS list-style-type Property

Enum Constant Summary
ARMENIAN
          The marker is traditional Armenian numbering.
CIRCLE
          The marker is a circle.
CJK_IDEOGRAPHIC
          The marker is plain ideographic numbers.
DECIMAL
          The marker is a number.
DECIMAL_LEADING_ZERO
          The marker is a number with leading zeros (01, 02, 03, etc.).
DISC
          The marker is a filled circle.
GEORGIAN
          The marker is traditional Georgian numbering.
HEBREW
          The marker is traditional Hebrew numbering.
HIRAGANA
          The marker is traditional Hiragana numbering.
HIRAGANA_IROHA
          The marker is traditional Hiragana iroha numbering.
INHERIT
          The value of the listStyleType property is inherited from parent element.
KATAKANA
          The marker is traditional Katakana numbering.
KATAKANA_IROHA
          The marker is traditional Katakana iroha numbering.
LOWER_ALPHA
          The marker is lower-alpha (a, b, c, d, e, etc.).
LOWER_GREEK
          The marker is lower-greek.
LOWER_LATIN
          The marker is lower-latin (a, b, c, d, e, etc.).
LOWER_ROMAN
          The marker is lower-roman (i, ii, iii, iv, v, etc.).
NONE
          No marker is shown.
SQUARE
          The marker is a square.
UPPER_ALPHA
          The marker is upper-alpha (A, B, C, D, E, etc.).
UPPER_LATIN
          The marker is upper-latin (A, B, C, D, E, etc.).
UPPER_ROMAN
          The marker is upper-roman (I, II, III, IV, V, etc.).
 
Method Summary
 java.lang.String toString()
           
static ListStyleType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ListStyleType[] 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

ARMENIAN

public static final ListStyleType ARMENIAN
The marker is traditional Armenian numbering.


CIRCLE

public static final ListStyleType CIRCLE
The marker is a circle.


CJK_IDEOGRAPHIC

public static final ListStyleType CJK_IDEOGRAPHIC
The marker is plain ideographic numbers.


DECIMAL

public static final ListStyleType DECIMAL
The marker is a number. This is default for <ol>.


DECIMAL_LEADING_ZERO

public static final ListStyleType DECIMAL_LEADING_ZERO
The marker is a number with leading zeros (01, 02, 03, etc.).


DISC

public static final ListStyleType DISC
The marker is a filled circle. This is default for <ul>.


GEORGIAN

public static final ListStyleType GEORGIAN
The marker is traditional Georgian numbering.


HEBREW

public static final ListStyleType HEBREW
The marker is traditional Hebrew numbering.


HIRAGANA

public static final ListStyleType HIRAGANA
The marker is traditional Hiragana numbering.


HIRAGANA_IROHA

public static final ListStyleType HIRAGANA_IROHA
The marker is traditional Hiragana iroha numbering.


INHERIT

public static final ListStyleType INHERIT
The value of the listStyleType property is inherited from parent element.


KATAKANA

public static final ListStyleType KATAKANA
The marker is traditional Katakana numbering.


KATAKANA_IROHA

public static final ListStyleType KATAKANA_IROHA
The marker is traditional Katakana iroha numbering.


LOWER_ALPHA

public static final ListStyleType LOWER_ALPHA
The marker is lower-alpha (a, b, c, d, e, etc.).


LOWER_GREEK

public static final ListStyleType LOWER_GREEK
The marker is lower-greek.


LOWER_LATIN

public static final ListStyleType LOWER_LATIN
The marker is lower-latin (a, b, c, d, e, etc.).


LOWER_ROMAN

public static final ListStyleType LOWER_ROMAN
The marker is lower-roman (i, ii, iii, iv, v, etc.).


NONE

public static final ListStyleType NONE
No marker is shown.


SQUARE

public static final ListStyleType SQUARE
The marker is a square.


UPPER_ALPHA

public static final ListStyleType UPPER_ALPHA
The marker is upper-alpha (A, B, C, D, E, etc.).


UPPER_LATIN

public static final ListStyleType UPPER_LATIN
The marker is upper-latin (A, B, C, D, E, etc.).


UPPER_ROMAN

public static final ListStyleType UPPER_ROMAN
The marker is upper-roman (I, II, III, IV, V, etc.).

Method Detail

values

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

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

valueOf

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