public enum FontStyle extends Enum<FontStyle> implements AdditiveStyle
| Enum Constant and Description |
|---|
BOLD |
BOLD_RIGHT |
COLUMN_HEADER |
COLUMN_HEADER_RIGHT |
ITALIC |
NORMAL |
NORMAL_RIGHT |
PRIMARY_HEADER |
SECONDARY_HEADER |
SECTION_HEADER |
SECTION_HEADER_RIGHT |
| Modifier and Type | Method and Description |
|---|---|
void |
enrich(org.apache.poi.hssf.usermodel.HSSFWorkbook workbook,
org.apache.poi.hssf.usermodel.HSSFCellStyle style) |
Enum<StyleType> |
getType() |
static FontStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FontStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FontStyle NORMAL
public static final FontStyle ITALIC
public static final FontStyle NORMAL_RIGHT
public static final FontStyle BOLD
public static final FontStyle BOLD_RIGHT
public static final FontStyle COLUMN_HEADER
public static final FontStyle COLUMN_HEADER_RIGHT
public static final FontStyle SECTION_HEADER
public static final FontStyle SECTION_HEADER_RIGHT
public static final FontStyle PRIMARY_HEADER
public static final FontStyle SECONDARY_HEADER
public static FontStyle[] values()
for (FontStyle c : FontStyle.values()) System.out.println(c);
public static FontStyle valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic void enrich(org.apache.poi.hssf.usermodel.HSSFWorkbook workbook,
org.apache.poi.hssf.usermodel.HSSFCellStyle style)
public Enum<StyleType> getType()
getType in interface AdditiveStyleCopyright © 2014. All rights reserved.