|
aXSL API 0.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Font.Stretch>
org.axsl.font.Font.Stretch
public static enum Font.Stretch
Enumeration of constants needed to describe the "stretch" value of a font.
Enum Constant Summary | |
---|---|
ANY
Font-stretch constant indicating no preference. |
|
CONDENSED
Font-stretch constant indicating condensed. |
|
EXPANDED
Font-stretch constant indicating expanded. |
|
EXTRA_CONDENSED
Font-stretch constant indicating extra-condensed. |
|
EXTRA_EXPANDED
Font-stretch constant indicating extra-expanded. |
|
NORMAL
Font-stretch constant indicating normal. |
|
SEMI_CONDENSED
Font-stretch constant indicating semi-condensed. |
|
SEMI_EXPANDED
Font-stretch constant indicating semi-expanded. |
|
ULTRA_CONDENSED
Font-stretch constant indicating ultra-condensed. |
|
ULTRA_EXPANDED
Font-stretch constant indicating ultra-expanded. |
Method Summary | |
---|---|
byte |
getNumericStretch()
Returns the numeric stretch value, or the relative stretch between different instances of this class. |
static Font.Stretch |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Font.Stretch[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Font.Stretch ANY
public static final Font.Stretch ULTRA_CONDENSED
public static final Font.Stretch EXTRA_CONDENSED
public static final Font.Stretch CONDENSED
public static final Font.Stretch SEMI_CONDENSED
public static final Font.Stretch NORMAL
public static final Font.Stretch SEMI_EXPANDED
public static final Font.Stretch EXPANDED
public static final Font.Stretch EXTRA_EXPANDED
public static final Font.Stretch ULTRA_EXPANDED
Method Detail |
---|
public static final Font.Stretch[] values()
for(Font.Stretch c : Font.Stretch.values()) System.out.println(c);
public static Font.Stretch valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic byte getNumericStretch()
Byte.MIN_VALUE
for invalid values.
|
aXSL API 0.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
This documentation was created August 8 2007 by The aXSL Group and may be freely copied. See license for details.