| 
 | 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.EdgeComponentHandle
public class EdgeComponentHandle
Represents a cell in a row header or in a column header. This is normally a selected column or row heading, or the cell that you want to select programmatically. This class provides access to the item and information about its location.
| Field Summary | 
|---|
| Fields inherited from class oracle.dss.dataView.ComponentHandle | 
|---|
| m_dataAccess | 
| Constructor Summary | |
|---|---|
| EdgeComponentHandle(int id,
                    java.lang.String name,
                    java.lang.Object comp,
                    EdgeComponentInfo info)Constructor that uses an EdgeComponentInfoto identify the
 location of the cell. | |
| EdgeComponentHandle(int id,
                    java.lang.String name,
                    java.lang.Object comp,
                    int edge,
                    int depth,
                    int index)Constructor that uses edge, depth, and index values to identify the location of the cell. | |
| Method Summary | |
|---|---|
|  boolean | equals(java.lang.Object o) | 
|  ComponentInfo | getComponentInfo()Retrieves the EdgeComponentInfofor the cell that
 thisEdgeComponentHandlerepresents. | 
|  int | getDepth()Retrieves the depth of the cell. | 
|  int | getEdge()Retrieves the edge that the cell is on. | 
|  int | getIndex()Retrieves the index of the cell. | 
|  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 | 
| Constructor Detail | 
|---|
public EdgeComponentHandle(int id,
                           java.lang.String name,
                           java.lang.Object comp,
                           int edge,
                           int depth,
                           int index)
| June | July | ||||||||||
| Tents | Canoes | Tents | Canoes | ||||||||
| NY | Boston | LA | Toronto | Winnepeg | NY | LA | NY | Boston | LA | Toronto | Winnepeg | 
To identify the cell for Toronto, for Canoes, for June, the edge would be COLUMN_EDGE; the depth would be 2, and the index would be 3. Depth and index both begin at zero.
id - A constant, either GridView.COL_HEADER,
           or GridView.ROW_HEADER, that
           identifies the kind of header that contains the cell that this
           EdgeComponentHandle represents.name - The name of the represented component.comp - The actual reference to the component.edge - A constant, such as DataDirector.COLUMN_EDGE,
             that identifies
           the edge of the component.
           Constants are defined in the DataDirector interface.depth - The depth of the cell that this
           EdgeComponentHandle represents.
           Zero is the outermost dimension on the edge.index - The index of the cell. 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.DataDirector
public EdgeComponentHandle(int id,
                           java.lang.String name,
                           java.lang.Object comp,
                           EdgeComponentInfo info)
EdgeComponentInfo to identify the
 location of the cell.
id - A constant, either GridView.COL_HEADER,
           or GridView.ROW_HEADER, that
           identifies the kind of header that contains the cell that this
           EdgeComponentHandle represents.name - The name of the represented component.comp - The actual reference to the component.info - The EdgeComponentInfo that specifies the location
           of the item to represent.| Method Detail | 
|---|
public int getEdge()
DataDirector.COLUMN_EDGE,
         that identifies the edge that the cell is on.
         Constants are defined in the DataDirector interface.DataDirectorpublic int getDepth()
| June | July | ||||||||||
| Tents | Canoes | Tents | Canoes | ||||||||
| NY | Boston | LA | Toronto | Winnepeg | NY | LA | NY | Boston | LA | Toronto | Winnepeg | 
The Month dimension is at depth 0; the Product dimension is at depth 1; and the Geography dimension is at depth 2.
EdgeComponentInfo
         represents.public int getIndex()
| June | July | ||||||||||
| Tents | Canoes | Tents | Canoes | ||||||||
| NY | Boston | LA | Toronto | Winnepeg | NY | LA | NY | Boston | LA | Toronto | Winnepeg | 
Reading from left to right in the Geography dimension:
EdgeComponentHandle
         representspublic java.lang.String toString()
String.
 The String contains the name of this class, the name of the
 component, and location of the represented item, as identified by its
 edge, depth, and index.
toString in class java.lang.ObjectString representation of this object.public ComponentInfo getComponentInfo()
EdgeComponentInfo for the cell that
 this EdgeComponentHandle represents.
getComponentInfo in class ComponentHandleEdgeComponentInfo can be null,
         though this is not normal.DataComponentHandlepublic 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 | ||||||||