Skip navigation links
oracle.dss.dataView
Class DataRangeComponentHandle
java.lang.Object
oracle.dss.dataView.ComponentHandle
oracle.dss.dataView.DataRangeComponentHandle
- All Implemented Interfaces:
- java.io.Serializable
-
public class DataRangeComponentHandle
- extends ComponentHandle
Represents a range of cells in the databody of a table or crosstab. This is normally a selected range, or the range of data cells that you want to select programmatically.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DataRangeComponentHandle
public DataRangeComponentHandle(int id,
java.lang.String name,
java.lang.Object comp,
DataComponentInfo[] rclist)
- Constructor.
- Parameters:
id
- The constant GridView.DATA_CELL_RANGE
, which identifies this as a handle for a range of data cells.
name
- The name of the represented component.
comp
- The actual reference to the component.
rclist
- Information about the row and column for each cell in the range.
getLocationList
public DataComponentInfo[] getLocationList()
- Retrieves the array of
DataComponentInfo
objects for this DataRangeComponentHandle
. The array contains a DataComponentInfo
for each cell in the range.
-
- Returns:
- An array of
DataComponentInfo
objects.
toString
public java.lang.String toString()
- Converts this object to a
String
. The String
contains the name of this class, the name of the component, the number of cells in the range, the row and column number of the first cell, and the row and column of the and last cell in the range. Row and column numbers begin at zero.
-
- Overrides:
toString
in class java.lang.Object
-
- Returns:
- The
String
representation of this object.
getComponentInfo
public ComponentInfo getComponentInfo()
- Returns the
DataComponentInfo
for the first cell in the range. The first cell is at the intersection of the first row and the first column.
-
- Specified by:
getComponentInfo
in class ComponentHandle
-
- Returns:
- The
DataComponentInfo
for the cell in the range. The DataComponentInfo
can be null, though this is not normal.
- See Also:
DataComponentHandle
equals
public boolean equals(java.lang.Object o)
-
- Overrides:
equals
in class ComponentHandle
Skip navigation links
Copyright © 1997, 2009, Oracle. All rights reserved.