JComponentPack 1.3.0

com.zfqjava.formula
Class AbstractOperand

java.lang.Object
  extended by com.zfqjava.formula.AbstractOperand
All Implemented Interfaces:
Operand

public abstract class AbstractOperand
extends Object
implements Operand


Constructor Summary
protected AbstractOperand(Object value)
           
 
Method Summary
 FormulaContext getFormulaContext()
          Returns the current formula context.
 Object getValue()
          Returns the operand value.
 void setFormulaContext(FormulaContext context)
          Sets the formula context to find operand value.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractOperand

protected AbstractOperand(Object value)
Method Detail

setFormulaContext

public void setFormulaContext(FormulaContext context)
Description copied from interface: Operand
Sets the formula context to find operand value.

Specified by:
setFormulaContext in interface Operand
Parameters:
context - the formula context

getFormulaContext

public FormulaContext getFormulaContext()
Description copied from interface: Operand
Returns the current formula context.

Specified by:
getFormulaContext in interface Operand
Returns:
the current formula context

getValue

public Object getValue()
Description copied from interface: Operand
Returns the operand value.

Specified by:
getValue in interface Operand
Returns:
the operand value

toString

public String toString()
Overrides:
toString in class Object

JComponentPack 1.3.0

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