net.sf.cssbean
Enum FontStretch
java.lang.Object
java.lang.Enum<FontStretch>
net.sf.cssbean.FontStretch
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<FontStretch>, Value
public enum FontStretch
- extends java.lang.Enum<FontStretch>
- implements Value
Method Summary |
java.lang.String |
getValue()
|
static FontStretch |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static FontStretch[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
NORMAL
public static final FontStretch NORMAL
WIDER
public static final FontStretch WIDER
NARROWER
public static final FontStretch NARROWER
ULTRA_CONDENSED
public static final FontStretch ULTRA_CONDENSED
EXTRA_CONDENSED
public static final FontStretch EXTRA_CONDENSED
CONDENSED
public static final FontStretch CONDENSED
SEMI_CONDENSED
public static final FontStretch SEMI_CONDENSED
SEMI_EXPANDED
public static final FontStretch SEMI_EXPANDED
EXPANDED
public static final FontStretch EXPANDED
EXTRA_EXPANDED
public static final FontStretch EXTRA_EXPANDED
ULTRA_EXPANDED
public static final FontStretch ULTRA_EXPANDED
values
public static final FontStretch[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(FontStretch c : FontStretch.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static FontStretch valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
getValue
public java.lang.String getValue()
- Specified by:
getValue
in interface Value
Copyright © 2005 Mike Heath. All Rights Reserved.