Uses of Interface
org.fest.swing.core.Robot
Packages that use Robot
Package
Description
Building blocks for all FEST-Swing fixtures.
Drivers that simulate user input on GUI
Component
s.
Support for testing time-consuming tasks.
The power and flexibility of FEST-Swing come from the fixtures in
this package.
Support for writing test classes.
-
Uses of Robot in org.fest.swing.core
Classes in org.fest.swing.core that implement RobotFields in org.fest.swing.core declared as RobotMethods in org.fest.swing.core that return RobotModifier and TypeMethodDescriptionstatic Robot
BasicRobot.robotWithCurrentAwtHierarchy()
Creates a new
that has access to all the GUI components in the AWT hierarchy.Robot
static Robot
BasicRobot.robotWithNewAwtHierarchy()
Creates a new
with a new AWT hierarchy.Robot
Methods in org.fest.swing.core with parameters of type RobotModifier and TypeMethodDescriptionstatic void
Scrolling.scrollToVisible
(Robot robot, JComponent c) Scrolls a
into view within a container.JComponent
private static void
Scrolling.scrollToVisible
(Robot robot, JComponent container, Component target) Scrolls a component into view within a container.private static void
Scrolling.scrollToVisible
(Robot robot, JComponent c, Rectangle rectangle) Scrolls a rectangular region of a component into view.Constructors in org.fest.swing.core with parameters of type RobotModifierConstructorDescriptionComponentDragAndDrop
(Robot robot) Creates a newComponentDragAndDrop
. -
Uses of Robot in org.fest.swing.driver
Fields in org.fest.swing.driver declared as RobotModifier and TypeFieldDescriptionprotected final Robot
AbstractJTableCellWriter.robot
protected final Robot
ComponentDriver.robot
private final Robot
DragAndDrop.robot
Deprecated.private final Robot
JComboBoxDropDownListFinder.robot
private final Robot
MultipleSelectionTemplate.robot
Methods in org.fest.swing.driver with parameters of type RobotModifier and TypeMethodDescriptionstatic void
Scrolling.scrollToVisible
(Robot robot, JComponent c) Deprecated.Scrolls a
into view within a container.JComponent
Constructors in org.fest.swing.driver with parameters of type RobotModifierConstructorDescriptionAbstractButtonDriver
(Robot robot) Creates a newAbstractButtonDriver
.AbstractJTableCellWriter
(Robot robot) BasicJTableCellWriter
(Robot robot) ComponentDriver
(Robot robot) Creates a newComponentDriver
.ContainerDriver
(Robot robot) Creates a newContainerDriver
.DialogDriver
(Robot robot) Creates a newDialogDriver
.DragAndDrop
(Robot robot) Deprecated.FrameDriver
(Robot robot) Creates a newFrameDriver
.JAppletDriver
(Robot robot) Creates a newJAppletDriver
.JComboBoxDriver
(Robot robot) Creates a newJComboBoxDriver
.(package private)
JComboBoxDropDownListFinder
(Robot robot) JComponentDriver
(Robot robot) Creates a newJComponentDriver
.JFileChooserDriver
(Robot robot) Creates a newJFileChooserDriver
.JInternalFrameDriver
(Robot robot) Creates a newJInternalFrameDriver
.JLabelDriver
(Robot robot) Creates a newJLabelDriver
.JListDriver
(Robot robot) Creates a newJListDriver
.JMenuItemDriver
(Robot robot) Creates a newJMenuItemDriver
.JOptionPaneDriver
(Robot robot) Creates a newJOptionPaneDriver
.JPopupMenuDriver
(Robot robot) Creates a newJPopupMenuDriver
.JProgressBarDriver
(Robot robot) Creates a newJProgressBarDriver
.JScrollBarDriver
(Robot robot) Creates a newJScrollBarDriver
.JScrollPaneDriver
(Robot robot) Creates a newJScrollPaneDriver
.JSliderDriver
(Robot robot) Creates a newJSliderDriver
.JSpinnerDriver
(Robot robot) Creates a newJSpinnerDriver
.JSplitPaneDriver
(Robot robot) Creates a newJSplitPaneDriver
.JTabbedPaneDriver
(Robot robot) Creates a newJTabbedPaneDriver
.(package private)
JTabbedPaneDriver
(Robot robot, JTabbedPaneLocation location) Creates a newJTabbedPaneDriver
.JTableDriver
(Robot robot) Creates a newJTableDriver
.JTableHeaderDriver
(Robot robot) Creates a newJTableHeaderDriver
.JTextComponentDriver
(Robot robot) Creates a newJTextComponentDriver
.JToolBarDriver
(Robot robot) Creates a newJToolBarDriver
.JTreeDriver
(Robot robot) Creates a newJTreeDriver
.(package private)
MultipleSelectionTemplate
(Robot robot) WindowDriver
(Robot robot) Creates a newWindowDriver
. -
Uses of Robot in org.fest.swing.finder
Methods in org.fest.swing.finder with parameters of type RobotModifier and TypeMethodDescriptionprotected final T
ComponentFinderTemplate.findComponentWith
(Robot robot) Finds the component using either by name or type.abstract ComponentFixture<T>
Finds a component by name or type using the given robot.Finds a
by name or type.Dialog
Finds a
by name or type.Frame
Finds a
by name or type.JFileChooser
Finds a
by name or type.JOptionPane
abstract WindowFixture<T>
Finds a window by name or type using the given robot. -
Uses of Robot in org.fest.swing.fixture
Fields in org.fest.swing.fixture declared as RobotModifier and TypeFieldDescriptionfinal Robot
ComponentFixture.robot
Performs simulation of user events onComponentFixture.target
private final Robot
JMenuItemFinder.robot
Methods in org.fest.swing.fixture that return RobotModifier and TypeMethodDescriptionstatic Robot
ComponentFixtureValidator.notNullRobot
(Robot robot) Verifies that the given
is notRobot
null
.Methods in org.fest.swing.fixture with parameters of type RobotModifier and TypeMethodDescriptionabstract F
ComponentFixtureExtension.createFixture
(Robot robot, Container root) Creates a new
.ComponentFixture
private static JOptionPane
JOptionPaneFixture.findShowingOptionPane
(Robot robot) private static <C extends Component>
CComponentFixture.findTarget
(Robot robot, Class<? extends C> type) private static <C extends Component>
CComponentFixture.findTarget
(Robot robot, String name, Class<? extends C> type) static Robot
ComponentFixtureValidator.notNullRobot
(Robot robot) Verifies that the given
is notRobot
null
.private static boolean
ComponentFixture.requireShowing
(Robot robot) private static void
Constructors in org.fest.swing.fixture with parameters of type RobotModifierConstructorDescriptionComponentFixture
(Robot robot, Class<? extends T> type) Creates a new
.ComponentFixture
ComponentFixture
(Robot robot, String name, Class<? extends T> type) Creates a new
.ComponentFixture
ComponentFixture
(Robot robot, T target) Creates a new
.ComponentFixture
ContainerFixture
(Robot robot, Class<? extends T> type) Creates a new
.ContainerFixture
ContainerFixture
(Robot robot, String name, Class<? extends T> type) Creates a new
.ContainerFixture
ContainerFixture
(Robot robot, T target) Creates a new
.ContainerFixture
DialogFixture
(Robot robot, Dialog target) Creates a new
.DialogFixture
DialogFixture
(Robot robot, String dialogName) Creates a new
.DialogFixture
FrameFixture
(Robot robot, Frame target) Creates a new
.FrameFixture
FrameFixture
(Robot robot, String name) Creates a new
.FrameFixture
GenericComponentFixture
(Robot robot, ComponentDriver driver, T target) Creates a new
using a provided driver.GenericComponentFixture
GenericComponentFixture
(Robot robot, T target) Creates a new
.GenericComponentFixture
JButtonFixture
(Robot robot, String buttonName) Creates a new
.JButtonFixture
JButtonFixture
(Robot robot, JButton target) Creates a new
.JButtonFixture
JCheckBoxFixture
(Robot robot, String checkBoxName) Creates a new
.JCheckBoxFixture
JCheckBoxFixture
(Robot robot, JCheckBox target) Creates a new
.JCheckBoxFixture
JComboBoxFixture
(Robot robot, String comboBoxName) Creates a new
.JComboBoxFixture
JComboBoxFixture
(Robot robot, JComboBox target) Creates a new
.JComboBoxFixture
JFileChooserFixture
(Robot robot) Creates a new
.JFileChooserFixture
JFileChooserFixture
(Robot robot, String fileChooserName) Creates a new
.JFileChooserFixture
JFileChooserFixture
(Robot robot, JFileChooser target) Creates a new
.JFileChooserFixture
JInternalFrameFixture
(Robot robot, String internalFrameName) Creates a new
.JInternalFrameFixture
JInternalFrameFixture
(Robot robot, JInternalFrame target) Creates a new
.JInternalFrameFixture
JLabelFixture
(Robot robot, String labelName) Creates a new
.JLabelFixture
JLabelFixture
(Robot robot, JLabel target) Creates a new
.JLabelFixture
JListFixture
(Robot robot, String listName) Creates a new
.JListFixture
JListFixture
(Robot robot, JList target) Creates a new
.JListFixture
(package private)
JMenuItemFinder
(Robot robot, Container target) JMenuItemFixture
(Robot robot, String menuItemName) Creates a new
.JMenuItemFixture
JMenuItemFixture
(Robot robot, JMenuItem target) Creates a new
.JMenuItemFixture
JOptionPaneFixture
(Robot robot) Creates a new
.JOptionPaneFixture
JOptionPaneFixture
(Robot robot, JOptionPane target) Creates a new
.JOptionPaneFixture
JPanelFixture
(Robot robot, String panelName) Creates a new
.JPanelFixture
JPanelFixture
(Robot robot, JPanel target) Creates a new
.JPanelFixture
JPopupMenuFixture
(Robot robot, JPopupMenu target) Creates a new
.JPopupMenuFixture
JProgressBarFixture
(Robot robot, String labelName) Creates a new
.JProgressBarFixture
JProgressBarFixture
(Robot robot, JProgressBar target) Creates a new
.JProgressBarFixture
JRadioButtonFixture
(Robot robot, String buttonName) Creates a new
.JRadioButtonFixture
JRadioButtonFixture
(Robot robot, JRadioButton target) Creates a new
.JRadioButtonFixture
JScrollBarFixture
(Robot robot, String scrollBarName) Creates a new
.JScrollBarFixture
JScrollBarFixture
(Robot robot, JScrollBar target) Creates a new
.JScrollBarFixture
JScrollPaneFixture
(Robot robot, String panelName) Creates a new
.JScrollPaneFixture
JScrollPaneFixture
(Robot robot, JScrollPane target) Creates a new
.JScrollPaneFixture
JSliderFixture
(Robot robot, String sliderName) Creates a new
.JSliderFixture
JSliderFixture
(Robot robot, JSlider target) Creates a new
.JSliderFixture
JSpinnerFixture
(Robot robot, String spinnerName) Creates a new
.JSpinnerFixture
JSpinnerFixture
(Robot robot, JSpinner target) Creates a new
.JSpinnerFixture
JSplitPaneFixture
(Robot robot, String spinnerName) Creates a new
.JSplitPaneFixture
JSplitPaneFixture
(Robot robot, JSplitPane target) Creates a new
.JSplitPaneFixture
JTabbedPaneFixture
(Robot robot, String tabbedPaneName) Creates a new
.JTabbedPaneFixture
JTabbedPaneFixture
(Robot robot, JTabbedPane target) Creates a new
.JTabbedPaneFixture
JTableFixture
(Robot robot, String tableName) Creates a new
.JTableFixture
JTableFixture
(Robot robot, JTable target) Creates a new
.JTableFixture
JTableHeaderFixture
(Robot robot, JTableHeader target) Creates a newJTableHeaderFixture
.JTextComponentFixture
(Robot robot, String textComponentName) Creates a new
.JTextComponentFixture
JTextComponentFixture
(Robot robot, JTextComponent target) Creates a new
.JTextComponentFixture
JToggleButtonFixture
(Robot robot, String toggleButtonName) Creates a new
.JToggleButtonFixture
JToggleButtonFixture
(Robot robot, JToggleButton target) Creates a new
.JToggleButtonFixture
JToolBarFixture
(Robot robot, String toolbarName) Creates a new
.JToolBarFixture
JToolBarFixture
(Robot robot, JToolBar target) Creates a new
.JToolBarFixture
JTreeFixture
(Robot robot, String treeName) Creates a new
.JTreeFixture
JTreeFixture
(Robot robot, JTree target) Creates a new
.JTreeFixture
WindowFixture
(Robot robot, Class<? extends T> type) Creates a new
.WindowFixture
WindowFixture
(Robot robot, String name, Class<? extends T> type) Creates a new
.WindowFixture
WindowFixture
(Robot robot, T target) Creates a new
.WindowFixture
-
Uses of Robot in org.fest.swing.testing
Fields in org.fest.swing.testing declared as RobotMethods in org.fest.swing.testing that return Robot
instead.ComponentDragAndDrop