|
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 All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.dss.util.ComponentInfo
oracle.dss.util.GroupComponentInfo
public class GroupComponentInfo
Group information about a component in a Graph
.
Used for components that have data associated with them.
Constructor Summary | |
---|---|
GroupComponentInfo(int group)
Constructor. |
|
GroupComponentInfo(int group,
int edge,
int slice)
Constructor that specifies the group, the edge, and the slice. |
|
GroupComponentInfo(int group,
int layer,
int edge,
int slice)
Constructor that specifies the group, the layer, the edge, and the slice. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clones this GroupComponentInfo . |
boolean |
equals(java.lang.Object o)
Indicates whether the specified object is equivalent to this GroupComponentInfo . |
int |
getEdge()
Retrieves the edge that the group is on. |
int |
getGroup()
Retrieves the group number. |
int |
getLayer()
Retrieves the layer number of the component. |
QDR |
getQDR(DataAccess dataAccess,
int flags)
Retrieves a QDR for this GroupComponentInfo . |
int |
getSlice()
Retrieves the first slice in the group. |
int |
hashCode()
|
java.lang.String |
toString()
Produces a String that identifies the group. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GroupComponentInfo(int group)
group
- The group that the component is in.public GroupComponentInfo(int group, int edge, int slice)
group
- The group that the component is in.edge
- A constant that represents the data edge that
group
is on. Possible values are listed
in the See Also section. The value depends on the return
value of the Graph.isDataRowShownAsASeries
.slice
- The first slice in the group.DataDirector.COLUMN_EDGE
,
DataDirector.ROW_EDGE
,
Graph.isDataRowShownAsASeries()
public GroupComponentInfo(int group, int layer, int edge, int slice)
group
- The group that the component is in.layer
- The layer that the component is in.
The layer is relevant for graphs that have a time axis,
where the ordinal axis shows time values. The outer-most
layer (labels for the largest units of time) is layer 0.edge
- A constant that represents the data edge that
group
is on. Possible values are listed
in the See Also section. The value depends on the return
value of the Graph.isDataRowShownAsASeries
.slice
- The first slice in the group.DataDirector.COLUMN_EDGE
,
DataDirector.ROW_EDGE
,
Graph.isDataRowShownAsASeries()
Method Detail |
---|
public java.lang.Object clone()
GroupComponentInfo
.
clone
in class ComponentInfo
GroupComponentInfo
.public int getLayer()
GroupComponentInfo
.
Layer numbers begin at zero.
Layer numbers are relevant for O1TickLabel
objects in
graphs that have a time axis (dates along the axis).
On a time axis, you can have labels for smaller units of time (such
as days, weeks, or months) next to the axis, and labels for larger
units of time (such as weeks, months, or years) that appear below the
labels for smaller units.
The 0th label is the largest time unit.
public int getGroup()
public int getEdge()
Graph.isDataRowShownAsASeries
.DataDirector.COLUMN_EDGE
,
DataDirector.ROW_EDGE
,
Graph.isDataRowShownAsASeries()
public int getSlice()
getEdge
returns DataDirector.COLUMN_EDGE
,
then this method returns the first column of data that this group
represents.
If getEdge
returns DataDirector.ROW_EDGE
,
then this method returns the first row of data that this group
represents.
getEdge()
public boolean equals(java.lang.Object o)
GroupComponentInfo
.
GroupComponentInfo
objects are equivalent if they refer
to the same group.
equals
in class java.lang.Object
o
- The object to compare with this
GroupComponentInfo
.
true
if both objects refer to the same group,
false
if not or if o
is not a
GroupComponentInfo
.public QDR getQDR(DataAccess dataAccess, int flags)
QDR
for this GroupComponentInfo
.
The QDR
currently identifies the dimension members
represented by the first column or row of data that corresponds to the
group.
If getEdge
returns DataDirector.COLUMN_EDGE
,
then this method returns the QDR
for the first column
of data that the group represents.
If getEdge
returns DataDirector.ROW_EDGE
, then
this method returns the QDR
for the first row of data that
the group represents.
getQDR
in class ComponentInfo
dataAccess
- The DataAccess
that provided the data
for the group that this GroupComponentInfo
describes.flags
- A constant that identifies whether to include page edge
information if the QDR
is not for the page edge. Valid
constants are listed in the See Also section.
QDR
that identifies the first slice of data that
this GroupComponentInfo
describes.getEdge()
,
DataAccess.QDR_WITH_PAGE
,
DataAccess.QDR_WITHOUT_PAGE
public int hashCode()
hashCode
in class ComponentInfo
public java.lang.String toString()
String
that identifies the group.
toString
in class java.lang.Object
String
.
|
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 All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |