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 static org.apache.commons.logging.Log log
           
 
Constructor Summary
FormulaPart(FormulaPart aFormulaPart)
           
FormulaPart(FormulaPart aFormulaPart, Formula parentFormula)
           
FormulaPart(java.lang.String formulaPartString, Formula parentFormula)
           
 
Method Summary
static void clearCache()
           
 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()
           
 boolean updateReplacedRefCellsCollection()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

protected static 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,
                   Formula parentFormula)

FormulaPart

public FormulaPart(FormulaPart aFormulaPart)
Method Detail

clearCache

public static void clearCache()

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 boolean updateReplacedRefCellsCollection()

toString

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


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