jxl.write
Class NumberFormat

java.lang.Object
  extended by jxl.biff.RecordData
      extended by jxl.biff.WritableRecordData
          extended by jxl.biff.FormatRecord
              extended by jxl.write.biff.NumberFormatRecord
                  extended by jxl.write.NumberFormat
All Implemented Interfaces:
jxl.biff.ByteData, jxl.biff.DisplayFormat, Format

public class NumberFormat
extends jxl.write.biff.NumberFormatRecord
implements jxl.biff.DisplayFormat

A custom user defined number format, which may be instantiated within user applications in order to present numerical values to the appropriate level of accuracy. The string format used to create a number format adheres to the standard java specification, and JExcelAPI makes the necessary modifications so that it is rendered in Excel as the nearest possible equivalent. Once created, this may be used within a CellFormat object, which in turn is a parameter passed to the constructor of the Number cell


Field Summary
 
Fields inherited from class jxl.biff.FormatRecord
biff7, biff8
 
Constructor Summary
NumberFormat(java.lang.String format)
          Constructor, taking in the Java compliant number format
 
Method Summary
 
Methods inherited from class jxl.biff.FormatRecord
equals, getData, getDateFormat, getFormatIndex, getFormatString, getIndexCode, getNumberFormat, hashCode, initialize, isBuiltIn, isDate, isInitialized, isNumber
 
Methods inherited from class jxl.biff.WritableRecordData
getBytes
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jxl.biff.DisplayFormat
getFormatIndex, initialize, isBuiltIn, isInitialized
 

Constructor Detail

NumberFormat

public NumberFormat(java.lang.String format)
Constructor, taking in the Java compliant number format

Parameters:
format - the format string