JComponentPack 1.5.0

com.zfqjava.formula
Class CellFormula

java.lang.Object
  extended by com.zfqjava.formula.AbstractFormula
      extended by com.zfqjava.formula.CellFormula
All Implemented Interfaces:
Formula, Serializable

public class CellFormula
extends AbstractFormula
implements Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.zfqjava.formula.AbstractFormula
value
 
Method Summary
 Object evaluate(FormulaContext context)
          Evaluates the formula.
 List getCellReferenceList()
          Returns the unmodifiable view of the cell reference for this formula.
 Formula normalize(FormulaContext context)
          Normalize this formula with the specified FormulaContext.
 String toString()
          Returns the string the this formula.
 String toString(FormulaContext context)
          Returns the string the this formula with the specified FormulaContext.
 
Methods inherited from class com.zfqjava.formula.AbstractFormula
equals, getValue, hashCode, setException
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

normalize

public Formula normalize(FormulaContext context)
Description copied from interface: Formula
Normalize this formula with the specified FormulaContext.

Specified by:
normalize in interface Formula

evaluate

public Object evaluate(FormulaContext context)
Description copied from interface: Formula
Evaluates the formula.

Specified by:
evaluate in interface Formula
Parameters:
context - the formula context
Returns:
the value

getCellReferenceList

public List getCellReferenceList()
Returns the unmodifiable view of the cell reference for this formula.

Returns:
the cell reference

toString

public String toString(FormulaContext context)
Description copied from interface: Formula
Returns the string the this formula with the specified FormulaContext.

Specified by:
toString in interface Formula

toString

public String toString()
Description copied from interface: Formula
Returns the string the this formula.

Specified by:
toString in interface Formula
Overrides:
toString in class AbstractFormula

JComponentPack 1.5.0

Send your Feedback
JComponentPack 1.5.0
Copyright © 2001-2007 Extreme Component, Inc. All rights reserved.