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

Direct Known Subclasses:
    StringFunction, ArgumentSeparator, CloseParentheses, OpenParentheses

A dummy implementation used for typing information when tokens are read when parsing strings. These are then stored by the parser before being re-stored as the appropriate RPN syntactic equivalent
Constructor:
 protected StringParseItem() 
Method from jxl.biff.formula.StringParseItem Summary:
adjustRelativeCellReferences,   columnInserted,   columnRemoved,   getBytes,   getString,   handleImportedCellReferences,   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.StringParseItem Detail:
 public  void adjustRelativeCellReferences(int colAdjust,
    int rowAdjust) 
    Default behaviour is to do nothing
  void columnInserted(int sheetIndex,
    int col,
    boolean currentSheet) 
    Default behaviour is to do nothing
  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. Does nothing here
  void getString(StringBuffer buf) 
    Gets the string representation of this item. Does nothing here
  void handleImportedCellReferences() 
    If this formula was on an imported sheet, check that cell references to another sheet are warned appropriately Does nothing
  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