jxl.biff
Interface DisplayFormat

All Known Implementing Classes:
BuiltInFormat, FormatRecord, NumberFormats.BuiltInFormat, DateFormat, DateFormats.BuiltInFormat, NumberFormat

public interface DisplayFormat

The interface implemented by the various number and date format styles. The methods on this interface are called internally when generating a spreadsheet


Method Summary
 int getFormatIndex()
          Accessor for the index style of this format
 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
 

Method Detail

getFormatIndex

public int getFormatIndex()
Accessor for the index style of this format
Returns:
the index for this format

isInitialized

public boolean isInitialized()
Accessor to see whether this format has been initialized
Returns:
TRUE if initialized, FALSE otherwise

initialize

public void initialize(int pos)
Initializes this format with the specified index number
Parameters:
pos - the position of this format record in the workbook

isBuiltIn

public boolean isBuiltIn()
Accessor to determine whether or not this format is built in
Returns:
TRUE if this format is a built in format, FALSE otherwise