public class EdgeRangeComponentHandle extends ComponentHandle
GridView edge component and
provides information about the range.m_dataAccess| Constructor and Description |
|---|
EdgeRangeComponentHandle(int id,
java.lang.String name,
java.lang.Object comp,
EdgeComponentInfo[] elist)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
ComponentInfo |
getComponentInfo()
Retrieves the
EdgeComponentInfo for the first cell in the
range. |
EdgeComponentInfo[] |
getLocationList()
Retrieves the array of
EdgeComponentInfo objects for the
range of cells. |
java.lang.String |
toString()
Converts this object to a
String. |
getComponent, getID, getName, setDataAccesspublic EdgeRangeComponentHandle(int id,
java.lang.String name,
java.lang.Object comp,
EdgeComponentInfo[] elist)
id - A constant, such as GridView.ROW_HEADER_RANGE,
that identifies the items that this
EdgeRangeComponentHandle represents.
Constants are defined in the GridView class.name - The name of the represented component.comp - The actual reference to the header component.elist - Information about each cell in the range.public EdgeComponentInfo[] getLocationList()
EdgeComponentInfo objects for the
range of cells.
The array contains an EdgeComponentInfo for each cell
in the range.EdgeComponentInfo 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 edge number,
depth, and index of the first cell, and the edge number, depth,
and index of the last cell in the range.
For the edge number, zero is the column edge, 1 is the row edge, and
2 is the page edge.toString in class java.lang.ObjectString representation of this object.public ComponentInfo getComponentInfo()
EdgeComponentInfo for the first cell in the
range.getComponentInfo in class ComponentHandleEdgeComponentInfo for the first cell in the
range. This EdgeComponentInfo can be null,
though this is not normal.DataComponentHandlepublic boolean equals(java.lang.Object o)
equals in class ComponentHandleEdgeRangeComponentHandle.