|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.reporting.libraries.base.util.ObjectTable 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 | |
---|---|
Object |
clone()
|
TypeValuePair |
evaluate()
|
ArrayCallback |
getAsArray()
|
LValue[] |
getChildValues()
Returns any dependent lvalues (parameters and operands, mostly). |
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)
|
String |
toString()
|
Methods inherited from class org.pentaho.reporting.libraries.base.util.ObjectTable |
---|
clear, clearRow, ensureCapacity, equals, getColumnCount, getColumnIncrement, getRowCount, getRowIncrement, hashCode |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, 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 LValue
public void setParsePosition(ParsePosition parsePosition)
public 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 LValue
EvaluationException
public TypeValuePair evaluate() throws EvaluationException
evaluate
in interface LValue
EvaluationException
public ArrayCallback getAsArray()
public Object clone() throws CloneNotSupportedException
clone
in interface LValue
clone
in class Object
CloneNotSupportedException
public Type getValueType()
getValueType
in interface LValue
public LValue[] getChildValues()
getChildValues
in interface LValue
public boolean isConstant()
isConstant
in interface LValue
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |