public enum FontCharset extends java.lang.Enum<FontCharset>
Enum Constant and Description |
---|
ANSI
Specifies the English character set.
|
ARABIC
Specifies the Arabic character set.
|
BALTIC
Specifies the Baltic (Northeastern European) character set.
|
CHINESEBIG5
Specifies the "traditional" Chinese character set, used mostly in
Taiwan and in the Hong Kong and Macao Special Administrative Regions.
|
DEFAULT
Specifies a character set based on the current system locale;
for example, when the system locale is United States English,
the default character set is ANSI_CHARSET.
|
EASTEUROPE
Specifies a Eastern European character set.
|
GB2312
Specifies the "simplified" Chinese character set for People's Republic of China.
|
GREEK
Specifies the Greek character set.
|
HANGUL
Also spelled "Hangeul".
|
HEBREW
Specifies the Hebrew character set.
|
JOHAB
Also spelled "Johap".
|
MAC
Specifies the Apple Macintosh character set.
|
OEM
Specifies a mapping to one of the OEM code pages,
according to the current system locale setting.
|
RUSSIAN
Specifies the Russian Cyrillic character set.
|
SHIFTJIS
Specifies the Japanese character set.
|
SYMBOL
Specifies a character set of symbols.
|
THAI
Specifies the Thai character set.
|
TURKISH
Specifies the Turkish character set.
|
VIETNAMESE
Specifies the Vietnamese character set.
|
Modifier and Type | Method and Description |
---|---|
java.nio.charset.Charset |
getCharset() |
int |
getNativeId() |
static FontCharset |
valueOf(int value) |
static FontCharset |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FontCharset[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FontCharset ANSI
public static final FontCharset DEFAULT
public static final FontCharset SYMBOL
public static final FontCharset MAC
public static final FontCharset SHIFTJIS
public static final FontCharset HANGUL
public static final FontCharset JOHAB
public static final FontCharset GB2312
public static final FontCharset CHINESEBIG5
public static final FontCharset GREEK
public static final FontCharset TURKISH
public static final FontCharset VIETNAMESE
public static final FontCharset HEBREW
public static final FontCharset ARABIC
public static final FontCharset BALTIC
public static final FontCharset RUSSIAN
public static final FontCharset THAI
public static final FontCharset EASTEUROPE
public static final FontCharset OEM
public static FontCharset[] values()
for (FontCharset c : FontCharset.values()) System.out.println(c);
public static FontCharset 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 namejava.lang.NullPointerException
- if the argument is nullpublic java.nio.charset.Charset getCharset()
null
if there is no matching charset or
if the charset is a "default"public int getNativeId()
public static FontCharset valueOf(int value)
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.