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

All Implemented Interfaces:
    ParsedThing

A cell reference in a formula
Constructor:
 public Parenthesis() 
Method from jxl.biff.formula.Parenthesis Summary:
adjustRelativeCellReferences,   columnInserted,   columnRemoved,   getBytes,   getOperands,   getPrecedence,   getString,   getToken,   handleImportedCellReferences,   read,   rowInserted,   rowRemoved
Methods from jxl.biff.formula.Operator:
add,   getOperands,   getOperands,   getPrecedence,   setOperandAlternateCode
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.Parenthesis 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
 public  void getOperands(Stack s) 
    Gets the operands for this operator from the stack
 int getPrecedence() 
    Gets the precedence for this operator. Operator precedents run from 1 to 5, one being the highest, 5 being the lowest
 public  void getString(StringBuffer buf) 
 Token getToken() 
    Abstract method which gets the token for this operator
  void handleImportedCellReferences() 
    If this formula was on an imported sheet, check that cell references to another sheet are warned appropriately Does nothing, as operators don't have cell references
 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