Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.4.0)

E12063-05

oracle.dss.dataView
Class RowComponentHandle

java.lang.Object
  extended by oracle.dss.dataView.ComponentHandle
      extended by 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

Field Summary
 
Fields inherited from class oracle.dss.dataView.ComponentHandle
m_dataAccess
 
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
 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.
 
Methods inherited from class oracle.dss.dataView.ComponentHandle
getComponent, getID, getName, setDataAccess
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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.

Specified by:
getComponentInfo in class ComponentHandle
Returns:
Information about the row of the represented component. The RowComponentInfo can be null, though this is not normal.
See Also:
DataComponentHandle

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.

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class ComponentHandle

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.4.0)

E12063-05

Copyright © 1997, 2011, Oracle. All rights reserved.