Share this page

com.hp.lft.sdk.java

# Interface TableCell

-     public interface TableCell

  A single cell in a Java Table.

- - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `void` | `click()` Clicks the cell.
    `void` | `click(MouseButton button)` Clicks the cell using the specified `MouseButton`.
    `void` | `click(MouseButton button, TableKeyModifier modifiers)` Clicks the cell using the specified `MouseButton` and `TableKeyModifier`.
    `void` | `doubleClick()` Double clicks the cell.
    `void` | `doubleClick(MouseButton button)` Double clicks the cell using the specified `MouseButton`.
    `void` | `doubleClick(MouseButton button, TableKeyModifier modifiers)` Double clicks the cell using the specified `MouseButton` and `TableKeyModifier`.
    `void` | `dragAndDropOn(TableCell targetCell)` Drags and drops this `TableCell` to the specified target `TableCell`.
    `void` | `dragAndDropOn(TableCell targetCell, MouseButton button)` Drags and drops this `TableCell` to the specified target `TableCell` using the specified `MouseButton`.
    `void` | `dragAndDropOn(TableCell targetCell, MouseButton button, TableKeyModifier modifiers)` Drags and drops this `TableCell` to the specified target `TableCell` using the specified `MouseButton` and `TableKeyModifier`.
    `java.lang.String` | `getColumnHeader()` Returns the column header name of the cell.
    `java.lang.Object` | `getValue()` Returns the content of the cell.
    `void` | `setValue(java.lang.Object value)` Sets the cell to a new value.

- - ### Method Detail

    - #### getValue

          java.lang.Object getValue()
                             throws GeneralLeanFtException

      Returns the content of the cell.
      Returns:
        the content of the cell.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### setValue

          void setValue(java.lang.Object value)
                 throws GeneralLeanFtException

      Sets the cell to a new value.
      Parameters:
        `value` - the new value.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getColumnHeader

          java.lang.String getColumnHeader()
                                    throws GeneralLeanFtException

      Returns the column header name of the cell.
      Returns:
        the column header name
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### click

          void click()
              throws GeneralLeanFtException

      Clicks the cell.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### click

          void click(MouseButton button)
              throws GeneralLeanFtException

      Clicks the cell using the specified `MouseButton`.
      Parameters:
        `button` - either the LEFT or RIGHT button value of `MouseButton`.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### click

          void click(MouseButton button,
                     TableKeyModifier modifiers)
              throws GeneralLeanFtException

      Clicks the cell using the specified `MouseButton` and `TableKeyModifier`.
      Parameters:
        `button` - either the LEFT or RIGHT button value of `MouseButton`.
        `modifiers` - a `TableKeyModifier` value indicating keys to be pressed and held while the operation is performed.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### doubleClick

          void doubleClick()
                    throws GeneralLeanFtException

      Double clicks the cell.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### doubleClick

          void doubleClick(MouseButton button)
                    throws GeneralLeanFtException

      Double clicks the cell using the specified `MouseButton`.
      Parameters:
        `button` - either the LEFT or RIGHT button value of `MouseButton`.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### doubleClick

          void doubleClick(MouseButton button,
                           TableKeyModifier modifiers)
                    throws GeneralLeanFtException

      Double clicks the cell using the specified `MouseButton` and `TableKeyModifier`.
      Parameters:
        `button` - either the LEFT or RIGHT button value of `MouseButton`.
        `modifiers` - a `TableKeyModifier` value indicating keys to be pressed and held while the operation is performed.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### dragAndDropOn

          void dragAndDropOn(TableCell targetCell)
                      throws GeneralLeanFtException

      Drags and drops this `TableCell` to the specified target `TableCell`.
      Parameters:
        `targetCell` - the target `TableCell` on which this `TableCell` is dropped.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### dragAndDropOn

          void dragAndDropOn(TableCell targetCell,
                             MouseButton button)
                      throws GeneralLeanFtException

      Drags and drops this `TableCell` to the specified target `TableCell` using the specified `MouseButton`.
      Parameters:
        `targetCell` - the target `TableCell` on which this `TableCell` is dropped.
        `button` - either the LEFT or RIGHT button value of `MouseButton`.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### dragAndDropOn

          void dragAndDropOn(TableCell targetCell,
                             MouseButton button,
                             TableKeyModifier modifiers)
                      throws GeneralLeanFtException

      Drags and drops this `TableCell` to the specified target `TableCell` using the specified `MouseButton` and `TableKeyModifier`.
      Parameters:
        `targetCell` - the target `TableCell` on which this `TableCell` is dropped.
        `button` - either the LEFT or RIGHT button value of `MouseButton`.
        `modifiers` - a `TableKeyModifier` value indicating keys to be pressed and held while the operation is performed.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

Tips to improve your search results... UFT Developer Java SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: