|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jxl.biff.BuiltInFormat
The excel string for the various built in formats. Used to present the cell format information back to the user The difference between this class and the various format object contained in the jxl.write package is that this object contains the Excel strings, not their java equivalents
Field Summary | |
static BuiltInFormat[] |
builtIns
The list of built in formats |
private int |
formatIndex
The index |
private java.lang.String |
formatString
The excel format string |
Constructor Summary | |
private |
BuiltInFormat(java.lang.String s,
int i)
Constructor |
Method Summary | |
(package private) static void |
|
int |
getFormatIndex()
Accessor for the index style of this format |
java.lang.String |
getFormatString()
Accesses the excel format string which is applied to the cell Note that this is the string that excel uses, and not the java equivalent |
void |
initialize(int pos)
Initializes this format with the specified index number |
boolean |
isBuiltIn()
Accessor to determine whether or not this format is built in |
boolean |
isInitialized()
Accessor to see whether this format has been initialized |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
Field Detail |
private java.lang.String formatString
private int formatIndex
public static BuiltInFormat[] builtIns
Constructor Detail |
private BuiltInFormat(java.lang.String s, int i)
s
- the format stringMethod Detail |
public java.lang.String getFormatString()
getFormatString
in interface Format
public int getFormatIndex()
getFormatIndex
in interface DisplayFormat
public boolean isInitialized()
isInitialized
in interface DisplayFormat
public void initialize(int pos)
initialize
in interface DisplayFormat
pos
- the position of this format record in the workbookpublic boolean isBuiltIn()
isBuiltIn
in interface DisplayFormat
static void()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |