@Removal(version="6.0.0") @Deprecated public enum FontCharset extends java.lang.Enum<FontCharset>
Enum Constant and Description |
---|
ANSI
Deprecated.
|
ARABIC
Deprecated.
|
BALTIC
Deprecated.
|
CHINESEBIG5
Deprecated.
|
DEFAULT
Deprecated.
|
EASTEUROPE
Deprecated.
|
GB2312
Deprecated.
|
GREEK
Deprecated.
|
HANGEUL
Deprecated.
|
HEBREW
Deprecated.
|
JOHAB
Deprecated.
|
MAC
Deprecated.
|
OEM
Deprecated.
|
RUSSIAN
Deprecated.
|
SHIFTJIS
Deprecated.
|
SYMBOL
Deprecated.
|
THAI
Deprecated.
|
TURKISH
Deprecated.
|
VIETNAMESE
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Deprecated.
(已弃用。)
Returns value of this charset
|
static FontCharset |
valueOf(int value)
Deprecated.
(已弃用。)
|
static FontCharset |
valueOf(java.lang.String name)
Deprecated.
(已弃用。)
Returns the enum constant of this type with the specified name.
|
static FontCharset[] |
values()
Deprecated.
(已弃用。)
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 HANGEUL
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);(按照声明的顺序返回包含此枚举类型常量的数组。此方法可用于迭代常量,如下所示: 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.
(name - 要返回的枚举常量的名称。)
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified name
(java.lang.IllegalArgumentException - 如果此枚举类型没有具有指定名称的常量)
java.lang.NullPointerException
- if the argument is null
(java.lang.NullPointerException - 如果参数为空)
public int getValue()
public static FontCharset valueOf(int value)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.