public enum DataStyle extends Enum<DataStyle> implements AdditiveStyle
| Enum Constant and Description |
|---|
AMOUNT |
DATE |
DATE_NUMERIC |
INTEGER |
PERCENTAGE |
| 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 DataStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataStyle INTEGER
public static final DataStyle AMOUNT
public static final DataStyle PERCENTAGE
public static final DataStyle DATE
public static final DataStyle DATE_NUMERIC
public static DataStyle[] values()
for (DataStyle c : DataStyle.values()) System.out.println(c);
public static DataStyle 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.