jxl.write.biff
Class ProtectRecord

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

class ProtectRecord
extends WritableRecordData

The protection state for a sheet or workbook


Field Summary
private  byte[] data
          The binary data
private  boolean protection
          The protection state
 
Fields inherited from class jxl.biff.WritableRecordData
maxRecordLength
 
Fields inherited from class jxl.biff.RecordData
code, record
 
Constructor Summary
ProtectRecord(boolean prot)
          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

protection

private boolean protection
The protection state

data

private byte[] data
The binary data
Constructor Detail

ProtectRecord

public ProtectRecord(boolean prot)
Constructor
Parameters:
prot - the protection state
Method Detail

getData

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