Package | Description |
---|---|
org.assertj.swing.core |
Low-level components that enable functional testing of AWT and Swing
Component s. |
org.assertj.swing.driver |
Component -specific test drivers. |
org.assertj.swing.fixture |
Public API, source of AssertJ-Swing's power and flexibility.
|
Modifier and Type | Method and Description |
---|---|
static MouseClickInfo |
MouseClickInfo.button(MouseButton button)
Specifies that the given button should be clicked once.
|
static MouseClickInfo |
MouseClickInfo.leftButton()
Specifies that the left button should be clicked once.
|
static MouseClickInfo |
MouseClickInfo.middleButton()
Specifies that the middle button should be clicked once.
|
static MouseClickInfo |
MouseClickInfo.rightButton()
Specifies that the right button should be clicked once.
|
MouseClickInfo |
MouseClickInfo.times(int newTimes)
Specifies how many times the mouse button should be clicked.
|
Modifier and Type | Method and Description |
---|---|
void |
ComponentDriver.click(Component c,
MouseClickInfo mouseClickInfo)
Simulates a user clicking the given mouse button, the given times on the given AWT or Swing
Component . |
void |
JTreeDriver.clickPath(JTree tree,
String path,
MouseClickInfo mouseClickInfo)
Clicks the given path, expanding parent nodes if necessary.
|
void |
JTreeDriver.clickRow(JTree tree,
int row,
MouseClickInfo mouseClickInfo)
Clicks the given row.
|
Modifier and Type | Method and Description |
---|---|
S |
AbstractComponentFixture.click(MouseClickInfo mouseClickInfo)
Simulates a user clicking this fixture's
Component . |
JTreePathFixture |
JTreePathFixture.click(MouseClickInfo mouseClickInfo)
Simulates a user clicking this fixture's tree node.
|
JTableCellFixture |
JTableCellFixture.click(MouseClickInfo mouseClickInfo)
Simulates a user clicking this fixture's table cell.
|
JListItemFixture |
JListItemFixture.click(MouseClickInfo mouseClickInfo)
Simulates a user clicking this fixture's list item.
|
S |
MouseInputSimulationFixture.click(MouseClickInfo mouseClickInfo)
Simulates a user clicking this fixture's
Component . |
JTreeRowFixture |
JTreeRowFixture.click(MouseClickInfo mouseClickInfo)
Simulates a user clicking this fixture's tree node.
|
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. |
JTableHeaderFixture |
JTableHeaderFixture.clickColumn(int index,
MouseClickInfo mouseClickInfo)
Simulates a user clicking the column under the given index, in this fixture's
JTableHeader , using the given
mouse button, the given number of times. |
JTableHeaderFixture |
JTableHeaderFixture.clickColumn(Pattern columnNamePattern,
MouseClickInfo mouseClickInfo)
Simulates a user clicking the column which name matches the given regular expression pattern, in this fixture's
JTableHeader , using the given mouse button, the given number of times. |
JTableHeaderFixture |
JTableHeaderFixture.clickColumn(String columnName,
MouseClickInfo mouseClickInfo)
Simulates a user clicking the column which name matches the given one, in this fixture's
JTableHeader ,
using the given mouse button, the given number of times. |
JTreeFixture |
JTreeFixture.clickPath(String path,
MouseClickInfo mouseClickInfo)
Clicks the given path, expanding parent nodes if necessary.
|
JTreeFixture |
JTreeFixture.clickRow(int row,
MouseClickInfo mouseClickInfo)
Clicks the given row.
|
Copyright © 2014–2019 AssertJ. All rights reserved.