IBM Rational Functional Tester
Version 8.1.1000
IBM Rational Functional Tester API Reference

Project Version 2.3

com.rational.test.ft.script
Class Cell

java.lang.Object   extended by com.rational.test.ft.script.Subitem
      extended by com.rational.test.ft.script.Cell

public class Cell
extends Subitem

A container class that enforces a semantic definition to a cell in a table or to a grid-type control in the software under test. A cell is the combination of a Column and a Row specification.

Since:
RFT1.0
See Also:
Column, Row

Constructor Summary
Cell(Column column, Row row)
           
Cell(Row row, Column column)
           
 
Method Summary
 boolean equals(java.lang.Object other)
          Indicates that two cells are considered equal.
 Column getColumn()
          Returns the column specification for the associated cell subitem.
 Row getRow()
          Returns the row specification for the associated cell subitem.
 void setColumn(Column column)
          Defines the column specification for the associated cell subitem.
 void setRow(Row row)
          Defines the row specification for the associated cell subitem.
 java.lang.String toString()
          Returns a String representing this object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Cell

public Cell(Column column,             Row row)

Cell

public Cell(Row row,             Column column)
Method Detail

setColumn

public void setColumn(Column column)
Defines the column specification for the associated cell subitem.

Parameters:
column - The new column specification to use
Since:
RFT1.0
See Also:
getColumn()

getColumn

public Column getColumn()
Returns the column specification for the associated cell subitem.

Since:
RFT1.0
See Also:
setColumn(Column)

setRow

public void setRow(Row row)
Defines the row specification for the associated cell subitem.

Parameters:
row - the new row specification
Since:
RFT1.0
See Also:
getRow()

getRow

public Row getRow()
Returns the row specification for the associated cell subitem.

Since:
RFT1.0
See Also:
setRow(Row)

toString

public java.lang.String toString()
Returns a String representing this object.

Overrides:
toString in class java.lang.Object
Since:
RFT1.0

equals

public boolean equals(java.lang.Object other)
Indicates that two cells are considered equal. These cells are considered equal if they are represented by equal column and row specifications.

Overrides:
equals in class java.lang.Object
Parameters:
cell - the cell specification to compare to
Returns:
True if the row and column specifications are equal
Since:
RFT1.0