jxl.write.biff
Class MMSRecord

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

class MMSRecord
extends WritableRecordData

Stores the number of addmen and delmenu groups in the book stream


Field Summary
private  byte[] data
          The binary data
private  byte numMenuItemsAdded
          The number of menu items added
private  byte numMenuItemsDeleted
          The number of menu items deleted
 
Fields inherited from class jxl.biff.WritableRecordData
maxRecordLength
 
Fields inherited from class jxl.biff.RecordData
code, record
 
Constructor Summary
MMSRecord(int menuItemsAdded, int menuItemsDeleted)
          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

numMenuItemsAdded

private byte numMenuItemsAdded
The number of menu items added

numMenuItemsDeleted

private byte numMenuItemsDeleted
The number of menu items deleted

data

private byte[] data
The binary data
Constructor Detail

MMSRecord

public MMSRecord(int menuItemsAdded,
                 int menuItemsDeleted)
Constructor
Parameters:
menuItemsAdded - the number of menu items added
menuItemsDeleted - the number of menu items deleted
Method Detail

getData

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