|
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.util.ComponentInfo
oracle.dss.util.EdgeComponentInfo
public class EdgeComponentInfo
Information about the location of a DataView
component in an
edge.
Used for components that are associated with edges, such as a
HeaderCell
.
Constructor Summary | |
---|---|
EdgeComponentInfo(int edge,
int depth,
int index)
Constructor. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clones this EdgeComponentInfo . |
boolean |
equals(java.lang.Object o)
Indicates whether the specified object is equivalent to this EdgeComponentInfo . |
int |
getDepth()
Retrieves the depth of the component. |
int |
getEdge()
Retrieves the edge that the component is on. |
int |
getIndex()
Retrieves the index of the component. |
QDR |
getQDR(DataAccess dataAccess,
int flags)
Retrieves a QDR for this EdgeComponentInfo . |
int |
hashCode()
|
void |
setEdgeDepthIndex(int edge,
int depth,
int index)
Specifies the edge, depth, and index of this EdgeComponentInfo . |
java.lang.String |
toString()
Produces a String that identifies the edge, depth, and
index of the component. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EdgeComponentInfo(int edge, int depth, int index)
edge
- The edge that the component is on.depth
- The depth within edge
. The depth identifies the
location of the dimension or dimension member; 0 is the
outer-most dimension on the edge.index
- The index of the dimension member that this component
presents. The index is zero-based. Each
dimension member in the innermost dimension has a
unique index. In outer dimensions, any index that the
outer dimension spans can be used.Method Detail |
---|
public void setEdgeDepthIndex(int edge, int depth, int index)
EdgeComponentInfo
.
This method allows reuse of this EdgeComponentInfo
.
edge
- The edge of the component for which you want to use this
EdgeComponentInfo
. Constants are defined in
the DataDirector
interface.depth
- The depth of the component. The depth identifies the
location of the dimension or dimension member; 0 is the
outer-most dimension on the edge.index
- The index of the component. The index is zero-based. Each
dimension member in the innermost dimension has a
unique index. In outer dimensions, any index that the
outer dimension spans can be used.public java.lang.Object clone()
EdgeComponentInfo
.
clone
in class ComponentInfo
EdgeComponentInfo
.public int getEdge()
DataDirector
interface.DataDirector
public int getDepth()
public int getIndex()
public boolean equals(java.lang.Object o)
EdgeComponentInfo
.
EdgeComponentInfo
objects are equivalent if they refer
to the same edge, depth, and index.
equals
in class java.lang.Object
o
- The object to compare with this
EdgeComponentInfo
.
true
if both objects refer to the same edge, depth,
and index,
false
if not or if o
is not an
EdgeComponentInfo
.public QDR getQDR(DataAccess dataAccess, int flags)
QDR
for this EdgeComponentInfo
.
The QDR
identifies the dimension members for the
header cell for which this ColumnComponentInfo
provides
information.
For example, say you have the following column header in a crosstab.
Boston | Paris | ||
January 2000 | February 2000 | January 2000 | February 2000 |
In an EdgeComponentInfo
for the "Boston" cell, the
QDR
limits Geography to Boston.
In an EdgeComponentInfo
for the "January 2000" cell under
"Paris," the QDR
limits Geography to Paris, and it limits
Time to January 2000.
getQDR
in class ComponentInfo
dataAccess
- The DataAccess
that provided the data
for the header cell that this
EdgeComponentInfo
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 header cell that
this EdgeComponentInfo
describes.DataAccess.QDR_WITH_PAGE
,
DataAccess.QDR_WITHOUT_PAGE
public int hashCode()
hashCode
in class ComponentInfo
public java.lang.String toString()
String
that identifies the edge, depth, and
index of the component.
toString
in class java.lang.Object
String
. Zero is the column edge, 1 is the row edge,
and 2 is the page edge.
|
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 |