jxl.write.biff
Class ObjectProtectRecord

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

class ObjectProtectRecord
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.RecordData
code, record
 
Constructor Summary
ObjectProtectRecord(boolean prot)
          Constructor
 
Method Summary
 byte[] getData()
          Gets the binary data for output to 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

protection

private boolean protection
The protection state

data

private byte[] data
The binary data
Constructor Detail

ObjectProtectRecord

public ObjectProtectRecord(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