com.rational.test.ft.vp

Interface ITestDataTableRegion



  • public interface ITestDataTableRegion
    Represents a region of a corresponding table. A region is a single cell or a block of cells in the table. Five types of regions are supported:
    • All Cells specifies that all the cells in the table are in the region.

    • Cell specifies that a single cell constitutes the region.

    • Column specifies that all the cells in a single column are in the region.

    • Row specifies that all the cells in a single row are in the region.

    • Block specifies that all the cells in a block of cells are in the region.

    A block of cells lies within a rectangular region that is delineated by a top-left cell and a bottom-right cell. All cells that lie within the boundaries of the rectangle are included in the region.

    Since:
    RFT1.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      Cell getBottomRightCell()
      Returns the lower right cell associated with a block region.
      Cell getCell()
      Returns the cell associated with a cell region.
      Column getColumn()
      Returns the column associated with a column region.
      Row getRow()
      Returns the row associated with a row region.
      Cell getTopLeftCell()
      Returns the upper left cell associated with a block region.
      boolean isAllCells()
      Returns true if all the cells in the table are in the region.
      boolean isBlock()
      Returns true if the region is a block of cells in the corresponding table.
      boolean isCell()
      Returns true if the region is a single cell of the corresponding table.
      boolean isColumn()
      Returns true if the region is a single column of the corresponding table.
      boolean isRow()
      Returns true if the region is a single row of the corresponding table.
    • Method Detail

      • isAllCells

        boolean isAllCells()
        Returns true if all the cells in the table are in the region.
        Since:
        RFT1.0
      • isCell

        boolean isCell()
        Returns true if the region is a single cell of the corresponding table.
        Since:
        RFT1.0
      • getCell

        Cell getCell()
        Returns the cell associated with a cell region. If this region is not a cell region, an appropriate exception is thrown.
        Since:
        RFT1.0
      • isColumn

        boolean isColumn()
        Returns true if the region is a single column of the corresponding table.
        Since:
        RFT1.0
      • getColumn

        Column getColumn()
        Returns the column associated with a column region. If this region is not a column region, an appropriate exception is thrown.
        Since:
        RFT1.0
      • isRow

        boolean isRow()
        Returns true if the region is a single row of the corresponding table.
        Since:
        RFT1.0
      • getRow

        Row getRow()
        Returns the row associated with a row region. If this region is not a row region, an appropriate exception is thrown.
        Since:
        RFT1.0
      • isBlock

        boolean isBlock()
        Returns true if the region is a block of cells in the corresponding table.
        Since:
        RFT1.0
      • getTopLeftCell

        Cell getTopLeftCell()
        Returns the upper left cell associated with a block region. If this region is not a block region, an appropriate exception is thrown.
        Since:
        RFT1.0
      • getBottomRightCell

        Cell getBottomRightCell()
        Returns the lower right cell associated with a block region. If this region is not a block region, an appropriate exception is thrown.
        Since:
        RFT1.0