|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jfree.util.ObjectTable
org.jfree.formula.lvalues.DefaultDataTable
public class DefaultDataTable
Creation-Date: 05.11.2006, 13:34:01
| Constructor Summary | |
|---|---|
DefaultDataTable()
Creates a new table. |
|
DefaultDataTable(LValue[][] array)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
TypeValuePair |
evaluate()
|
LValue[] |
getChildValues()
Returns any dependent lvalues (parameters and operands, mostly). |
java.lang.String |
getColumnName(int column)
|
LValue |
getValueAt(int row,
int column)
|
Type |
getValueType()
Querying the value type is only valid *after* the value has been evaluated. |
void |
initialize(FormulaContext context)
|
boolean |
isConstant()
Checks, whether the LValue is constant. |
void |
setObject(int row,
int column,
LValue object)
Sets the object for a cell in the table. |
| Methods inherited from class org.jfree.util.ObjectTable |
|---|
clear, copyColumn, copyRow, ensureCapacity, ensureRowCapacity, equals, getColumnCount, getColumnIncrement, getData, getObject, getRowCount, getRowIncrement, hashCode, readSerializedData, setData, setObject, writeSerializedData |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jfree.formula.lvalues.DataTable |
|---|
getColumnCount, getRowCount |
| Constructor Detail |
|---|
public DefaultDataTable()
public DefaultDataTable(LValue[][] array)
| Method Detail |
|---|
public java.lang.String getColumnName(int column)
getColumnName in interface DataTable
public void setObject(int row,
int column,
LValue object)
row - the row index (zero-based).column - the column index (zero-based).object - the object.
public LValue getValueAt(int row,
int column)
getValueAt in interface DataTable
public void initialize(FormulaContext context)
throws EvaluationException
initialize in interface LValueEvaluationException
public TypeValuePair evaluate()
throws EvaluationException
evaluate in interface LValueEvaluationException
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface LValueclone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic Type getValueType()
getValueType in interface LValuepublic LValue[] getChildValues()
getChildValues in interface LValuepublic boolean isConstant()
isConstant in interface LValue
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||