jxl.write.biff
Class MarginRecord

java.lang.Object
  |
  +--jxl.biff.RecordData
        |
        +--jxl.biff.WritableRecordData
              |
              +--jxl.write.biff.MarginRecord
All Implemented Interfaces:
ByteData
Direct Known Subclasses:
BottomMarginRecord, LeftMarginRecord, RightMarginRecord, TopMarginRecord

abstract class MarginRecord
extends WritableRecordData

Record which specifies a margin value


Field Summary
private  double margin
          The margin
 
Fields inherited from class jxl.biff.WritableRecordData
maxRecordLength
 
Fields inherited from class jxl.biff.RecordData
code, record
 
Constructor Summary
MarginRecord(Type t, double v)
          Constructor
 
Method Summary
 byte[] getData()
          Gets the binary data for output to file
 
Methods inherited from class jxl.biff.WritableRecordData
getBytes, handleContinueRecords
 
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

margin

private double margin
The margin
Constructor Detail

MarginRecord

public MarginRecord(Type t,
                    double v)
Constructor
Method Detail

getData

public byte[] getData()
Gets the binary data for output to file
Overrides:
getData in class WritableRecordData
Returns:
the binary data