net.sf.jxls.formula
Class FormulaPart

java.lang.Object
  extended by net.sf.jxls.formula.FormulaPart

public class FormulaPart
extends java.lang.Object

Represents formula part

Author:
Leonid Vysochyn

Field Summary
static char defaultValueToken
           
protected  org.apache.commons.logging.Log log
           
 
Constructor Summary
FormulaPart(FormulaPart aFormulaPart)
           
FormulaPart(java.lang.String formulaPartString, Formula parentFormula)
           
 
Method Summary
 java.lang.String getActualFormula()
           
 java.lang.Integer getDefaultValue()
           
 java.util.Collection getRefCells()
           
 void parseFormulaPartString(java.lang.String formula)
           
 void removeCellRefs(java.util.Set cellRefsToBeRemoved)
           
 void replaceCellRef(CellRef cellRef, java.util.List rangeFormulaParts)
           
 void setDefaultValue(java.lang.Integer defaultValue)
           
 java.lang.String toString()
           
 void updateReplacedRefCellsCollection()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

protected final org.apache.commons.logging.Log log

defaultValueToken

public static char defaultValueToken
Constructor Detail

FormulaPart

public FormulaPart(java.lang.String formulaPartString,
                   Formula parentFormula)

FormulaPart

public FormulaPart(FormulaPart aFormulaPart)
Method Detail

getDefaultValue

public java.lang.Integer getDefaultValue()

setDefaultValue

public void setDefaultValue(java.lang.Integer defaultValue)

parseFormulaPartString

public void parseFormulaPartString(java.lang.String formula)

replaceCellRef

public void replaceCellRef(CellRef cellRef,
                           java.util.List rangeFormulaParts)

getRefCells

public java.util.Collection getRefCells()

getActualFormula

public java.lang.String getActualFormula()

removeCellRefs

public void removeCellRefs(java.util.Set cellRefsToBeRemoved)

updateReplacedRefCellsCollection

public void updateReplacedRefCellsCollection()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2005-2010 jXLS Team. All Rights Reserved.