jxl.write.biff
Class WindowProtectRecord

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

class WindowProtectRecord
extends WritableRecordData

Stores an option from the Protect Workbook dialog box


Field Summary
private  byte[] data
          The binary data
private  boolean protection
          Protect flag
 
Fields inherited from class jxl.biff.RecordData
code, record
 
Constructor Summary
WindowProtectRecord(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
Protect flag

data

private byte[] data
The binary data
Constructor Detail

WindowProtectRecord

public WindowProtectRecord(boolean prot)
Constructor
Parameters:
prot - the protect flag
Method Detail

getData

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