Save This Page
Home » cocoon-2.1.11-src » org.apache.cocoon.poi » hssf » record » [javadoc | source]
org.apache.cocoon.poi.hssf.record
public class: BlankRecord [javadoc | source]
java.lang.Object
   org.apache.cocoon.poi.hssf.record.Record
      org.apache.cocoon.poi.hssf.record.BlankRecord

All Implemented Interfaces:
    CellValueRecordInterface

Title: Blank cell record

Description: Represents a column in a row with no value but with styling.

Copyright: Copyright (c) 2001 SuperLink Software, Inc.

REFERENCE: PG 287 Microsoft Excel 97 Developer's Kit (ISBN: 1-57231-498-2)

Field Summary
public static final  short sid     
Fields inherited from org.apache.cocoon.poi.hssf.record.Record:
sid
Constructor:
 public BlankRecord() 
 public BlankRecord(short id,
    short size,
    byte[] data) 
 public BlankRecord(short id,
    short size,
    byte[] data,
    int offset) 
Method from org.apache.cocoon.poi.hssf.record.BlankRecord Summary:
fillFields,   getColumn,   getRow,   getSid,   getXFIndex,   isAfter,   isBefore,   isEqual,   isInValueSection,   isValue,   serialize,   setColumn,   setRow,   setXFIndex,   toString,   validateSid
Methods from org.apache.cocoon.poi.hssf.record.Record:
fillFields,   fillFields,   getRecordSize,   getSid,   isInValueSection,   isValue,   processContinueRecord,   serialize,   toString,   validateSid
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.poi.hssf.record.BlankRecord Detail:
 protected  void fillFields(byte[] data,
    short size,
    int offset) 
 public short getColumn() 
    get the column this cell defines within the row
 public short getRow() 
    get the row this cell occurs on
 public short getSid() 
    return the non static version of the id for this record.
 public short getXFIndex() 
    get the index of the extended format record to style this cell with
 public boolean isAfter(CellValueRecordInterface i) 
 public boolean isBefore(CellValueRecordInterface i) 
 public boolean isEqual(CellValueRecordInterface i) 
 public boolean isInValueSection() 
 public boolean isValue() 
 public byte[] serialize() 
    called by the class that is responsible for writing this sucker. Subclasses should implement this so that their data is passed back in a byte array.
 public  void setColumn(short col) 
    set the column this cell defines within the row
 public  void setRow(short row) 
    set the row this cell occurs on
 public  void setXFIndex(short xf) 
    set the index of the extended format record to style this cell with
 public String toString() 
 protected  void validateSid(short id) 
    called by constructor, should throw runtime exception in the event of a record passed with a differing ID.