Uses of Enum Class
org.fest.swing.core.MouseButton
Packages that use MouseButton
Package
Description
Building blocks for all FEST-Swing fixtures.
Drivers that simulate user input on GUI
Component
s.
The power and flexibility of FEST-Swing come from the fixtures in
this package.
-
Uses of MouseButton in org.fest.swing.core
Fields in org.fest.swing.core declared as MouseButtonMethods in org.fest.swing.core that return MouseButtonModifier and TypeMethodDescriptionMouseClickInfo.button()
Returns the button to click.static MouseButton
MouseButton.lookup
(int mask) Returns the mouse button whose mask matches the given mask.static MouseButton
Returns the enum constant of this class with the specified name.static MouseButton[]
MouseButton.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.fest.swing.core with parameters of type MouseButtonModifier and TypeMethodDescriptionstatic MouseClickInfo
MouseClickInfo.button
(MouseButton button) Specifies that the given button should be clicked once.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
.Component
void
BasicRobot.click
(Component c, MouseButton button) Simulates a user clicking once the given
using the given mouse button.Component
void
BasicRobot.click
(Component c, MouseButton button, int times) Simulates a user clicking the given mouse button, the given times on the given
.Component
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
(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
.Component
void
Robot.click
(Component c, MouseButton button) Simulates a user clicking once the given
using the given mouse button.Component
void
Robot.click
(Component c, MouseButton button, int times) Simulates a user clicking the given mouse button, the given times on the given
.Component
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
.Component
void
BasicRobot.pressMouse
(Point where, MouseButton button) Simulates a user pressing the given mouse button on the given coordinates.void
BasicRobot.pressMouse
(MouseButton button) Simulates a user pressing a mouse button.void
Robot.pressMouse
(Component c, Point where, MouseButton button) Simulates a user pressing the given mouse button on the given
.Component
void
Robot.pressMouse
(Point where, MouseButton button) Simulates a user pressing the given mouse button on the given coordinates.void
Robot.pressMouse
(MouseButton button) Simulates a user pressing a mouse button.void
BasicRobot.releaseMouse
(MouseButton button) Releases the given mouse button.void
Robot.releaseMouse
(MouseButton button) Releases the given mouse button.Constructors in org.fest.swing.core with parameters of type MouseButton -
Uses of MouseButton in org.fest.swing.driver
Methods in org.fest.swing.driver with parameters of type MouseButtonModifier and TypeMethodDescriptionvoid
ComponentDriver.click
(Component c, MouseButton button) Simulates a user clicking once the given
using the given mouse button.Component
void
ComponentDriver.click
(Component c, MouseButton button, int times) Simulates a user clicking the given mouse button, the given times on the given
.Component
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, 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
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.private void
JTableHeaderDriver.clickColumn
(JTableHeader tableHeader, TextMatcher matcher, MouseButton button, int 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, String value, MouseButton button, int times) Clicks the first item matching the given value, 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.private void
JListDriver.clickItem
(JList list, TextMatcher matcher, MouseButton button, int times) void
JTreeDriver.clickPath
(JTree tree, String path, MouseButton button) Clicks the given path, expanding parent nodes if necessary.private void
JTreeDriver.clickPath
(JTree tree, String path, MouseButton button, int times) void
JTreeDriver.clickRow
(JTree tree, int row, MouseButton button) Clicks the given row.private void
JTreeDriver.clickRow
(JTree tree, int row, MouseButton button, int times) private void
JTreeDriver.validateIsNotNull
(MouseButton button) -
Uses of MouseButton in org.fest.swing.fixture
Methods in org.fest.swing.fixture with parameters of type MouseButtonModifier and TypeMethodDescriptionDialogFixture.click
(MouseButton button) Simulates a user clicking this fixture's
.Dialog
FrameFixture.click
(MouseButton button) Simulates a user clicking this fixture's
.Frame
GenericComponentFixture.click
(MouseButton button) Simulates a user clicking this fixture's GUI component.JButtonFixture.click
(MouseButton button) Simulates a user clicking this fixture's
.JButton
JCheckBoxFixture.click
(MouseButton button) Simulates a user clicking this fixture's
.JCheckBox
JComboBoxFixture.click
(MouseButton button) Simulates a user clicking this fixture's
.JComboBox
JFileChooserFixture.click
(MouseButton button) Simulates a user clicking this fixture's
.JFileChooser
JInternalFrameFixture.click
(MouseButton button) Simulates a user clicking this fixture's
.JInternalFrame
JLabelFixture.click
(MouseButton button) Simulates a user clicking this fixture's
.JLabel
JListFixture.click
(MouseButton button) Simulates a user clicking this fixture's
.JList
final JListItemFixture
JListItemFixture.click
(MouseButton button) Simulates a user clicking this fixture's list item.JOptionPaneFixture.click
(MouseButton button) Simulates a user clicking this fixture's
.JOptionPane
JPanelFixture.click
(MouseButton button) Simulates a user clicking this fixture's
.JPanel
JPopupMenuFixture.click
(MouseButton button) Simulates a user clicking this fixture's
.JPopupMenu
JRadioButtonFixture.click
(MouseButton button) Simulates a user clicking this fixture's
.JRadioButton
JScrollBarFixture.click
(MouseButton button) Simulates a user clicking this fixture's
.JScrollBar
JScrollPaneFixture.click
(MouseButton button) Simulates a user clicking this fixture's
.JScrollPane
JSliderFixture.click
(MouseButton button) Simulates a user clicking this fixture's
.JSlider
JSpinnerFixture.click
(MouseButton button) Simulates a user clicking this fixture's
.JSpinner
JSplitPaneFixture.click
(MouseButton button) Simulates a user clicking this fixture's
.JSplitPane
JTabbedPaneFixture.click
(MouseButton button) Simulates a user clicking this fixture's
.JTabbedPane
JTableCellFixture.click
(MouseButton button) Simulates a user clicking a cell in this fixture's table cell once, using the specified mouse button.private JTableCellFixture
JTableCellFixture.click
(MouseButton button, int times) JTableFixture.click
(MouseButton button) Simulates a user clicking this fixture's
.JTable
JTableFixture.click
(TableCell cell, MouseButton button) Simulates a user clicking a cell in this fixture's
once, using the specified mouse button.JTable
(package private) void
JTableFixture.click
(TableCell cell, MouseButton button, int times) JTextComponentFixture.click
(MouseButton button) Simulates a user clicking this fixture's
.JTextComponent
JToggleButtonFixture.click
(MouseButton button) Simulates a user clicking this fixture's
.JToggleButton
JToolBarFixture.click
(MouseButton button) Simulates a user clicking this fixture's
.JToolBar
JTreeFixture.click
(MouseButton button) Simulates a user clicking this fixture's
.JTree
JTreePathFixture.click
(MouseButton button) Simulates a user clicking this fixture's tree node.JTreeRowFixture.click
(MouseButton button) Simulates a user clicking this fixture's tree node.MouseInputSimulationFixture.click
(MouseButton button) Simulates a user clicking this fixture's GUI component.(package private) void
JListFixture.clickItem
(int index, MouseButton button, int times) JTreeFixture.clickPath
(String path, MouseButton button) Clicks the given path, expanding parent nodes if necessary.JTreeFixture.clickRow
(int row, MouseButton button) Clicks the given row.