public enum FontCharset extends java.lang.Enum<FontCharset>
Charsets
represent the built-in type charset names that
correspond with Excel's charset scheme. These are used in conjunction with
the charset property in the style tag.
StyleTag
,
StyleParser.PROPERTY_FONT_CHARSET
Enum Constant | Description |
---|---|
ANSI |
|
ARABIC |
|
BALTIC |
|
CHINESEBIG5 |
|
DEFAULT |
|
EASTEUROPE |
|
GB2312 |
|
GREEK |
|
HANGEUL |
|
HEBREW |
|
JOHAB |
|
MAC |
|
OEM |
|
RUSSIAN |
|
SHIFTJIS |
|
SYMBOL |
|
THAI |
|
TURKISH |
|
VIETNAMESE |
Modifier and Type | Method | Description |
---|---|---|
int |
getIndex() |
Returns the index.
|
java.lang.String |
toString() |
Returns the name, in all lowercase, no underscores or spaces.
|
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 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);
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 int getIndex()
public java.lang.String toString()
toString
in class java.lang.Enum<FontCharset>
Copyright © 2012–2018 Jett Team. All rights reserved.