Package | Description |
---|---|
org.fest.swing.core |
Building blocks for all FEST-Swing fixtures.
|
org.fest.swing.driver |
Drivers that simulate user input on GUI
s. |
org.fest.swing.fixture |
The power and flexibility of FEST-Swing come from the fixtures in
this package.
|
Modifier and Type | Method and Description |
---|---|
MouseButton |
MouseClickInfo.button()
Returns the button to click.
|
static MouseButton |
MouseButton.lookup(int mask)
Returns the mouse button whose mask matches the given mask.
|
static MouseButton |
MouseButton.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MouseButton[] |
MouseButton.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static MouseClickInfo |
MouseClickInfo.button(MouseButton button)
Specifies that the given button should be clicked once.
|
void |
BasicRobot.click(Component c,
MouseButton button)
Simulates a user clicking once the given
using the given mouse button. |
void |
Robot.click(Component c,
MouseButton button)
Simulates a user clicking once the given
using the given mouse button. |
void |
BasicRobot.click(Component c,
MouseButton button,
int times)
Simulates a user clicking the given mouse button, the given times on the given
. |
void |
Robot.click(Component c,
MouseButton button,
int times)
Simulates a user clicking the given mouse button, the given times on the given
. |
void |
BasicRobot.click(Component c,
Point where,
MouseButton button,
int times)
Simulates a user clicking the given mouse button, the given times at the given position on the given
. |
void |
Robot.click(Component c,
Point where,
MouseButton button,
int times)
Simulates a user clicking the given mouse button, the given times at the given position on the given
. |
void |
BasicRobot.click(Point where,
MouseButton button,
int times)
Simulates a user clicking the given mouse button, the given times at the given absolute coordinates.
|
void |
Robot.click(Point where,
MouseButton button,
int times)
Simulates a user clicking the given mouse button, the given times at the given absolute coordinates.
|
void |
BasicRobot.pressMouse(Component c,
Point where,
MouseButton button)
Simulates a user pressing the given mouse button on the given
. |
void |
Robot.pressMouse(Component c,
Point where,
MouseButton button)
Simulates a user pressing the given mouse button on the given
. |
void |
BasicRobot.pressMouse(MouseButton button)
Simulates a user pressing a mouse button.
|
void |
Robot.pressMouse(MouseButton button)
Simulates a user pressing a mouse button.
|
void |
BasicRobot.pressMouse(Point where,
MouseButton button)
Simulates a user pressing the given mouse button on the given coordinates.
|
void |
Robot.pressMouse(Point where,
MouseButton button)
Simulates a user pressing the given mouse button on the given coordinates.
|
void |
BasicRobot.releaseMouse(MouseButton button)
Releases the given mouse button.
|
void |
Robot.releaseMouse(MouseButton button)
Releases the given mouse button.
|
Modifier and Type | Method and Description |
---|---|
void |
ComponentDriver.click(Component c,
MouseButton button)
Simulates a user clicking once the given
using the given mouse button. |
void |
ComponentDriver.click(Component c,
MouseButton button,
int times)
Simulates a user clicking the given mouse button, the given times on the given
. |
void |
JTableDriver.click(JTable table,
TableCell cell,
MouseButton mouseButton,
int times)
Clicks the given cell, using the specified mouse button, the given number of times.
|
void |
JTableHeaderDriver.clickColumn(JTableHeader tableHeader,
int columnIndex,
MouseButton button,
int times)
Clicks the column under the given index using the given mouse button the given number of times.
|
void |
JTableHeaderDriver.clickColumn(JTableHeader tableHeader,
Pattern columnNamePattern,
MouseButton button,
int times)
Clicks the column which name matches the given regular expression pattern using the given mouse button the given
number of times.
|
void |
JTableHeaderDriver.clickColumn(JTableHeader tableHeader,
String columnName,
MouseButton button,
int times)
Clicks the column which name matches the given one using the given mouse button the given number of times.
|
void |
JListDriver.clickItem(JList list,
int index,
MouseButton button,
int times)
Clicks the item under the given index, using the specified mouse button, the given number times.
|
void |
JListDriver.clickItem(JList list,
Pattern pattern,
MouseButton button,
int times)
Clicks the first item matching the given regular expression pattern, using the specified mouse button, the given
number times.
|
void |
JListDriver.clickItem(JList list,
String value,
MouseButton button,
int times)
Clicks the first item matching the given value, using the specified mouse button, the given number times.
|
void |
JTreeDriver.clickPath(JTree tree,
String path,
MouseButton button)
Clicks the given path, expanding parent nodes if necessary.
|
void |
JTreeDriver.clickRow(JTree tree,
int row,
MouseButton button)
Clicks the given row.
|
Modifier and Type | Method and Description |
---|---|
JOptionPaneFixture |
JOptionPaneFixture.click(MouseButton button)
Simulates a user clicking this fixture's
. |
JToolBarFixture |
JToolBarFixture.click(MouseButton button)
Simulates a user clicking this fixture's
. |
DialogFixture |
DialogFixture.click(MouseButton button)
Simulates a user clicking this fixture's
. |
JFileChooserFixture |
JFileChooserFixture.click(MouseButton button)
Simulates a user clicking this fixture's
. |
JComboBoxFixture |
JComboBoxFixture.click(MouseButton button)
Simulates a user clicking this fixture's
. |
JCheckBoxFixture |
JCheckBoxFixture.click(MouseButton button)
Simulates a user clicking this fixture's
. |
MouseInputSimulationFixture |
MouseInputSimulationFixture.click(MouseButton button)
Simulates a user clicking this fixture's GUI component.
|
JScrollBarFixture |
JScrollBarFixture.click(MouseButton button)
Simulates a user clicking this fixture's
. |
JTableCellFixture |
JTableCellFixture.click(MouseButton button)
Simulates a user clicking a cell in this fixture's table cell once, using the specified mouse button.
|
JSplitPaneFixture |
JSplitPaneFixture.click(MouseButton button)
Simulates a user clicking this fixture's
. |
FrameFixture |
FrameFixture.click(MouseButton button)
Simulates a user clicking this fixture's
. |
JTextComponentFixture |
JTextComponentFixture.click(MouseButton button)
Simulates a user clicking this fixture's
. |
JButtonFixture |
JButtonFixture.click(MouseButton button)
Simulates a user clicking this fixture's
. |
JTreePathFixture |
JTreePathFixture.click(MouseButton button)
Simulates a user clicking this fixture's tree node.
|
JTableFixture |
JTableFixture.click(MouseButton button)
Simulates a user clicking this fixture's
. |
JTabbedPaneFixture |
JTabbedPaneFixture.click(MouseButton button)
Simulates a user clicking this fixture's
. |
GenericComponentFixture<T> |
GenericComponentFixture.click(MouseButton button)
Simulates a user clicking this fixture's GUI component.
|
JSliderFixture |
JSliderFixture.click(MouseButton button)
Simulates a user clicking this fixture's
. |
JSpinnerFixture |
JSpinnerFixture.click(MouseButton button)
Simulates a user clicking this fixture's
. |
JPopupMenuFixture |
JPopupMenuFixture.click(MouseButton button)
Simulates a user clicking this fixture's
. |
JInternalFrameFixture |
JInternalFrameFixture.click(MouseButton button)
Simulates a user clicking this fixture's
. |
JToggleButtonFixture |
JToggleButtonFixture.click(MouseButton button)
Simulates a user clicking this fixture's
. |
JScrollPaneFixture |
JScrollPaneFixture.click(MouseButton button)
Simulates a user clicking this fixture's
. |
JRadioButtonFixture |
JRadioButtonFixture.click(MouseButton button)
Simulates a user clicking this fixture's
. |
JTreeFixture |
JTreeFixture.click(MouseButton button)
Simulates a user clicking this fixture's
. |
JTreeRowFixture |
JTreeRowFixture.click(MouseButton button)
Simulates a user clicking this fixture's tree node.
|
JPanelFixture |
JPanelFixture.click(MouseButton button)
Simulates a user clicking this fixture's
. |
JLabelFixture |
JLabelFixture.click(MouseButton button)
Simulates a user clicking this fixture's
. |
JListFixture |
JListFixture.click(MouseButton button)
Simulates a user clicking this fixture's
. |
JListItemFixture |
JListItemFixture.click(MouseButton button)
Simulates a user clicking this fixture's list item.
|
JTableFixture |
JTableFixture.click(TableCell cell,
MouseButton button)
Simulates a user clicking a cell in this fixture's
once, using the specified mouse
button. |
JTreeFixture |
JTreeFixture.clickPath(String path,
MouseButton button)
Clicks the given path, expanding parent nodes if necessary.
|
JTreeFixture |
JTreeFixture.clickRow(int row,
MouseButton button)
Clicks the given row.
|
Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.