Save This Page
Home » jexcelapi_2_6_8 » jxl.biff.formula » [javadoc | source]
jxl.biff.formula
class: Area [javadoc | source]
java.lang.Object
   jxl.biff.formula.ParseItem
      jxl.biff.formula.Operand
         jxl.biff.formula.Area

All Implemented Interfaces:
    ParsedThing

Direct Known Subclasses:
    ColumnRange

A nested class to hold range information
Constructor:
 Area() 
 Area(String s) 
    Constructor invoked when parsing a string formula
    Parameters:
    s - the string to parse
Method from jxl.biff.formula.Area Summary:
adjustRelativeCellReferences,   columnInserted,   columnRemoved,   getBytes,   getFirstColumn,   getFirstRow,   getLastColumn,   getLastRow,   getString,   handleImportedCellReferences,   read,   rowInserted,   rowRemoved,   setRangeData
Methods from jxl.biff.formula.Operand:
adjustRelativeCellReferences,   columnInserted,   columnRemoved,   rowInserted,   rowRemoved
Methods from jxl.biff.formula.ParseItem:
adjustRelativeCellReferences,   columnInserted,   columnRemoved,   getBytes,   getString,   handleImportedCellReferences,   isValid,   isVolatile,   rowInserted,   rowRemoved,   setAlternateCode,   setInvalid,   setParent,   setVolatile,   useAlternateCode
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from jxl.biff.formula.Area Detail:
 public  void adjustRelativeCellReferences(int colAdjust,
    int rowAdjust) 
    Adjusts all the relative cell references in this formula by the amount specified. Used when copying formulas
  void columnInserted(int sheetIndex,
    int col,
    boolean currentSheet) 
    Called when a column is inserted on the specified sheet. Tells the formula parser to update all of its cell references beyond this column
  void columnRemoved(int sheetIndex,
    int col,
    boolean currentSheet) 
    Called when a column is inserted on the specified sheet. Tells the formula parser to update all of its cell references beyond this column
 byte[] getBytes() 
    Gets the token representation of this item in RPN
 int getFirstColumn() 
    Accessor for the first column
 int getFirstRow() 
    Accessor for the first row
 int getLastColumn() 
    Accessor for the last column
 int getLastRow() 
    Accessor for the last row
 public  void getString(StringBuffer buf) 
    Gets the string representation of this item
  void handleImportedCellReferences() 
    If this formula was on an imported sheet, check that cell references to another sheet are warned appropriately Does nothing here
 public int read(byte[] data,
    int pos) 
    Reads the ptg data from the array starting at the specified position
  void rowInserted(int sheetIndex,
    int row,
    boolean currentSheet) 
    Called when a column is inserted on the specified sheet. Tells the formula parser to update all of its cell references beyond this column
  void rowRemoved(int sheetIndex,
    int row,
    boolean currentSheet) 
    Called when a column is inserted on the specified sheet. Tells the formula parser to update all of its cell references beyond this column
 protected  void setRangeData(int colFirst,
    int colLast,
    int rwFirst,
    int rwLast,
    boolean colFirstRel,
    boolean colLastRel,
    boolean rowFirstRel,
    boolean rowLastRel) 
    Used by subclasses columns/row range to set the range information