|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectObjectTable
org.pentaho.reporting.libraries.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()
|
ArrayCallback |
getAsArray()
|
LValue[] |
getChildValues()
Returns any dependent lvalues (parameters and operands, mostly). |
java.lang.String |
getColumnName(int column)
|
ParsePosition |
getParsePosition()
|
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. |
void |
setParsePosition(ParsePosition parsePosition)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.pentaho.reporting.libraries.formula.lvalues.DataTable |
|---|
getColumnCount, getRowCount |
| Constructor Detail |
|---|
public DefaultDataTable()
public DefaultDataTable(LValue[][] array)
| Method Detail |
|---|
public ParsePosition getParsePosition()
getParsePosition in interface LValuepublic void setParsePosition(ParsePosition parsePosition)
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 LValueEvaluationExceptionpublic ArrayCallback getAsArray()
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface LValuejava.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 | |||||||||