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