Package com.oorian.css
Enum Class ListStyleType
- All Implemented Interfaces:
Serializable,Comparable<ListStyleType>,Constable
CSS list-style-type property values for list marker appearance.
The list-style-type property specifies the type of list marker (bullet, number, or letter) used for list items. Different marker types are available for various cultural and stylistic needs.
Marker Categories:
- Bullets: DISC, CIRCLE, SQUARE
- Numbers: DECIMAL, DECIMAL_LEADING_ZERO
- Alphabetic: LOWER_ALPHA, UPPER_ALPHA, LOWER_LATIN, UPPER_LATIN
- Roman numerals: LOWER_ROMAN, UPPER_ROMAN
- International: ARMENIAN, GEORGIAN, HEBREW, HIRAGANA, KATAKANA, CJK_IDEOGRAPHIC
Usage:
list.setListStyleType(ListStyleType.DISC);
list.setListStyleType(ListStyleType.DECIMAL);
- Since:
- 2012
- Version:
- 1.0
- Author:
- Marvin P. Warble Jr.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionArmenian numbering.Hollow circle bullet.CJK ideographic numbering.Decimal numbers (1, 2, 3...).Decimal with leading zeros (01, 02, 03...).Filled circle bullet (default for ul).Georgian numbering.Hebrew numbering.Japanese hiragana numbering.Japanese hiragana-iroha numbering.Inherits from parent element.Japanese katakana numbering.Japanese katakana-iroha numbering.Lowercase letters (a, b, c...).Lowercase Greek letters.Lowercase Latin letters (a, b, c...).Lowercase Roman numerals (i, ii, iii...).No marker displayed.Filled square bullet.Uppercase letters (A, B, C...).Uppercase Greek letters.Uppercase Latin letters (A, B, C...).Uppercase Roman numerals (I, II, III...). -
Method Summary
Modifier and TypeMethodDescriptiongetValue()Returns the CSS value string.toString()Returns the CSS value string.static ListStyleTypeReturns the enum constant of this class with the specified name.static ListStyleType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ARMENIAN
Armenian numbering. -
CIRCLE
Hollow circle bullet. -
CJK_IDEOGRAPHIC
CJK ideographic numbering. -
DECIMAL
Decimal numbers (1, 2, 3...). -
DECIMAL_LEADING_ZERO
Decimal with leading zeros (01, 02, 03...). -
DISC
Filled circle bullet (default for ul). -
GEORGIAN
Georgian numbering. -
HEBREW
Hebrew numbering. -
HIRAGANA
Japanese hiragana numbering. -
HIRAGANA_IROHA
Japanese hiragana-iroha numbering. -
KATAKANA
Japanese katakana numbering. -
KATAKANA_IROHA
Japanese katakana-iroha numbering. -
LOWER_ALPHA
Lowercase letters (a, b, c...). -
LOWER_GREEK
Lowercase Greek letters. -
LOWER_LATIN
Lowercase Latin letters (a, b, c...). -
LOWER_ROMAN
Lowercase Roman numerals (i, ii, iii...). -
NONE
No marker displayed. -
SQUARE
Filled square bullet. -
UPPER_ALPHA
Uppercase letters (A, B, C...). -
UPPER_GREEK
Uppercase Greek letters. -
UPPER_LATIN
Uppercase Latin letters (A, B, C...). -
UPPER_ROMAN
Uppercase Roman numerals (I, II, III...). -
INHERIT
Inherits from parent element.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
Returns the CSS value string.- Returns:
- the CSS value
-
toString
Returns the CSS value string.- Overrides:
toStringin classEnum<ListStyleType>- Returns:
- the CSS value
-