oracle.dss.dataView
Class RowComponentHandle
java.lang.Object
|
+--oracle.dss.dataView.ComponentHandle
|
+--oracle.dss.dataView.RowComponentHandle
- All Implemented Interfaces:
- java.io.Serializable
- public class RowComponentHandle
- extends ComponentHandle
Represents a a row in the databody of a crosstab or table. This is normally a selected row, or the column that you want to select programmatically.
- See Also:
- Serialized Form
| Constructor Summary |
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. |
| Method Summary |
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. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RowComponentHandle
public RowComponentHandle(int id,
java.lang.String name,
java.lang.Object comp,
int row)
- Constructor that uses a
int to specify the row.
-
- Parameters:
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.
RowComponentHandle
public RowComponentHandle(int id,
java.lang.String name,
java.lang.Object comp,
RowComponentInfo info)
- Constructor that uses a
RowComponentInfo to specify the row.
-
- Parameters:
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.
getRow
public int getRow()
- Retrieves the number of the row that this
RowComponentHandle represents. This method gets the information from the RowComponentInfo. Row numbers begin at zero.
-
- Returns:
- The row number of the component.
getComponentInfo
public ComponentInfo getComponentInfo()
- Retrieves the
RowComponentInfo for the row that this RowComponentHandle represents.
-
- Overrides:
getComponentInfo in class ComponentHandle
-
- Returns:
- Information about the row of the represented component. The
RowComponentInfo can be null, though this is not normal.
toString
public java.lang.String toString()
- Converts this object to a
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.
-
- Overrides:
toString in class java.lang.Object
-
- Returns:
- The
String representation of this object.
Copyright © 2003, Oracle. All Rights Reserved.