public class DataRangeComponentHandle extends ComponentHandle
m_dataAccess| Constructor and Description |
|---|
DataRangeComponentHandle(int id, java.lang.String name, java.lang.Object comp, DataComponentInfo[] rclist)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
ComponentInfo |
getComponentInfo()
Returns the
DataComponentInfo for the first cell in the range. |
DataComponentInfo[] |
getLocationList()
Retrieves the array of
DataComponentInfo objects for this DataRangeComponentHandle. |
java.lang.String |
toString()
Converts this object to a
String. |
getComponent, getID, getName, setDataAccess
public DataRangeComponentHandle(int id,
java.lang.String name,
java.lang.Object comp,
DataComponentInfo[] rclist)
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.public DataComponentInfo[] getLocationList()
DataComponentInfo objects for this DataRangeComponentHandle. The array contains a DataComponentInfo for each cell in the range.DataComponentInfo objects.public java.lang.String toString()
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.toString in class java.lang.ObjectString representation of this object.public ComponentInfo getComponentInfo()
DataComponentInfo for the first cell in the range. The first cell is at the intersection of the first row and the first column.getComponentInfo in class ComponentHandleDataComponentInfo for the cell in the range. The DataComponentInfo can be null, though this is not normal.DataComponentHandlepublic boolean equals(java.lang.Object o)
equals in class ComponentHandleDataRangeComponentHandle.