com.antelmann.ooffice
Enum SpreadsheetFrame.CellFormat
java.lang.Object
java.lang.Enum<SpreadsheetFrame.CellFormat>
com.antelmann.ooffice.SpreadsheetFrame.CellFormat
- All Implemented Interfaces:
- Serializable, Comparable<SpreadsheetFrame.CellFormat>
- Enclosing class:
- SpreadsheetFrame
public static enum SpreadsheetFrame.CellFormat
- extends Enum<SpreadsheetFrame.CellFormat>
used to format a cell value
ALL
public static final SpreadsheetFrame.CellFormat ALL
CURRENCY
public static final SpreadsheetFrame.CellFormat CURRENCY
DATE
public static final SpreadsheetFrame.CellFormat DATE
DATETIME
public static final SpreadsheetFrame.CellFormat DATETIME
DEFINED
public static final SpreadsheetFrame.CellFormat DEFINED
FRACTION
public static final SpreadsheetFrame.CellFormat FRACTION
LOGICAL
public static final SpreadsheetFrame.CellFormat LOGICAL
NUMBER
public static final SpreadsheetFrame.CellFormat NUMBER
PERCENT
public static final SpreadsheetFrame.CellFormat PERCENT
SCIENTIFIC
public static final SpreadsheetFrame.CellFormat SCIENTIFIC
TEXT
public static final SpreadsheetFrame.CellFormat TEXT
TIME
public static final SpreadsheetFrame.CellFormat TIME
UNDEFINED
public static final SpreadsheetFrame.CellFormat UNDEFINED
values
public static final SpreadsheetFrame.CellFormat[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(SpreadsheetFrame.CellFormat c : SpreadsheetFrame.CellFormat.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static SpreadsheetFrame.CellFormat valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
(c) 2001-2006 Holger Antelmann - all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads