| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
  |
  +--jxl.biff.formula.ParseItem
        |
        +--jxl.biff.formula.Operand
              |
              +--jxl.biff.formula.CellReference
A cell reference in a formula
| Field Summary | |
private  int | 
column
The column reference  | 
private  boolean | 
columnRelative
Indicates whether the column reference is relative or absolute  | 
private  Cell | 
relativeTo
The cell containing the formula.  | 
private  int | 
row
The row reference  | 
private  boolean | 
rowRelative
Indicates whether the row reference is relative or absolute  | 
| Fields inherited from class jxl.biff.formula.ParseItem | 
parent | 
| Constructor Summary | |
CellReference()
Constructor  | 
|
CellReference(Cell rt)
Constructor  | 
|
CellReference(java.lang.String s)
Constructor invoked when parsing a text string  | 
|
| Method Summary | |
(package private)  byte[] | 
getBytes()
Gets the token representation of this item in RPN  | 
 int | 
getColumn()
Accessor for the column  | 
 int | 
getRow()
Accessor for the row  | 
 void | 
getString(java.lang.StringBuffer buf)
Gets the cell reference as a string for this item  | 
 int | 
read(byte[] data,
     int pos)
Reads the ptg data from the array starting at the specified position  | 
| Methods inherited from class jxl.biff.formula.ParseItem | 
setParent | 
| Methods inherited from class java.lang.Object | 
 | 
| Field Detail | 
private boolean columnRelative
private boolean rowRelative
private int column
private int row
private Cell relativeTo
| Constructor Detail | 
public CellReference(Cell rt)
rt - the cell containing the formulapublic CellReference()
public CellReference(java.lang.String s)
s - the string being parsed| Method Detail | 
public int read(byte[] data,
                int pos)
read in interface ParsedThingdata - the RPN arraypos - the current position in the array, excluding the ptg identifierpublic int getColumn()
public int getRow()
public void getString(java.lang.StringBuffer buf)
getString in class ParseItembuf - the string buffer to populatebyte[] getBytes()
getBytes in class ParseItem
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||