|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Language>
com.flagstone.transform.text.Language
public enum Language
Language is used to identify the spoken language for text (not the character encoding). It is primarily used to select the line-breaking rules when wrapping text in dynamic text fields.
Enum Constant Summary | |
---|---|
JAPANESE
The spoken language for Korean fonts. |
|
KOREAN
The spoken language for Japanese fonts. |
|
LATIN
The spoken language for Latin fonts. |
|
NONE
The spoken language will be defined by the Flash Player. |
|
SIMPLIFIED_CHINESE
The spoken language for simplified Chinese fonts. |
|
TRADITIONAL_CHINESE
The spoken language for traditional Chinese fonts. |
Method Summary | |
---|---|
static Language |
fromInt(int code)
Get the Language for an encoded value. |
int |
getValue()
Get the value that will be encoded to represent the Language. |
static Language |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Language[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, 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 Language NONE
public static final Language TRADITIONAL_CHINESE
public static final Language SIMPLIFIED_CHINESE
public static final Language KOREAN
public static final Language JAPANESE
public static final Language LATIN
Method Detail |
---|
public static Language[] values()
for (Language c : Language.values()) System.out.println(c);
public static Language valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static Language fromInt(int code)
code
- the encoded value representing a spoken language.
public int getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |