public class DataCellContext
extends java.lang.Object
QDR
, value, and data model.Constructor and Description |
---|
DataCellContext(DataModel model,
int row,
int column,
QDR qdr,
java.lang.Object value)
Constructs a
DataCellContext for the specified datacell. |
Modifier and Type | Method and Description |
---|---|
QDR |
getQDR()
Returns the
QDR for the cell. |
java.lang.Object |
getValue()
Returns the value to be displayed in the cell.
|
java.lang.Object |
getValue(java.lang.String type)
Returns a value associated with the cell.
|
public DataCellContext(DataModel model, int row, int column, QDR qdr, java.lang.Object value)
DataCellContext
for the specified datacell.model
- the data model for the Pivot Tablerow
- the zero-based row number of the data cellcolumn
- the zero-based column number of the data cellqdr
- the QDR
of the data cellvalue
- the value in the data cellpublic QDR getQDR()
QDR
for the cell.QDR
for the cellpublic java.lang.Object getValue()
public java.lang.Object getValue(java.lang.String type) throws DataException
type
- one of the types listed in oracle.dss.util.DataMap
DataException
- if the row or column are out of bounds