001    package com.osbcp.css.constants;
002    
003    import java.io.Serializable;
004    
005    /**
006     * Values for the <i>list-style-position</i> property.
007     * 
008     * @see <a href="http://www.w3schools.com/cssref/pr_list-style-position.asp">CSS list-style-position Property</a>
009     * @author <a href="mailto:christoffer@christoffer.me">Christoffer Pettersson</a>
010     */
011    
012    public enum ListStylePosition implements Serializable {
013    
014            /**
015             *Indents the marker and the text. The bullets appear inside the content flow.
016             */
017            INSIDE,
018    
019            /**
020             * Keeps the marker to the left of the text. The bullets appears outside the content flow. This is default.
021             */
022            OUTSIDE,
023    
024            /**
025             * Specifies that the value of the list-style-position property should be inherited from the parent element.
026             */
027            INHERIT;
028    
029            @Override
030            public String toString() {
031                    return name().toLowerCase().replace("_", "-");
032            }
033    
034    }