Package | Description |
---|---|
org.fest.swing.fixture |
The power and flexibility of FEST-Swing come from the fixtures in
this package.
|
Modifier and Type | Method and Description |
---|---|
JTableFixture |
JTableFixture.cellReader(JTableCellReader cellReader)
Updates the implementation of
to use when comparing internal values of this
fixture's and the values expected in a test. |
JTableFixture |
JTableFixture.cellWriter(JTableCellWriter cellWriter)
Updates the implementation of
to use when comparing internal values of this
fixture's and the values expected in a test. |
JTableFixture |
JTableFixture.click()
Simulates a user clicking this fixture's
. |
JTableFixture |
JTableFixture.click(MouseButton button)
Simulates a user clicking this fixture's
. |
JTableFixture |
JTableFixture.click(MouseClickInfo mouseClickInfo)
Simulates a user clicking this fixture's
. |
JTableFixture |
JTableFixture.click(TableCell cell,
MouseButton button)
Simulates a user clicking a cell in this fixture's
once, using the specified mouse
button. |
JTableFixture |
JTableFixture.click(TableCell cell,
MouseClickInfo mouseClickInfo)
Simulates a user clicking a cell in this fixture's
, using the specified mouse button
the given number of times. |
JTableFixture |
JTableFixture.doubleClick()
Simulates a user double-clicking this fixture's
. |
JTableFixture |
JTableFixture.drag(TableCell cell)
Simulates a user dragging an item from this fixture's
. |
JTableFixture |
JTableFixture.drop(TableCell cell)
Simulates a user dropping an item to this fixture's
. |
JTableFixture |
JTableFixture.enterValue(TableCell cell,
String value)
Enters the given value in the given cell of this fixture's
, using this fixture's
. |
JTableFixture |
JTableFixture.focus()
Gives input focus to this fixture's
. |
JTableFixture |
JTableFixture.pressAndReleaseKey(KeyPressInfo keyPressInfo)
Simulates a user pressing given key with the given modifiers on this fixture's
. |
JTableFixture |
JTableFixture.pressAndReleaseKeys(int... keyCodes)
Simulates a user pressing and releasing the given keys on this fixture's
. |
JTableFixture |
JTableFixture.pressKey(int keyCode)
Simulates a user pressing the given key on this fixture's
. |
JTableFixture |
JTableFixture.releaseKey(int keyCode)
Simulates a user releasing the given key on this fixture's
. |
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
has the given number of columns. |
JTableFixture |
JTableFixture.requireContents(String[][] contents)
Asserts that the
String representation of the cell values in this fixture's
is equal to the given String array. |
JTableFixture |
JTableFixture.requireDisabled()
Asserts that this fixture's
is disabled. |
JTableFixture |
JTableFixture.requireEditable(TableCell cell)
Asserts that the given cell in this fixture's
is editable. |
JTableFixture |
JTableFixture.requireEnabled()
Asserts that this fixture's
is enabled. |
JTableFixture |
JTableFixture.requireEnabled(Timeout timeout)
Asserts that this fixture's
is enabled. |
JTableFixture |
JTableFixture.requireFocused()
Asserts that this fixture's
has input focus. |
JTableFixture |
JTableFixture.requireNoSelection()
Verifies that this fixture's
does not have any selection. |
JTableFixture |
JTableFixture.requireNotEditable(TableCell cell)
Asserts that the given cell in this fixture's
is not editable. |
JTableFixture |
JTableFixture.requireNotVisible()
Asserts that this fixture's
is not visible. |
JTableFixture |
JTableFixture.requireRowCount(int expected)
Asserts that this fixture's
has the given number of rows. |
JTableFixture |
JTableFixture.requireSelectedRows(int... rows)
Asserts that the set of selected rows in this fixture's
contains to the given row
indices. |
JTableFixture |
JTableFixture.requireToolTip(Pattern pattern)
Asserts that the toolTip in this fixture's
matches the given regular expression
pattern. |
JTableFixture |
JTableFixture.requireToolTip(String expected)
Asserts that the toolTip in this fixture's
matches the given value. |
JTableFixture |
JTableFixture.requireVisible()
Asserts that this fixture's
is visible. |
JTableFixture |
JTableFixture.rightClick()
Simulates a user right-clicking this fixture's
. |
JTableFixture |
JTableFixture.selectCell(TableCell cell)
Simulates a user selecting the given cell (row and column) of this fixture's
. |
JTableFixture |
JTableFixture.selectCells(TableCell... cells)
Simulates a user selecting the given cells of this fixture's
. |
JTableFixture |
JTableFixture.selectRows(int... rows)
Simulates a user selecting the given rows in this fixture's
. |
JTableFixture |
ComponentContainerFixture.table()
|
JTableFixture |
ContainerFixture.table()
|
JTableFixture |
ComponentContainerFixture.table(GenericTypeMatcher<? extends JTable> matcher)
|
JTableFixture |
ContainerFixture.table(GenericTypeMatcher<? extends JTable> matcher)
|
JTableFixture |
ComponentContainerFixture.table(String name)
|
JTableFixture |
ContainerFixture.table(String name)
|
Constructor and Description |
---|
JTableCellFixture(JTableFixture table,
TableCell cell)
Creates a new
. |
Copyright © 2007-2013 FEST (Fixtures for Easy Software Testing). All Rights Reserved.