001    package com.osbcp.css.constants;
002    
003    import java.io.Serializable;
004    
005    /**
006     * Values for the <i>list-style-type</i> property.
007     * 
008     * @see <a href="http://www.w3schools.com/cssref/pr_list-style-type.asp">CSS list-style-type Property</a>
009     * @author <a href="mailto:christoffer@christoffer.me">Christoffer Pettersson</a>
010     */
011    
012    public enum ListStyleType implements Serializable {
013    
014            /**
015             * The marker is traditional Armenian numbering.
016             */
017            ARMENIAN,
018    
019            /**
020             * The marker is a circle.
021             */
022            CIRCLE,
023    
024            /**
025             * The marker is plain ideographic numbers.
026             */
027            CJK_IDEOGRAPHIC,
028    
029            /**
030             * The marker is a number. This is default for &lt;ol&gt;.
031             */
032            DECIMAL,
033    
034            /**
035             * The marker is a number with leading zeros (01, 02, 03, etc.).
036             */
037            DECIMAL_LEADING_ZERO,
038    
039            /**
040             * The marker is a filled circle. This is default for &lt;ul&gt;.
041             */
042            DISC,
043    
044            /**
045             * The marker is traditional Georgian numbering.
046             */
047            GEORGIAN,
048    
049            /**
050             * The marker is traditional Hebrew numbering.
051             */
052            HEBREW,
053    
054            /**
055             * The marker is traditional Hiragana numbering.
056             */
057            HIRAGANA,
058    
059            /**
060             * The marker is traditional Hiragana iroha numbering.
061             */
062            HIRAGANA_IROHA,
063    
064            /**
065             * The value of the listStyleType property is inherited from parent element.
066             */
067            INHERIT,
068    
069            /**
070             * The marker is traditional Katakana numbering.
071             */
072            KATAKANA,
073    
074            /**
075             * The marker is traditional Katakana iroha numbering.
076             */
077            KATAKANA_IROHA,
078    
079            /**
080             * The marker is lower-alpha (a, b, c, d, e, etc.).
081             */
082            LOWER_ALPHA,
083    
084            /**
085             * The marker is lower-greek.
086             */
087            LOWER_GREEK,
088    
089            /**
090             * The marker is lower-latin (a, b, c, d, e, etc.).
091             */
092            LOWER_LATIN,
093    
094            /**
095             * The marker is lower-roman (i, ii, iii, iv, v, etc.).
096             */
097            LOWER_ROMAN,
098    
099            /**
100             * No marker is shown.
101             */
102            NONE,
103    
104            /**
105             * The marker is a square.
106             */
107            SQUARE,
108    
109            /**
110             * The marker is upper-alpha (A, B, C, D, E, etc.).
111             */
112            UPPER_ALPHA,
113    
114            /**
115             * The marker is upper-latin (A, B, C, D, E, etc.).
116             */
117            UPPER_LATIN,
118    
119            /**
120             * The marker is upper-roman (I, II, III, IV, V, etc.).
121             */
122            UPPER_ROMAN;
123    
124            @Override
125            public String toString() {
126                    return name().toLowerCase().replace("_", "-");
127            }
128    
129    }