public class RowComponentHandle extends ComponentHandle
m_dataAccess| Constructor and Description |
|---|
RowComponentHandle(int id,
java.lang.String name,
java.lang.Object comp,
int row)
Constructor that uses a
int to specify the row. |
RowComponentHandle(int id,
java.lang.String name,
java.lang.Object comp,
RowComponentInfo info)
Constructor that uses a
RowComponentInfo to specify the row. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
ComponentInfo |
getComponentInfo()
Retrieves the
RowComponentInfo for the row that
this RowComponentHandle represents. |
int |
getRow()
Retrieves the number of the row that this
RowComponentHandle represents. |
java.lang.String |
toString()
Converts this object to a
String. |
getComponent, getID, getName, setDataAccesspublic RowComponentHandle(int id,
java.lang.String name,
java.lang.Object comp,
int row)
int to specify the row.id - A constant, such as GridView.DATA_ROW,
that identifies the component or kind of row that this
RowComponentHandle represents.
Other usable constants are
Crosstab.ROW_HIGHLIGHTER and
Crosstab.COL_GRABBER.name - The name of the represented component.comp - The actual reference to the component.row - The row that this RowComponentHandle
represents. Row numbers start at zero.public RowComponentHandle(int id,
java.lang.String name,
java.lang.Object comp,
RowComponentInfo info)
RowComponentInfo to specify the row.id - A constant, such as GridView.DATA_ROW,
that identifies the component or kind of row that this
RowComponentHandle represents.
Other usable constants are
Crosstab.ROW_HIGHLIGHTER and
Crosstab.COL_GRABBER.name - The name of the represented component.comp - The actual reference to the component.info - The row that this RowComponentHandle
represents. Row numbers start at zero.public int getRow()
RowComponentHandle represents.
This method gets the information from the RowComponentInfo.
Row numbers begin at zero.public ComponentInfo getComponentInfo()
RowComponentInfo for the row that
this RowComponentHandle represents.getComponentInfo in class ComponentHandleRowComponentInfo can be null, though this
is not normal.DataComponentHandlepublic java.lang.String toString()
String.
The String contains the name of this class, the name of the
component, and the row that this RowComponentHandle
represents.
Row numbers begin at zero.toString in class java.lang.ObjectString representation of this object.public boolean equals(java.lang.Object o)
equals in class ComponentHandleRowComponentHandle.