001    package com.osbcp.css.constants;
002    
003    import java.io.Serializable;
004    
005    /**
006     * Values for the <i>font-weight</i> property.
007     * 
008     * @see <a href="http://www.w3schools.com/cssref/pr_font_weight.asp">CSS font-weight Property</a>
009     * @author <a href="mailto:christoffer@christoffer.me">Christoffer Pettersson</a>
010     */
011    
012    public enum FontWeight implements Serializable {
013    
014            /**
015             * Defines normal characters. This is default.
016             */
017            NORMAL,
018    
019            /**
020             * Defines thick characters.
021             */
022            BOLD,
023    
024            /**
025             * Defines thicker characters.
026             */
027            BOLDER,
028    
029            /**
030             *      Defines lighter characters.
031             */
032            LIGHTER,
033    
034            /**
035             * Defines from thin to thick characters. 400 is the same as normal, and 700 is the same as bold.
036             */
037            W100,
038    
039            /**
040             * Defines from thin to thick characters. 400 is the same as normal, and 700 is the same as bold.
041             */
042            W200,
043    
044            /**
045             * Defines from thin to thick characters. 400 is the same as normal, and 700 is the same as bold.
046             */
047            W300,
048    
049            /**
050             * Defines from thin to thick characters. 400 is the same as normal, and 700 is the same as bold.
051             */
052            W400,
053    
054            /**
055             * 
056             */
057            W500,
058    
059            /**
060             * Defines from thin to thick characters. 400 is the same as normal, and 700 is the same as bold.
061             */
062            W600,
063    
064            /**
065             * Defines from thin to thick characters. 400 is the same as normal, and 700 is the same as bold.
066             */
067            W700,
068    
069            /**
070             * Defines from thin to thick characters. 400 is the same as normal, and 700 is the same as bold.
071             */
072            W800,
073    
074            /**
075             * Defines from thin to thick characters. 400 is the same as normal, and 700 is the same as bold.
076             */
077            W900;
078    
079            @Override
080            public String toString() {
081                    return name().toLowerCase();
082            }
083    
084    }