Skip navigation links
oracle.dss.dataView
Class RowRangeComponentHandle
java.lang.Object
oracle.dss.dataView.ComponentHandle
oracle.dss.dataView.RowRangeComponentHandle
- All Implemented Interfaces:
- java.io.Serializable
-
public class RowRangeComponentHandle
- extends ComponentHandle
Represents a range of rows in the databody of a Gridview
. This is normally a selected range, or the range of rows 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 |
RowRangeComponentHandle
public RowRangeComponentHandle(int id,
java.lang.String name,
java.lang.Object comp,
RowComponentInfo[] rlist)
- Constructor.
- Parameters:
id
- The constant GridView.DATA_ROW_RANGE
, which identifies this as a handle for a range of rows.
name
- The name of the represented component.
comp
- The actual reference to the component.
clist
- Information about each row in the range. The first RowComponentInfo
should be for the first row in the range.
getLocationList
public RowComponentInfo[] getLocationList()
- Retrieves the array of
RowComponentInfo
objects for this RowRangeComponentHandle
. The array contains a RowComponentInfo
for each row in the range.
-
- Returns:
- An array of
RowComponentInfo
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 rows in the range, and the numbers of the first and last rows in the range. Row numbers begin at zero.
-
- Overrides:
toString
in class java.lang.Object
-
- Returns:
- The
String
representation of this object.
getComponentInfo
public ComponentInfo getComponentInfo()
- Retrieves the
RowComponentInfo
for the first row in the range.
-
- Specified by:
getComponentInfo
in class ComponentHandle
-
- Returns:
- The
RowComponentInfo
for the first row. The RowComponentInfo
can be null
, though this is not normal.
- See Also:
DataComponentHandle
equals
public boolean equals(java.lang.Object o)
-
- Overrides:
equals
in class ComponentHandle
-
- For internal use only. Application developers should not use this
- Indicates whether the specified object is equivalent to this
RowRangeComponentHandle
.
Skip navigation links
Copyright © 1997, 2012, Oracle. All rights reserved.