jxl.write.biff
Class DefaultColumnWidth

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

class DefaultColumnWidth
extends WritableRecordData

The default column width for a workbook


Field Summary
private  byte[] data
          The binary data
private  int width
          The default column width
 
Fields inherited from class jxl.biff.RecordData
code, record
 
Constructor Summary
DefaultColumnWidth(int w)
          Constructor
 
Method Summary
protected  byte[] getData()
          Gets the binary data for writing to the stream
 
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

width

private int width
The default column width

data

private byte[] data
The binary data
Constructor Detail

DefaultColumnWidth

public DefaultColumnWidth(int w)
Constructor
Parameters:
w - the default column width
Method Detail

getData

protected byte[] getData()
Gets the binary data for writing to the stream
Overrides:
getData in class WritableRecordData
Returns:
the binary data