jet.report.xls
Class BNumber

java.lang.Object
  extended by jet.report.xls.Biff
      extended by jet.report.xls.Blank
          extended by jet.report.xls.BNumber
All Implemented Interfaces:
jet.report.xls.DataConstants

public class BNumber
extends Blank

It is a number cell.


Field Summary
 
Fields inherited from class jet.report.xls.Biff
AI, AREA, AREAFORMAT, ATTACHEDLABEL, AXCEXT, AXESUSED, AXIS, AXISLINEFORMAT, AXISPARENT, BACKUP, BAR, BEGIN, BFONT, BLANK, BOF, BOOKBOOL, BOOLERR, BOPPOP, BOTTOMMARGIN, BOUNDSHEET, CALCCOUNT, CALCMODE, CATERRANGE, CHART, CHART3D, CHARTDATALABELEXT, CHARTFORMAT, CHARTLINE, CODEPAGE, COLINFO, CONTINUE, COUNTRY, DATAFORMAT, DATE1904, DBCELL, DCON, DCONNAME, DCONREF, DEFCOLWIDTH, DEFROWHEIGHT, DEFTEXT, DELTA, DIMENSIONS, DROPBAR, DSF, END, EOF, EXTERNCOUNT, EXTERNSHEET, EXTSST, FBI, FILEPASS, FNGROUPCOUNT, FONTX, FOOTER, FORMAT, FORMULA, FRAME, FTCF, FTCMO, FTEND, FTPIOGRBIT, GELFRAME, GRIDSET, GUTS, HCENTER, HEADER, HIDEOBJ, HLINK, HORIZONTALPAGEBREAKS, IFMT, INDEX, INTEGER, INTERFACEEND, INTERFACEHDR, ITERATION, LABEL, LABELSST, LEFTMARGIN, LEGEND, LEGENDDXN, LINE, LINEFORMAT, MARKERFORMAT, MERGECELLS, MMS, MSODRAWING, MSODRAWINGGROUP, MSODRAWINGSELECTION, MSODRAWINGUNKNOWN, NAME, NOTE, NUMBER, OBJ, OBJECTLINK, PALETTE, PANE, PASSWORD, PIE, PIEFORMAT, PLOTAREA, PLOTGROWTH, PLS, POS, PRECISION, PRINTGRIDLINES, PRINTHEADERS, PROT4REV, PROT4REVPASS, PROTECT, RADAR, RADARAREA, REFMODE, REFRESHALL, RIGHTMARGIN, RK, ROW, SAVERECALC, SCATTER, SCL, SELECTION, SERFORMAT, SERIES, SERIESTEXT, SERTOCRT, SETUP, SHTPROPS, SIINDEX, SST, STRING, STYLE, SUPBOOK, SURFACE, TABID, TABLE, TEXT, TICK, TIP, TOPMARGIN, UNITS, UNKNOWN, UNKNOWN1, UNKNOWN10, UNKNOWN2, UNKNOWN3, UNKNOWN4, UNKNOWN5, UNKNOWN6, UNKNOWN7, UNKNOWN8, UNKNOWN9, USESELFS, VALUERANGE, VCENTER, VERTICALPAGEBREAKS, WINDOW1, WINDOW2, WINDOWPROTECT, WRITEACCESS, WSBOOL, XF
 
Fields inherited from interface jet.report.xls.DataConstants
BIG_BLOCK_SIZE, BYTE, DIRECTORY_TYPE, DOCUMENT_TYPE, DOUBLE, FLOAT, INT, LONG, MAX_LENGTH, MAX_RECORD_SIZE, MIN_DOC_SIZE, PROPERTY_SIZE, PROPERTY_TYPE_OFFSET, ROOT_TYPE, SHORT, SMALL_BLOCK_SIZE, UNUSED_BLOCK
 
Constructor Summary
BNumber(int row, int col, int ixfe, double value)
          Constructs a Number object.
 
Method Summary
 double getValue()
          Gets the value of Number.
 void input(util.RandomAccessStream stream)
          Inputs the class Number from input stream.
 int opcode()
          Gets the opcode of the Number object.
 int output(util.RandomAccessStream stream)
          Outputs the class Number.
 void setValue(double value)
          Sets the value of Number.
 
Methods inherited from class jet.report.xls.Blank
getCol, getIxfe, getRow, setCol, setIxfe, setRow
 
Methods inherited from class jet.report.xls.Biff
getLength
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BNumber

public BNumber(int row,
               int col,
               int ixfe,
               double value)
Constructs a Number object.

Parameters:
row - the row index, which is based on zero
col - the column index, which is based on zero
ixfe - index to the Xf record, which you can get by GlobalWorksheet.getXfIndex(Xf)
value - the cell value
Method Detail

opcode

public final int opcode()
Gets the opcode of the Number object.

Overrides:
opcode in class Blank

setValue

public void setValue(double value)
Sets the value of Number.

Parameters:
value - the cell value

getValue

public double getValue()
Gets the value of Number.

Returns:
the cell value

output

public int output(util.RandomAccessStream stream)
           throws java.io.IOException
Outputs the class Number.

Overrides:
output in class Blank
Throws:
java.io.IOException

input

public void input(util.RandomAccessStream stream)
           throws java.io.IOException
Inputs the class Number from input stream.

Overrides:
input in class Blank
Throws:
java.io.IOException