Class GridProTester

  • All Implemented Interfaces:
    com.vaadin.browserless.Clickable

    
    public class GridProTester<T extends GridPro<Y>, Y>
    extends GridTester<T, Y>
                        

    Tester for GridPro components.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final T component
    • Constructor Summary

      Constructors 
      Constructor Description
      GridProTester(T component) Wrap gridpro for testing.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void setValue(int rowIndex, int columnIndex, Object value) Set value for the cell at the given row and column index.
      • Methods inherited from class com.vaadin.browserless.ComponentTester

        ensureComponentIsUsable, find, getComponent, isUsable, setModal
      • Methods inherited from class com.vaadin.flow.component.grid.GridTester

        clickRow, clickRow, clickRow, clickRow, doubleClickRow, doubleClickRow, doubleClickRow, doubleClickRow, getCellComponent, getCellComponent, getCellText, getColumn, getColumnPosition, getFooterCell, getHeaderCell, getLitRendererPropertyValue, getLitRendererPropertyValue, getRow, getSelected, getSortDirection, getSortDirection, invokeLitRendererFunction, invokeLitRendererFunction, invokeLitRendererFunction, invokeLitRendererFunction, isColumnSortable, isColumnSortable, select, selectAll, size, sortByColumn, sortByColumn, sortByColumn, sortByColumn
      • Methods inherited from class com.vaadin.browserless.Clickable

        click, click, click, middleClick, middleClick, rightClick, rightClick
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GridProTester

        GridProTester(T component)

        Wrap gridpro for testing.

        Parameters:
        component - target gridpro
    • Method Detail

      • setValue

         void setValue(int rowIndex, int columnIndex, Object value)

        Set value for the cell at the given row and column index. The column must be an EditColumn. The indexes for row and column are 0 based.

        Parameters:
        rowIndex - the index of the row
        columnIndex - the index of the column
        value - the value to set