Class JTableMouseDriver

java.lang.Object
org.netbeans.jemmy.drivers.LightSupportiveDriver
org.netbeans.jemmy.drivers.tables.JTableMouseDriver
All Implemented Interfaces:
LightDriver, TableDriver

public class JTableMouseDriver extends LightSupportiveDriver implements TableDriver
TableDriver for javax.swing.JTableDriver component type.
Author:
Alexandre Iline(alexandre.iline@sun.com)
  • Constructor Details

    • JTableMouseDriver

      public JTableMouseDriver()
      Constructs a JTableMouseDriver.
  • Method Details

    • selectCell

      public void selectCell(ComponentOperator oper, int row, int column)
      Description copied from interface: TableDriver
      Selects a cell.
      Specified by:
      selectCell in interface TableDriver
      Parameters:
      oper - Table operator.
      row - Cell row index.
      column - Cell column index.
    • editCell

      public void editCell(ComponentOperator oper, int row, int column, Object value)
      Description copied from interface: TableDriver
      Edits a cell.
      Specified by:
      editCell in interface TableDriver
      Parameters:
      oper - Table operator.
      row - Cell row index.
      column - Cell column index.
      value - New value.
    • clickOnCell

      protected void clickOnCell(JTableOperator oper, int row, int column, int clickCount)
      Clicks on JTable cell.
      Parameters:
      oper - Table operator.
      row - Cell row index.
      column - Cell column index.
      clickCount - Count to click.