View Javadoc
1   /*
2    * Copyright (c) 2005, Mike Heath
3    * All rights reserved.
4    * 
5    * Redistribution and use in source and binary forms, with or without modification, are permitted
6    * provided that the following conditions are met:
7    * 
8    *     * Redistributions of source code must retain the above copyright notice, this list of conditions
9    *       and the following disclaimer.
10   *     * Redistributions in binary form must reproduce the above copyright notice, this list of
11   *       conditions and the following disclaimer in the documentation and/or other materials provided
12   *       with the distribution.
13   *     * The names of its contributors may not be used to endorse or promote products derived from this
14   *       software without specific prior written permission.
15   * 
16   * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17   * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18   * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19   * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
20   * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21   * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22   * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23   * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24   * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25   * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26   * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27   */
28  package net.sf.cssbean;
29  
30  public enum FontStretch implements Value {
31  	NORMAL("normal"),
32  	WIDER("wider"),
33  	NARROWER("narrower"),
34  	ULTRA_CONDENSED("ultra-condensed"),
35  	EXTRA_CONDENSED("extra-condensed"),
36  	CONDENSED("condensed"),
37  	SEMI_CONDENSED("semi-condensed"),
38  	SEMI_EXPANDED("semi-expanded"),
39  	EXPANDED("expanded"),
40  	EXTRA_EXPANDED("extra-expanded"),
41  	ULTRA_EXPANDED("ultra-expanded");
42  	
43  	private final String value;
44  	
45  	private FontStretch(String value) {
46  		this.value = value;
47  	}
48  	
49  	public String getValue() {
50  		return value;
51  	}
52  	
53  }