|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.dss.dataView.ComponentHandle
oracle.dss.dataView.DataComponentHandle
public class DataComponentHandle
Represents the location of data, such as a cell in a GridView
,
or a data marker in a Graph
.
This normally represents a selected cell or marker, or the cell or marker
that you want to select programmatically.
Field Summary | |
---|---|
static java.lang.String |
KEY_PATH
Key Path for the data value in a data control hierarchical Collection object. |
protected boolean |
m_seriesAreRows
|
static java.lang.String |
ROW_KEY
Row Key of the row that contains the data value in a data control RowSet Collection object. |
static java.lang.String |
UNFORMATTED_VALUE
Unformatted value(eg 50, 200) |
Fields inherited from class oracle.dss.dataView.ComponentHandle |
---|
m_dataAccess |
Constructor Summary | |
---|---|
DataComponentHandle(int id,
java.lang.String name,
java.lang.Object comp,
DataComponentInfo dataInfo)
Class constructor that uses a DataComponentInfo to
specify the row and column. |
|
DataComponentHandle(int id,
java.lang.String name,
java.lang.Object comp,
DataComponentInfo info,
boolean seriesAreRows)
Constructor that uses a DataComponentInfo to identify the
row and column, for a graph component. |
|
DataComponentHandle(int id,
java.lang.String name,
java.lang.Object comp,
DataComponentInfo info,
int group,
int series)
Constructor that uses int values to specify the row, column,
group, and series for a graph. |
|
DataComponentHandle(int id,
java.lang.String name,
java.lang.Object comp,
int r,
int c)
Constructor that uses int values to specify the row and
column. |
|
DataComponentHandle(int id,
java.lang.String name,
java.lang.Object comp,
int r,
int c,
boolean seriesAreRows)
Constructor that uses int values to specify the row and
column, for a graph. |
|
DataComponentHandle(int id,
java.lang.String name,
java.lang.Object comp,
int row,
int column,
int group,
int series)
Constructor that uses int values to specify the row, column,
group, and series for a graph. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
int |
getColumn()
Retrieves the column number of the component or cell. |
ComponentInfo |
getComponentInfo()
Retrieves the DataComponentInfo for the component
or cell that this
DataComponentHandle represents. |
int |
getGroup()
Retrieves the group number of the component. |
Attributes[] |
getGroupAttributes()
The attributes that make up the group ex: Employee -SMITH |
int |
getRow()
Retrieves the row number of the component or cell. |
int |
getSeries()
Retrieves the series number of the component or cell. |
Attributes[] |
getSeriesAttributes()
The attributes that make up the series ex: Country - USA, Product - Coke |
java.lang.Object |
getValue(java.lang.String attrName)
Retrieves the data attribute values associated with attrName argument. |
boolean |
isSeriesComponent()
Indicates whether this data component represents a series. |
void |
setSeriesAreRows(boolean seriesAreRows)
|
void |
setSeriesComponent(boolean series)
Specifies whether this data component represents a series. |
java.lang.String |
toString()
Converts this object to a String . |
Methods inherited from class oracle.dss.dataView.ComponentHandle |
---|
getComponent, getID, getName, setDataAccess |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected boolean m_seriesAreRows
public static final java.lang.String UNFORMATTED_VALUE
public static final java.lang.String ROW_KEY
public static final java.lang.String KEY_PATH
Constructor Detail |
---|
public DataComponentHandle(int id, java.lang.String name, java.lang.Object comp, int r, int c)
int
values to specify the row and
column.
id
- In a graph, a constant that identifies the represented
graph component, such as Graph.DATAMARKER
.
For a GridView
, the constant
GridView.DATA_CELL
.name
- The name of the component that this
DataComponentHandle
represents.comp
- The actual reference to the component.r
- The row of the component or cell.c
- The column of the component or cell.public DataComponentHandle(int id, java.lang.String name, java.lang.Object comp, int r, int c, boolean seriesAreRows)
int
values to specify the row and
column, for a graph.
id
- A constant, such as Graph.DATAMARKER
, that
identifies the component that this
DataComponentHandle
represents.
The constants are defined in the Graph
class.name
- The name of the component that this
DataComponentHandle
represents.comp
- The actual reference to the component.r
- The row of the component.c
- The column of the component.seriesAreRows
- true
if the graph displays data rows
as series,
false
if data rows appear as groups in the graph.public DataComponentHandle(int id, java.lang.String name, java.lang.Object comp, DataComponentInfo dataInfo)
DataComponentInfo
to
specify the row and column.
id
- In a graph, a constant that identifies the represented
graph component, such as Graph.DATAMARKER
.
For a GridView
, the constant
DATA_CELL
.name
- The name of the component that this
DataComponentHandle
represents.comp
- The actual reference to the component.info
- The DataComponentInfo
that identifies the
row and column of the component.public DataComponentHandle(int id, java.lang.String name, java.lang.Object comp, DataComponentInfo info, boolean seriesAreRows)
DataComponentInfo
to identify the
row and column, for a graph component.
id
- A constant, such as Graph.DATAMARKER
, that
identifies the component that this
DataComponentHandle
represents.
The constants are defined in the Graph
class.name
- The name of the component that this
DataComponentHandle
represents.comp
- The actual reference to the component.info
- Information about the row and column of the component.seriesAreRows
- true
if the graph displays data rows
as series,
false
if data rows appear as groups in the graph.public DataComponentHandle(int id, java.lang.String name, java.lang.Object comp, int row, int column, int group, int series)
int
values to specify the row, column,
group, and series for a graph.
id
- A constant, such as Graph.DATAMARKER
, that
identifies the component that this
DataComponentHandle
represents.
The constants are defined in the Graph
class.name
- The name of the component that this
DataComponentHandle
represents.comp
- The actual reference to the component.row
- The row of the component.column
- The column of the component.group
- The group of the component.series
- The series of the component.public DataComponentHandle(int id, java.lang.String name, java.lang.Object comp, DataComponentInfo info, int group, int series)
int
values to specify the row, column,
group, and series for a graph.
id
- A constant, such as Graph.DATAMARKER
, that
identifies the component that this
DataComponentHandle
represents.
The constants are defined in the Graph
class.name
- The name of the component that this
DataComponentHandle
represents.comp
- The actual reference to the component.info
- The DataComponentInfo
that identifies the
row and column of the component.group
- The group of the component.series
- The series of the component.Method Detail |
---|
public java.lang.Object getValue(java.lang.String attrName)
attrName
- A constant for the attribute name UNFORMATTED_VALUE
or ROW_KEY
UNFORMATTED_VALUE
,
ROW_KEY
public Attributes[] getSeriesAttributes()
public Attributes[] getGroupAttributes()
public int getRow()
DataComponentInfo
.
Row numbers begin at zero.
public int getColumn()
DataComponentInfo
.
Column numbers begin at zero.
public int getSeries()
Graph.isDataRowShownAsASeries
returns true
,
then this method returns the same value that the getRow
method returns.
When Graph.isDataRowShownAsASeries
returns false
,
then this method returns the same value that the getColumn
method returns.
Graph.isDataRowShownAsASeries()
public int getGroup()
DataComponentHandle
must have been constructed by a constructor that has group
and series
arguments.
DataComponentHandle(int, String, Object, DataComponentInfo, int, int)
,
DataComponentHandle(int, String, Object, int, int, int, int)
,
Graph.isDataRowShownAsASeries()
public java.lang.String toString()
String
.
The String
contains the name of this class, the name of the
component, the row number, and the column number.
Row and column numbers begin at zero.
toString
in class java.lang.Object
String
representation of this object.public ComponentInfo getComponentInfo()
DataComponentInfo
for the component
or cell that this
DataComponentHandle
represents.
getComponentInfo
in class ComponentHandle
DataComponentInfo
can be null, but this not
normal.DataComponentHandle
public boolean isSeriesComponent()
true
if this data component represents series data,
false
if it does not.public void setSeriesComponent(boolean series)
series
- true
if this data component represents series data,
false
if it does not.public void setSeriesAreRows(boolean seriesAreRows)
public boolean equals(java.lang.Object o)
equals
in class ComponentHandle
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |