jxl.write.biff
Class DimensionRecord

java.lang.Object
  |
  +--jxl.biff.RecordData
        |
        +--jxl.biff.WritableRecordData
              |
              +--jxl.write.biff.DimensionRecord
All Implemented Interfaces:
ByteData

class DimensionRecord
extends WritableRecordData

Record which contains the bounds of the sheet


Field Summary
private  byte[] data
          The binary data
private  int numCols
          The number of columns in the sheet
private  int numRows
          The number of rows in the sheet
 
Fields inherited from class jxl.biff.RecordData
code, record
 
Constructor Summary
DimensionRecord(int r, int c)
          Constructor
 
Method Summary
protected  byte[] getData()
          Gets the binary data to be written to the output file
 
Methods inherited from class jxl.biff.WritableRecordData
getBytes
 
Methods inherited from class jxl.biff.RecordData
getCode, getRecord
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

numRows

private int numRows
The number of rows in the sheet

numCols

private int numCols
The number of columns in the sheet

data

private byte[] data
The binary data
Constructor Detail

DimensionRecord

public DimensionRecord(int r,
                       int c)
Constructor
Parameters:
c - the number of columns
r - the number of rows
Method Detail

getData

protected byte[] getData()
Gets the binary data to be written to the output file
Overrides:
getData in class WritableRecordData
Returns:
the binary data