Package | Description |
---|---|
org.assertj.swing.fixture |
Public API, source of AssertJ-Swing's power and flexibility.
|
Modifier and Type | Method and Description |
---|---|
JTableFixture |
JTableFixture.click(TableCell cell,
MouseButton button)
Simulates a user clicking a cell in this fixture's
JTable once, using the specified mouse button. |
JTableFixture |
JTableFixture.click(TableCell cell,
MouseClickInfo mouseClickInfo)
Simulates a user clicking a cell in this fixture's
JTable , using the specified mouse button the given
number of times. |
JTableFixture |
JTableFixture.drag(TableCell cell)
Simulates a user dragging an item from this fixture's
JTable . |
JTableFixture |
JTableFixture.drop(TableCell cell)
Simulates a user dropping an item to this fixture's
JTable . |
JTableFixture |
JTableFixture.enterValue(TableCell cell,
String value)
Enters the given value in the given cell of this fixture's
JTable , using this fixture's
JTableCellWriter . |
JTableFixture |
JTableFixture.requireCellValue(TableCell cell,
Pattern pattern)
Asserts that the value of the given cell matches the given regular expression pattern.
|
JTableFixture |
JTableFixture.requireCellValue(TableCell cell,
String value)
Asserts that the value of the given cell matches the given value.
|
JTableFixture |
JTableFixture.requireColumnCount(int expected)
Asserts that this fixture's
JTable has the given number of columns. |
JTableFixture |
JTableFixture.requireColumnNamed(String columnName)
Asserts that this fixture's
JTable contains a column whose name matches the given one. |
JTableFixture |
JTableFixture.requireContents(String[][] contents)
Asserts that the
String representation of the cell values in this fixture's JTable is equal to the
given String array. |
JTableFixture |
JTableFixture.requireEditable(TableCell cell)
Asserts that the given cell in this fixture's
JTable is editable. |
JTableFixture |
JTableFixture.requireNoSelection()
Verifies that this fixture's
JTable does not have any selection. |
JTableFixture |
JTableFixture.requireNotEditable(TableCell cell)
Asserts that the given cell in this fixture's
JTable is not editable. |
JTableFixture |
JTableFixture.requireRowCount(int expected)
Asserts that this fixture's
JTable has the given number of rows. |
JTableFixture |
JTableFixture.requireSelectedRows(int... rows)
Asserts that the set of selected rows in this fixture's
JTable contains to the given row indices. |
JTableFixture |
JTableFixture.selectCell(TableCell cell)
Simulates a user selecting the given cell (row and column) of this fixture's
JTable . |
JTableFixture |
JTableFixture.selectCells(TableCell... cells)
Simulates a user selecting the given cells of this fixture's
JTable . |
JTableFixture |
JTableFixture.selectRows(int... rows)
Simulates a user selecting the given rows in this fixture's
JTable . |
JTableFixture |
AbstractContainerFixture.table() |
JTableFixture |
ComponentContainerFixture.table()
Returns a
JTable found in this fixture's Container . |
JTableFixture |
AbstractContainerFixture.table(GenericTypeMatcher<? extends JTable> matcher) |
JTableFixture |
ComponentContainerFixture.table(GenericTypeMatcher<? extends JTable> matcher)
Finds a
JTable in this fixture's Container , that matches the specified search criteria. |
JTableFixture |
AbstractContainerFixture.table(String name) |
JTableFixture |
ComponentContainerFixture.table(String name)
Finds a
JTable in this fixture's Container , which name matches the specified one. |
JTableFixture |
JTableFixture.unselectCell(TableCell cell)
Simulates a user unselecting the given cell (row and column) of this fixture's
JTable . |
JTableFixture |
JTableFixture.unselectCells(TableCell... cells)
Simulates a user unselecting the given cells of this fixture's
JTable . |
JTableFixture |
JTableFixture.unselectRows(int... rows)
Simulates a user unselecting the given rows in this fixture's
JTable . |
Constructor and Description |
---|
JTableCellFixture(JTableFixture table,
TableCell cell)
Creates a new
JTableCellFixture . |
Copyright © 2014–2019 AssertJ. All rights reserved.