Home » JCraft » jxl » biff » formula » [javadoc | source]
jxl.biff.formula
abstract class: ParseItem [javadoc | source]
java.lang.Object
   jxl.biff.formula.ParseItem
Abstract base class for an item in a formula parse tree
Constructor:
 public ParseItem() 
Method from jxl.biff.formula.ParseItem Summary:
adjustRelativeCellReferences,   columnInserted,   columnRemoved,   getBytes,   getParseContext,   getString,   handleImportedCellReferences,   isValid,   isVolatile,   rowInserted,   rowRemoved,   setAlternateCode,   setInvalid,   setParent,   setParseContext,   setVolatile,   useAlternateCode
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from jxl.biff.formula.ParseItem Detail:
 abstract  void adjustRelativeCellReferences(int colAdjust,
    int rowAdjust)
    Adjusts all the relative cell references in this formula by the amount specified. Used when copying formulas
 abstract  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
 abstract  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
 abstract byte[] getBytes()
    Gets the token representation of this item in RPN
 protected final ParseContext getParseContext() 
    Accessor for the alternate code flag
 abstract  void getString(StringBuffer buf)
    Gets the string representation of this item
 abstract  void handleImportedCellReferences()
    If this formula was on an imported sheet, check that cell references to another sheet are warned appropriately
 final boolean isValid() 
    Accessor for the volatile function
 final boolean isVolatile() 
    Accessor for the volatile function
 abstract  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
 abstract  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 setAlternateCode() 
Deprecated! - - use setParseContext now

    Tells the operands to use the alternate code
 protected final  void setInvalid() 
    Sets the invalid flag and ripples all the way up the parse tree
 protected  void setParent(ParseItem p) 
    Called by this class to initialize the parent
 protected  void setParseContext(ParseContext pc) 
    Tells the operands to use the alternate code
 protected  void setVolatile() 
    Sets the volatile flag and ripples all the way up the parse tree
 protected final boolean useAlternateCode() 
Deprecated! - - use setParseContext now

    Accessor for the alternate code flag