public class RowRangeComponentHandle extends ComponentHandle
Gridview
.
This is normally a selected range, or the range of rows that you want
to select programmatically.m_dataAccess
Constructor and Description |
---|
RowRangeComponentHandle(int id,
java.lang.String name,
java.lang.Object comp,
RowComponentInfo[] rlist)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
ComponentInfo |
getComponentInfo()
Retrieves the
RowComponentInfo for the first row
in the range. |
RowComponentInfo[] |
getLocationList()
Retrieves the array of
RowComponentInfo objects for
this RowRangeComponentHandle . |
java.lang.String |
toString()
Converts this object to a
String . |
getComponent, getID, getName, setDataAccess
public RowRangeComponentHandle(int id, java.lang.String name, java.lang.Object comp, RowComponentInfo[] rlist)
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.public RowComponentInfo[] getLocationList()
RowComponentInfo
objects for
this RowRangeComponentHandle
.
The array contains a RowComponentInfo
for each
row in the range.RowComponentInfo
objects.public java.lang.String toString()
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.toString
in class java.lang.Object
String
representation of this object.public ComponentInfo getComponentInfo()
RowComponentInfo
for the first row
in the range.getComponentInfo
in class ComponentHandle
RowComponentInfo
for the first row.
The RowComponentInfo
can be null
,
though this is not normal.DataComponentHandle
public boolean equals(java.lang.Object o)
equals
in class ComponentHandle
RowRangeComponentHandle
.