public class ColumnRangeComponentHandle extends ComponentHandle
Gridview. This is normally a selected range, or the range of columns that you want to select programmatically.m_dataAccess| Constructor and Description |
|---|
ColumnRangeComponentHandle(int id, java.lang.String name, java.lang.Object comp, ColumnComponentInfo[] clist)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
ComponentInfo |
getComponentInfo()
Retrieves the
ColumnComponentInfo for the first column in the range that this ColumnRangeComponentHandle. |
ColumnComponentInfo[] |
getLocationList()
Retrieves the array of
ColumnComponentInfo objects for this ColumnRangeComponentHandle. |
java.lang.String |
toString()
Converts this object to a
String. |
getComponent, getID, getName, setDataAccess
public ColumnRangeComponentHandle(int id,
java.lang.String name,
java.lang.Object comp,
ColumnComponentInfo[] clist)
id - The constant GridView.DATA_COLUMN_RANGE, which identifies this as a handle for a range of columns.name - The name of the represented component.comp - The actual reference to the component.clist - Information about each column in the range. The first ColumnComponentInfo should be for the first column in the range.public ColumnComponentInfo[] getLocationList()
ColumnComponentInfo objects for this ColumnRangeComponentHandle. The array contains a ColumnComponentInfo for each column in the represented range.ColumnComponentInfo objects.public java.lang.String toString()
String. The String contains the name of this class, the name of the component, the number of columns in the range, and the numbers of the first and last column in the range. Column numbers begin at zero.toString in class java.lang.ObjectString representation of this object.public ComponentInfo getComponentInfo()
ColumnComponentInfo for the first column in the range that this ColumnRangeComponentHandle.getComponentInfo in class ComponentHandleColumnComponentInfo for the first column. The ColumnComponentInfo can be null.DataComponentHandlepublic boolean equals(java.lang.Object o)
equals in class ComponentHandleColumnRangeComponentHandle.