001    package com.osbcp.css.constants;
002    
003    import java.io.Serializable;
004    
005    /**
006     * Values for the <i>outline-style</i> property.
007     * 
008     * @see <a href="http://www.w3schools.com/cssref/pr_outline-style.asp">CSS outline-style Property</a>
009     * @author <a href="mailto:christoffer@christoffer.me">Christoffer Pettersson</a>
010     */
011    
012    public enum OutlineStyle implements Serializable {
013    
014            /**
015             * Specifies no outline.
016             */
017            NONE,
018    
019            /**
020             * Specifies a dotted outline.
021             */
022            DOTTED,
023    
024            /**
025             * Specifies a dashed outline.
026             */
027            DASHED,
028    
029            /**
030             * Specifies a solid outline.
031             */
032            SOLID,
033    
034            /**
035             * Specifies a double outliner.
036             */
037            DOUBLE,
038    
039            /**
040             * Specifies a 3D grooved outline. The effect depends on the outline-color value.
041             */
042            GROOVE,
043    
044            /**
045             * Specifies a 3D ridged outline. The effect depends on the outline-color value.
046             */
047            RIDGE,
048    
049            /**
050             * Specifies a 3D inset outline. The effect depends on the outline-color value.
051             */
052            INSET,
053    
054            /**
055             * Specifies a 3D outset outline. The effect depends on the outline-color value.
056             */
057            OUTSET,
058    
059            /**
060             * Specifies that the outline style should be inherited from the parent element.
061             */
062            INHERIT;
063    
064            @Override
065            public String toString() {
066                    return name().toLowerCase().replace("_", "-");
067            }
068    
069    }