Save This Page
Home » poi-src-3.2-FINAL-20081019 » org.apache » poi » hssf » record » formula » [javadoc | source]
org.apache.poi.hssf.record.formula
abstract public class: RefPtgBase [javadoc | source]
java.lang.Object
   org.apache.poi.hssf.record.formula.Ptg
      org.apache.poi.hssf.record.formula.OperandPtg
         org.apache.poi.hssf.record.formula.RefPtgBase

All Implemented Interfaces:
    Cloneable

Direct Known Subclasses:
    Ref2DPtgBase, RefPtg, RefNPtg

ReferencePtgBase - handles references (such as A1, A2, IA4)
Fields inherited from org.apache.poi.hssf.record.formula.Ptg:
CLASS_REF,  CLASS_VALUE,  CLASS_ARRAY
Constructor:
 protected RefPtgBase() 
 protected RefPtgBase(String cellref) 
    Takes in a String representation of a cell reference and fills out the numeric fields.
 protected RefPtgBase(RecordInputStream in) 
 protected RefPtgBase(int row,
    int column,
    boolean isRowRelative,
    boolean isColumnRelative) 
Method from org.apache.poi.hssf.record.formula.RefPtgBase Summary:
getColumn,   getColumnRawX,   getDefaultOperandClass,   getRow,   getRowAsInt,   getSid,   getSize,   isColRelative,   isRowRelative,   setColRelative,   setColumn,   setColumnRawX,   setRow,   setRowRelative,   toFormulaString,   toString,   writeBytes
Methods from org.apache.poi.hssf.record.formula.OperandPtg:
isBaseToken
Methods from org.apache.poi.hssf.record.formula.Ptg:
clone,   copy,   createParsedExpressionTokens,   createPtg,   getBytes,   getDefaultOperandClass,   getEncodedSize,   getEncodedSize,   getPtgClass,   getSize,   isBaseToken,   readTokens,   serializePtgStack,   serializePtgs,   setClass,   toDebugString,   toFormulaString,   toString,   writeBytes
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.poi.hssf.record.formula.RefPtgBase Detail:
 public final int getColumn() 
 public int getColumnRawX() 
 public final byte getDefaultOperandClass() 
 public final int getRow() 
    Returns the row number as a short, which will be wrapped (negative) for values between 32769 and 65535
 public final int getRowAsInt() 
    Returns the row number as an int, between 0 and 65535
 abstract protected byte getSid()
 public final int getSize() 
 public final boolean isColRelative() 
 public final boolean isRowRelative() 
 public final  void setColRelative(boolean rel) 
 public final  void setColumn(int col) 
 public final  void setColumnRawX(int col) 
 public final  void setRow(int row) 
 public final  void setRowRelative(boolean rel) 
 public final String toFormulaString(HSSFWorkbook book) 
 public final String toString() 
 public final  void writeBytes(byte[] array,
    int offset)