Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.1.0)

E17492-02

oracle.adf.view.faces.bi.component.pivotTable
Class DataCellContext

java.lang.Object
  extended by oracle.adf.view.faces.bi.component.pivotTable.DataCellContext

public class DataCellContext
extends java.lang.Object

Contains information about a Pivot Table datacell, including its row, column, QDR, value, and data model.

Since:
release specific (what release of product did this appear in)

Constructor Summary
DataCellContext(DataModel model, int row, int column, QDR qdr, java.lang.Object value)
          Constructs a DataCellContext for the specified datacell.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataCellContext

public DataCellContext(DataModel model,
                       int row,
                       int column,
                       QDR qdr,
                       java.lang.Object value)
Constructs a DataCellContext for the specified datacell.

Parameters:
model - the data model for the Pivot Table
row - the zero-based row number of the data cell
column - the zero-based column number of the data cell
qdr - the QDR of the data cell
value - the value in the data cell
Method Detail

getQDR

public QDR getQDR()
Returns the QDR for the cell.

Returns:
the QDR for the cell

getValue

public java.lang.Object getValue()
Returns the value to be displayed in the cell.

Returns:
the cell value

getValue

public java.lang.Object getValue(java.lang.String type)
                          throws DataException
Returns a value associated with the cell.

Parameters:
type - one of the types listed in oracle.dss.util.DataMap
Returns:
the cell value of the specified type
Throws:
DataException - if the row or column are out of bounds

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.1.0)

E17492-02

Copyright © 1997, 2011, Oracle. All rights reserved.