Uses of Annotation Interface
org.fest.swing.annotation.RunsInEDT
Packages that use RunsInEDT
Package
Description
Support for testing Java Applets.
Utility methods related to AWT.
Building blocks for all FEST-Swing fixtures.
Simple (but useful) data structures.
Drivers that simulate user input on GUI
Components.
The power and flexibility of FEST-Swing come from the fixtures in
this package.
Component formatters that create a
String representation of GUI components.
GUI component hierarchies.
Utility methods related to images.
Launches applications from a "main" method and Java applets
Monitors that track the state of GUI components (intended for internal use only.)
Queries, executed in the event dispatch thread (EDT,) that read property values from GUI components.
-
Uses of RunsInEDT in org.fest.swing.applet
Methods in org.fest.swing.applet with annotations of type RunsInEDTModifier and TypeMethodDescriptionprivate static AppletViewerAppletViewer.createInEDT(Applet applet) static AppletViewerCreates a newAppletViewer.static AppletViewerAppletViewer.newViewer(Applet applet, AppletStub stub) Creates a newAppletViewer.static AppletViewerCreates a newAppletViewer.voidAppletViewer.showStatus(String status) Displays the given status message. -
Uses of RunsInEDT in org.fest.swing.awt
Methods in org.fest.swing.awt with annotations of type RunsInEDTModifier and TypeMethodDescriptionstatic PointAWT.visibleCenterOf(Component c) Returns a point at the center of the visible area of the given.Component -
Uses of RunsInEDT in org.fest.swing.cell
Classes in org.fest.swing.cell with annotations of type RunsInEDTModifier and TypeInterfaceDescriptioninterfaceUnderstands how to edit the value of a cell in a.JTable -
Uses of RunsInEDT in org.fest.swing.core
Classes in org.fest.swing.core with annotations of type RunsInEDTMethods in org.fest.swing.core with annotations of type RunsInEDTModifier and TypeMethodDescriptionprivate voidActivates the given.Window(package private) static voidActivateWindowTask.activateWindow(Window w) private voidBasicRobot.activateWindowOfFocusTarget(Component target, Component currentOwner) private JPopupMenuBasicRobot.activePopupMenu()private static voidBasicComponentFinder.appendComponents(StringBuilder message, Collection<Component> found) private static Collection<Component>FinderDelegate.childrenOfComponent(Component c, ComponentHierarchy h) voidBasicRobot.cleanUp()Cleans up any used resources (keyboard, mouse, open windows and) used by this robot.ScreenLockprivate voidBasicRobot.cleanUp(boolean disposeWindows) voidBasicRobot.cleanUpWithoutDisposingWindows()Cleans up any used resources (keyboard, mouse and) used by this robot.ScreenLockvoidSimulates a user clicking once the givenusing the left mouse button.ComponentvoidSimulates a user clicking at the given position on the given.ComponentvoidBasicRobot.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.ComponentvoidBasicRobot.click(Component c, MouseButton button) Simulates a user clicking once the givenusing the given mouse button.ComponentvoidBasicRobot.click(Component c, MouseButton button, int times) Simulates a user clicking the given mouse button, the given times on the given.ComponentvoidBasicRobot.click(Point where, MouseButton button, int times) Simulates a user clicking the given mouse button, the given times at the given absolute coordinates.voidSimulates a user closing the given window.private ComponentLookupExceptionBasicComponentFinder.componentNotFound(ComponentHierarchy h, ComponentMatcher m) (package private) voidFrameDisposer.disposeFrames()private static voidBasicRobot.disposeWindows(ComponentHierarchy hierarchy) private static voidFrameDisposer.doDisposeFrames()private voidBasicRobot.doPressKey(int keyCode) voidBasicRobot.doubleClick(Component c) Simulates a user double-clicking the given.ComponentvoidPerforms a drag action at the given point.voidEnds a drag operation, releasing the mouse button over the given target location.voidSimulates a user entering the given text.BasicComponentFinder.find(Container root, ComponentMatcher m) Finds ausing the givenComponentin the hierarchy under the given root.ComponentMatcher<T extends Component>
TBasicComponentFinder.find(Container root, GenericTypeMatcher<T> m) Finds ausing the givenComponentin the hierarchy under the given root.GenericTypeMatcherBasicComponentFinder.find(ComponentMatcher m) Finds ausing the givenComponent.ComponentMatcher<T extends Component>
TBasicComponentFinder.find(GenericTypeMatcher<T> m) Finds ausing the givenComponent.GenericTypeMatcherprivate ComponentBasicComponentFinder.find(ComponentHierarchy h, ComponentMatcher m) (package private) Collection<Component>FinderDelegate.find(ComponentHierarchy h, ComponentMatcher m) private voidFinderDelegate.find(ComponentHierarchy h, ComponentMatcher m, Component root, Set<Component> found) (package private) <T extends Component>
Collection<T>FinderDelegate.find(ComponentHierarchy h, GenericTypeMatcher<T> m) private <T extends Component>
voidFinderDelegate.find(ComponentHierarchy h, GenericTypeMatcher<T> m, Component root, Set<T> found) BasicRobot.findActivePopupMenu()Returns the currently active pop-up menu, if any.private AppletBasicRobot.findAppletDescendent(Container c) BasicComponentFinder.findByLabel(Container root, String label) BasicComponentFinder.findByLabel(Container root, String label, boolean showing) <T extends Component>
TBasicComponentFinder.findByLabel(Container root, String label, Class<T> type) <T extends Component>
TBasicComponentFinder.findByLabel(Container root, String label, Class<T> type, boolean showing) BasicComponentFinder.findByLabel(String label) BasicComponentFinder.findByLabel(String label, boolean showing) <T extends Component>
TBasicComponentFinder.findByLabel(String label, Class<T> type) <T extends Component>
TBasicComponentFinder.findByLabel(String label, Class<T> type, boolean showing) BasicComponentFinder.findByName(Container root, String name) Finds aby name, in the hierarchy under the given root.ComponentBasicComponentFinder.findByName(Container root, String name, boolean showing) Finds aby name, in the hierarchy under the given root.Component<T extends Component>
TBasicComponentFinder.findByName(Container root, String name, Class<T> type) Finds aby name and type, in the hierarchy under the given root.Component<T extends Component>
TBasicComponentFinder.findByName(Container root, String name, Class<T> type, boolean showing) Finds aby name and type, in the hierarchy under the given root.ComponentBasicComponentFinder.findByName(String name) Finds aby name.ComponentBasicComponentFinder.findByName(String name, boolean showing) Finds aby name.Component<T extends Component>
TBasicComponentFinder.findByName(String name, Class<T> type) Finds aby name and type.Component<T extends Component>
TBasicComponentFinder.findByName(String name, Class<T> type, boolean showing) Finds aby name and type.Component<T extends Component>
TBasicComponentFinder.findByType(Container root, Class<T> type) Finds aby type in the hierarchy under the given root.Component<T extends Component>
TBasicComponentFinder.findByType(Container root, Class<T> type, boolean showing) Finds aby type in the hierarchy under the given root.Component<T extends Component>
TBasicComponentFinder.findByType(Class<T> type, boolean showing) Finds aby type.ComponentvoidGives input focus to the given.Componentprivate voidvoidBasicRobot.focusAndWaitForFocusGain(Component c) private StringBasicComponentFinder.formattedHierarchy(Container root) (package private) static voidComponentRequestFocusTask.giveFocusTo(Component c) static ComponentFocusOwnerFinder.inEdtFocusOwner()Returns the focus owner.BasicRobot.invokerAndCenterOfInvoker(JPopupMenu popupMenu) (package private) static booleanComponentIsFocusableQuery.isFocusable(Component component) private static booleanFinderDelegate.isMatching(Component c, ComponentMatcher m) private static <T extends Component>
booleanFinderDelegate.isMatching(Component c, GenericTypeMatcher<T> m) private booleanBasicRobot.isWindowAncestorReadyForInput(JPopupMenu popup) voidMakes the mouse pointer show small quick jumpy movements on the given.ComponentvoidMakes the mouse pointer show small quick jumpy movements on the givenat the given point.Componentprivate voidBasicRobot.keyPressAndRelease(int keyCode, int modifiers) private voidComponentDragAndDrop.mouseMoveOnWindowsAndMacintosh(Component target, int x, int y) private voidBasicRobot.mouseRelease(int buttons) voidSimulates a user moving the mouse pointer to the center of the given.ComponentvoidSimulates a user moving the mouse pointer to the given coordinates relative to the given.ComponentvoidSimulates a user moving the mouse pointer to the given coordinates relative to the given.Componentprivate static ComponentLookupExceptionBasicComponentFinder.multipleComponentsFound(Collection<Component> found, ComponentMatcher m) private booleanBasicRobot.postInvocationEvent(EventQueue eventQueue, long timeout) voidBasicRobot.pressAndReleaseKey(int keyCode, int... modifiers) Type the given key code with the given modifiers.voidBasicRobot.pressAndReleaseKeys(int... keyCodes) Simulates a user pressing and releasing the given keys.voidBasicRobot.pressKey(int keyCode) Simulates a user pressing given key.private static voidBasicComponentPrinter.print(ComponentHierarchy hierarchy, ComponentMatcher matcher, PrintStream out) voidBasicComponentPrinter.printComponents(PrintStream out) Prints all the components in the hierarchy.voidBasicComponentPrinter.printComponents(PrintStream out, Container root) Prints all the components in the hierarchy under the given root.voidBasicComponentPrinter.printComponents(PrintStream out, Class<? extends Component> type) Prints only the components of the given type in the hierarchy.voidBasicComponentPrinter.printComponents(PrintStream out, Class<? extends Component> type, Container root) Prints all the components of the given type in the hierarchy under the given root.voidBasicRobot.releaseKey(int keyCode) Simulates a user releasing the given key.voidBasicRobot.releaseMouse(MouseButton button) Releases the given mouse button.voidBasicRobot.releaseMouseButtons()Releases any mouse button(s) used by the robot.voidBasicRobot.requireNoJOptionPaneIsShowing()Ensures that there is noshowing, and potentially blocking GUI tests.JOptionPane(package private) voidUnexpectedJOptionPaneFinder.requireNoJOptionPaneIsShowing()voidBasicRobot.rightClick(Component c) Simulates a user right-clicking the given.Componentprivate static Collection<? extends Component>FinderDelegate.rootsOf(ComponentHierarchy h) BasicRobot.showPopupMenu(Component invoker) Shows a pop-up menu.BasicRobot.showPopupMenu(Component invoker, Point location) Shows a pop-up menu at the given coordinates.voidBasicRobot.showWindow(Window w) Safely display a window with proper EDT synchronization.voidBasicRobot.showWindow(Window w, Dimension size) Safely display a window with proper EDT synchronization.voidBasicRobot.showWindow(Window w, Dimension size, boolean pack) Safely display a window with proper EDT synchronization.voidBasicRobot.type(char character) Types the given character.private booleanBasicRobot.waitForComponentToBeReady(Component c, long timeout) voidBasicRobot.waitForIdle()Wait for an idle AWT event queue.private voidBasicRobot.waitForWindow(Window w) BasicRobot.windowAncestorsOf(Component one, Component two) -
Uses of RunsInEDT in org.fest.swing.data
Methods in org.fest.swing.data with annotations of type RunsInEDTModifier and TypeMethodDescriptionprivate static TableCellTableCellByColumnId.findCell(JTable table, JTableCellReader cellReader) Finds a cell in the giventhat has a matching row index and column id.JTableTableCellFinder.findCell(JTable table, JTableCellReader cellReader) Finds a cell in the givenbased on some search criteria specified by this finder.JTableTableCellInRowByValue.findCell(JTable table, JTableCellReader cellReader) Finds a cell in the giventhat: is located in the first row whose values match the given ones has a matching row indexJTableprivate static intTableCellInRowByValue.findRowIndex(JTable table, JTableCellReader cellReader, String[] values) private static intTableCellInSelectedRow.selectedRowOf(JTable table) -
Uses of RunsInEDT in org.fest.swing.driver
Classes in org.fest.swing.driver with annotations of type RunsInEDTModifier and TypeClassDescription(package private) final classUnderstands an action, executed in the event dispatch thread, that returns the number of items in a given.JComboBox(package private) final classUnderstands an action, executed in the event dispatch thread, that returns the number of items in a given.JListMethods in org.fest.swing.driver with annotations of type RunsInEDTModifier and TypeMethodDescriptionprivate static ComponentJComboBoxDriver.accessibleEditorOf(JComboBox comboBox) private JTextComponentJTableTextComponentEditorCellWriter.activateEditorWithDoubleClick(JTable table, int row, int column, Point cellLocation) private JTextComponentJTableTextComponentEditorCellWriter.activateEditorWithF2Key(JTable table, int row, int column, Point cellLocation) private voidJMenuItemDriver.activateParentIfIsAMenu(JMenuItemLocation location) private static booleanprivate StringJOptionPaneDriver.actualMessageTypeAsText(JOptionPane optionPane) private static String[]JTabbedPaneDriver.allTabTitlesIn(JTabbedPane tabbedPane) private static AppletContextJAppletDriver.appletContext(JApplet applet) JAppletDriver.appletContextOf(JApplet applet) Returns theof the givenAppletContext.JAppletJFileChooserDriver.approveButton(JFileChooser fileChooser) Finds the "Approve" button in the given.JFileChooserprivate voidJComboBoxDriver.assertEditable(JComboBox comboBox, boolean expected) private voidJTextComponentDriver.assertEditable(JTextComponent textBox, boolean editable) private voidJTreeDriver.assertEditable(JTree tree, boolean editable) private voidJOptionPaneDriver.assertEqualMessageType(JOptionPane optionPane, int expected) protected static voidComponentDriver.assertIsEnabledAndShowing(Component c) Validates that the givenis enabled and showing on the screen.Componentprivate voidJProgressBarDriver.assertIsInBetweenMinAndMax(JProgressBar progressBar, int value) private static voidJTableDriver.assertNoSelection(JTable table) private voidAbstractButtonDriver.assertThatButtonIsSelected(AbstractButton button, boolean selected) JTableDriver.background(JTable table, TableCell cell) Returns the background color of the given table cell.JOptionPaneDriver.button(JOptionPane optionPane) Deprecated.in 1.2JOptionPaneDriver.buttonWithText(JOptionPane optionPane, String text) Finds a button in thecontaining the given text.JOptionPaneJOptionPaneDriver.buttonWithText(JOptionPane optionPane, Pattern pattern) Finds a button in thewhose text matches the given regular expression pattern.JOptionPaneprivate JButtonJOptionPaneDriver.buttonWithTextFromUIManager(JOptionPane optionPane, String key) JFileChooserDriver.cancelButton(JFileChooser fileChooser) Finds the "Cancel" button in the given.JFileChooserJOptionPaneDriver.cancelButton(JOptionPane optionPane) Finds the "Cancel" button in the.JOptionPanevoidAbstractJTableCellWriter.cancelCellEditing(JTable table, int row, int column) Cancels editing the given cell of the.JTablevoidJTableDriver.cancelCellEditing(JTable table, TableCell cell) Cancels editing the given cell of the, using this driver'sJTable.JTableCellWriter(package private) static voidJTableCancelCellEditingTask.cancelEditing(JTable table, int row, int column) (package private) static voidJTableCancelCellEditingTask.cancelEditing(TableCellEditor cellEditor) Returns a cell from the givenwhose value matches the given one.JTableReturns a cell from the givenwhose value matches the given regular expression pattern.JTableJTableDriver.cell(JTable table, TableCellFinder cellFinder) Returns a cell from the givenusing the given cell finder.JTableprivate static ColorJTableDriver.cellBackground(JTable table, TableCell cell, JTableCellReader cellReader) protected static TableCellEditorAbstractJTableCellWriter.cellEditor(JTable table, int row, int column) Returns the editor for the given table cell.JTableDriver.cellEditor(JTable table, TableCell cell) Returns the editor in the given cell of the, using this driver'sJTable.JTableCellWriterprivate static ComponentAbstractJTableCellWriter.cellEditorComponent(JTable table, int row, int column) private static FontJTableDriver.cellFont(JTable table, TableCell cell, JTableCellReader cellReader) private static ColorJTableDriver.cellForeground(JTable table, TableCell cell, JTableCellReader cellReader) protected static PointAbstractJTableCellWriter.cellLocation(JTable table, int row, int column, JTableLocation location) Returns the location of the given table cell.private static org.fest.assertions.DescriptionJTableDriver.cellProperty(JTable table, String propertyName) JTableDriver.cellSelectionInfo(JTable table, int row, int column, JTableLocation location) private static StringJTableDriver.cellValue(JTable table, int row, int column, JTableCellReader cellReader) private static StringJTableDriver.cellValue(JTable table, TableCell cell, JTableCellReader cellReader) (package private) static ObjectJTableCellValueQuery.cellValueOf(JTable table, int row, int column) private org.fest.assertions.DescriptionJTableDriver.cellValueProperty(JTable table, TableCell cell) (package private) static TableCellJTableMatchingCellQuery.cellWithValue(JTable table, TextMatcher matcher, JTableCellReader cellReader) (package private) static PointJListMatchingItemQuery.centerOfMatchingItemCell(JList list, String value, JListCellReader cellReader) (package private) static intJTreeChildOfPathCountQuery.childCount(JTree tree, TreePath path) private voidJTreeDriver.clearSelection(JTree tree) private static voidJListDriver.clearSelectionOf(JList list) (package private) static voidJTreeClearSelectionTask.clearSelectionOf(JTree tree) voidSimulates a user clicking once the givenusing the left mouse button.ComponentvoidSimulates a user clicking at the given position on the given.ComponentvoidComponentDriver.click(Component c, MouseButton button) Simulates a user clicking once the givenusing the given mouse button.ComponentvoidComponentDriver.click(Component c, MouseButton button, int times) Simulates a user clicking the given mouse button, the given times on the given.ComponentvoidComponentDriver.click(Component c, MouseClickInfo mouseClickInfo) Simulates a user clicking the given mouse button, the given times on the given.ComponentvoidFinds and selects the given.JMenuItemvoidJTableDriver.click(JTable table, TableCell cell, MouseButton mouseButton, int times) Clicks the given cell, using the specified mouse button, the given number of times.voidJFileChooserDriver.clickApproveButton(JFileChooser fileChooser) Finds and clicks the "Approve" button in the given.JFileChooservoidJFileChooserDriver.clickCancelButton(JFileChooser fileChooser) Finds and clicks the "Cancel" button in the given.JFileChooservoidJTableHeaderDriver.clickColumn(JTableHeader tableHeader, int columnIndex) Clicks the column under the given index.voidJTableHeaderDriver.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.voidJTableHeaderDriver.clickColumn(JTableHeader tableHeader, String columnName) Clicks the column which name matches the given value.voidJTableHeaderDriver.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.voidJTableHeaderDriver.clickColumn(JTableHeader tableHeader, Pattern columnNamePattern) Clicks the column which name matches the given regular expression pattern.voidJTableHeaderDriver.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 voidJTableHeaderDriver.clickColumn(JTableHeader tableHeader, TextMatcher matcher, MouseButton button, int times) voidJListDriver.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.voidClicks the given path, expanding parent nodes if necessary.voidJTreeDriver.clickPath(JTree tree, String path, MouseButton button) Clicks the given path, expanding parent nodes if necessary.voidJTreeDriver.clickPath(JTree tree, String path, MouseClickInfo mouseClickInfo) Clicks the given path, expanding parent nodes if necessary.voidClicks the given row.voidJTreeDriver.clickRow(JTree tree, int row, MouseButton button) Clicks the given row.private voidJTreeDriver.clickRow(JTree tree, int row, MouseButton button, int times) voidJTreeDriver.clickRow(JTree tree, int row, MouseClickInfo mouseClickInfo) Clicks the given row.JComponentDriver.clientProperty(JComponent c, Object key) Returns the client property stored in the given, under the given key.JComponentvoidJInternalFrameDriver.close(JInternalFrame internalFrame) Closes the given.JInternalFramevoidClosing the.Windowprivate static Pointprivate static URLJAppletDriver.codeBaseOf(JApplet applet) Returns the URL of the directory that contains the given.JAppletvoidJTreeDriver.collapsePath(JTree tree, String path) Collapses the given path, is possible.voidJTreeDriver.collapseRow(JTree tree, int row) Collapses the given row, is possible.(package private) static intJTableColumnCountQuery.columnCountOf(JTable table) intJTableDriver.columnIndex(JTable table, Object columnId) Returns the index of the column in the givenwhose id matches the given one.JTableprivate static voidvoidComponentShownWaiter.componentShown(ComponentEvent e) Notification that the component to wait for is finally shown on the screen.(package private) static String[]JComboBoxContentQuery.contents(JComboBox comboBox, JComboBoxCellReader cellReader) (package private) static String[]JListContentQuery.contents(JList list, JListCellReader cellReader) String[][]String[]JComboBoxDriver.contentsOf(JComboBox comboBox) Returns an array ofStrings that represents the contents of the givenlist.JComboBoxString[]JListDriver.contentsOf(JList list) Returns an array ofStrings that represents the contents of the given, using this driver'sJList.JListCellReadervoidDecrements the value of the.JSpinnervoidDecrements the value of thethe given number of times.JSpinnervoidDeiconifies the given.FramevoidJInternalFrameDriver.deiconify(JInternalFrame internalFrame) De-iconifies the given.JInternalFramevoidJTextComponentDriver.deleteText(JTextComponent textBox) Deletes the text of the.JTextComponentprivate voidAbstractJTableCellWriter.doCancelCellEditing()private voidAbstractJTableCellWriter.doCancelCellEditing(JTable table, int row, int column) private voidprivate static URLJAppletDriver.documentBase(JApplet applet) JAppletDriver.documentBaseOf(JApplet applet) Returns the URL of the document the givenis embedded.JAppletprivate voidprivate static voidWindowDriver.doMoveToBack(Window w) private static voidWindowDriver.doMoveToFront(Window w) private static voidJTableCheckBoxEditorCellWriter.doStartCellEditing(JTable table, int row, int column, JTableLocation location) private JComboBoxJTableComboBoxEditorCellWriter.doStartCellEditing(JTable table, int row, int column) private JTextComponentJTableTextComponentEditorCellWriter.doStartCellEditing(JTable table, int row, int column) private voidAbstractJTableCellWriter.doStopCellEditing()private voidAbstractJTableCellWriter.doStopCellEditing(JTable table, int row, int column) voidComponentDriver.doubleClick(Component c) Simulates a user double-clicking the given.ComponentvoidJTreeDriver.doubleClickPath(JTree tree, String path) Double-clicks the given path.voidJTreeDriver.doubleClickRow(JTree tree, int row) Double-clicks the given row.protected final voidPerforms a drag action at the given point.voidDeprecated.useinstead.ComponentDragAndDropvoidStarts a drag operation at the location of the given index.voidStarts a drag operation at the location of the first item matching the given value.voidStarts a drag operation at the location of the first item matching the given regular expression pattern.voidStarts a drag operation at the location of the given table cell.voidStarts a drag operation at the location of the given row.voidStarts a drag operation at the location of the given.TreePathprotected final voidEnds a drag operation, releasing the mouse button over the given target location.voidDeprecated.useinstead.ComponentDragAndDropvoidEnds a drag operation at the center of the.JListvoidEnds a drag operation at the location of the given index.voidEnds a drag operation at the location of the first item matching the given value.voidStarts a drop operation at the location of the given table cell.voidEnds a drag operation at the location of the given row.voidEnds a drag operation at the location of the given.TreePathJComboBoxDriver.dropDownList()private voidJComboBoxDriver.dropDownVisibleThroughUIDelegate(JComboBox comboBox, boolean visible) private static org.fest.assertions.DescriptionJComboBoxDriver.editableProperty(JComboBox comboBox) private static org.fest.assertions.DescriptionJTextComponentDriver.editableProperty(JTextComponent textBox) private static org.fest.assertions.DescriptionJTreeDriver.editableProperty(JTree tree) Returns theused as editor in the givenJTextComponent.JSpinnerprivate static ComponentJComboBoxDriver.editorComponentOf(JComboBox comboBox) AbstractJTableCellWriter.editorForCell(JTable table, int row, int column) Returns theused as editor of the given cell.Componentprivate static ComponentJComboBoxDriver.editorIfEditable(JComboBox comboBox) private static org.fest.assertions.DescriptionComponentDriver.enabledProperty(Component c) private voidJMenuItemDriver.ensurePopupIsShowing(JMenuItem menuItem) voidSimulates a user entering the specified text in the.JComboBoxvoidEnters the given text in the, assuming its editor has aJSpinnerunder it.JTextComponentvoidJTextComponentDriver.enterText(JTextComponent textBox, String text) Types the given text into the.JTextComponentvoidJSpinnerDriver.enterTextAndCommit(JSpinner spinner, String text) Enters and commits the given text in the, assuming its editor has aJSpinnerunder it.JTextComponentvoidJTableCheckBoxEditorCellWriter.enterValue(JTable table, int row, int column, String value) Enters the given value at the given cell of the.JTablevoidJTableComboBoxEditorCellWriter.enterValue(JTable table, int row, int column, String value) Enters the given value at the given cell of the.JTablevoidJTableTextComponentEditorCellWriter.enterValue(JTable table, int row, int column, String value) Enters the given value at the given cell of the.JTablevoidJTableDriver.enterValueInCell(JTable table, TableCell cell, String value) Enters the given value in the given cell of the, using this driver'sJTable.JTableCellWritervoidJTreeDriver.expandPath(JTree tree, String path) Expands the given path, is possible.voidExpands the given row, is possible.(package private) static voidJTreeExpandPathTask.expandTreePath(JTree tree, TreePath path) private voidJListDriver.failNoSelection(JList list) JFileChooserDriver.fileNameTextBox(JFileChooser fileChooser) Returns the text field where the user can enter the name of the file to select.private JButtonJFileChooserDriver.findButton(JFileChooser fileChooser, String logicalName, String text) private static intJTableDriver.findColumnIndex(JTable table, Object columnId) (package private) JListJComboBoxDropDownListFinder.findDropDownList()private JTextComponentJSpinnerDriver.findEditor(JSpinner spinner) JToolBarDriver.floatInfo(JToolBar toolBar, JToolBarLocation location) voidDrags theto the given location, causing it to float.JToolBarvoidGives input focus to the given.ComponentvoidComponentDriver.focusAndWaitForFocusGain(Component c) Returns the font of the given table cell.JTableDriver.foreground(JTable table, TableCell cell) Returns the foreground color of the given table cell.private voidJComboBoxDriver.hideDropDownListIfVisible(JComboBox comboBox) private static JScrollBarJScrollPaneDriver.horizontalScrollBar(JScrollPane scrollPane) JScrollPaneDriver.horizontalScrollBarIn(JScrollPane scrollPane) Returns the horizontalin the givenJScrollBar.JScrollPanevoidIconifies the given.FramevoidJInternalFrameDriver.iconify(JInternalFrame internalFrame) Iconifies the given.JInternalFrameprivate static PointFrameDriver.iconifyInfo(Frame frame) voidIncrements the value of the.JSpinnervoidIncrements the value of thethe given number of times.JSpinnerintReturns the index of the first item matching the given value.intReturns the index of the first item matching the given regular expression pattern.private intJListDriver.indexOf(JList list, TextMatcher matcher) private static intJTextComponentDriver.indexOfText(JTextComponent textBox, String text) private static voidJComboBoxDriver.inEdtValidateEditorIsAccessible(JComboBox comboBox) protected final voidJComponentDriver.invokeAction(JComponent c, String name) ComponentDriver.invokePopupMenu(Component c) Shows a pop-up menu using the givenas the invoker of the pop-up menu.ComponentComponentDriver.invokePopupMenu(Component c, Point p) Shows a pop-up menu at the given point using the givenas the invoker of the pop-up menu.ComponentbooleanIndicates whether the givenis active or not.JApplet(package private) static booleanJComboBoxEditableQuery.isEditable(JComboBox comboBox) (package private) static booleanJTextComponentEditableQuery.isEditable(JTextComponent textBox) (package private) static booleanJTreeEditableQuery.isEditable(JTree tree) booleanJToolBarDriver.isFloating(JToolBar toolBar) Indicates whether the givenis floating or not.JToolBar(package private) static booleanJProgressBarIndeterminateQuery.isIndeterminate(JProgressBar progressBar) (package private) static booleanbooleanJMenuItemLocation.isParentAMenu()Indicates whether the parent of theis another menu.JMenuItem(package private) static booleanAbstractButtonSelectedQuery.isSelected(AbstractButton button) private static intJListDriver.itemIndex(JList list, TextMatcher matcher, JListCellReader cellReader) (package private) static StringJListItemValueQuery.itemValue(JList list, int index, JListCellReader cellReader) private static JMenuItemLocationJMenuItemDriver.locationOf(JMenuItem menuItem) (package private) static intJSplitPaneLocationCalculator.locationToMoveDividerTo(JSplitPane splitPane, int desiredLocation) private booleanJTreeDriver.makeParentVisible(JTree tree, TreePath path) private booleanJTreeDriver.makeVisible(JTree tree, TreePath path, boolean expandWhenFound) Matches, makes visible, and expands the path one component at a time, from uppermost ancestor on down, since children may be lazily loaded/created.(package private) static intJComboBoxMatchingItemQuery.matchingItemIndex(JComboBox comboBox, TextMatcher matcher, JComboBoxCellReader cellReader) JListMatchingItemQuery.matchingItemIndices(JList list, TextMatcher matcher, JListCellReader cellReader) JListMatchingItemQuery.matchingItemValues(JList list, TextMatcher matcher, JListCellReader cellReader) (package private) static TreePathJTreeMatchingPathQuery.matchingPathFor(JTree tree, String path, JTreePathFinder pathFinder) voidMakes thefull size.FramevoidJInternalFrameDriver.maximize(JInternalFrame internalFrame) Maximizes the given, deconifying it first if it is iconified.JInternalFrameprivate static PointFrameDriver.maximizeInfo(Frame frame) private voidJInternalFrameDriver.maximizeOrNormalize(JInternalFrame internalFrame, JInternalFrameAction action, Pair<Container, Point> toMoveMouseTo) (package private) static intJProgressBarMaximumQuery.maximumOf(JProgressBar progressBar) (package private) static String[]JPopupMenuElementsAsTextQuery.menuElementsAsText(JPopupMenu popupMenu) JPopupMenuDriver.menuItem(JPopupMenu popupMenu, String name) String[]JPopupMenuDriver.menuLabelsOf(JPopupMenu popupMenu) Returns the contents of the pop-up menu as aStringarray.(package private) static ObjectJOptionPaneMessageQuery.messageOf(JOptionPane optionPane) (package private) static intJOptionPaneMessageTypeQuery.messageTypeOf(JOptionPane optionPane) JProgressBarMinimumAndMaximumQuery.minimumAndMaximumOf(JProgressBar progressBar) private voidDragAndDrop.mouseMoveOnWindowsAndMacintosh(Component target, int x, int y) Deprecated.voidMove the givento the requested location.Containerprivate void(package private) static voidComponentMoveTask.moveComponent(Component c, Point location) voidJSplitPaneDriver.moveDividerTo(JSplitPane splitPane, int location) Sets the divider position to an absolute position.protected final voidComponentDriver.moveMouseIgnoringAnyError(Component c, int x, int y) Simulates a user moving the mouse pointer to the given coordinates relative to the given.Componentprotected final voidComponentDriver.moveMouseIgnoringAnyError(Component c, Point p) Simulates a user moving the mouse pointer to the given coordinates relative to the given.Componentprivate voidJMenuItemDriver.moveParentWindowToFront(JMenuItemLocation location) voidJInternalFrameDriver.moveTo(JInternalFrame internalFrame, Point where) Moves theto the given location.JInternalFramevoidJInternalFrameDriver.moveToBack(JInternalFrame internalFrame) Brings the givento the back.JInternalFramevoidWindowDriver.moveToBack(Window w) If the givenis visible, sends it to the back and may cause it to lose focus or activation if it is the focused or active.WindowvoidJInternalFrameDriver.moveToFront(JInternalFrame internalFrame) Brings the givento the front.JInternalFrameprivate voidJMenuItemDriver.moveToFront(Window w) voidWindowDriver.moveToFront(Window w) If the givenis visible, brings it to the front and may make it the focused one.Window(package private) final voidMultipleSelectionTemplate.multiSelect()JOptionPaneDriver.noButton(JOptionPane optionPane) Finds the "No" button in the.JOptionPane(package private) static StringJTreeNodeTextQuery.nodeText(JTree tree, int row, JTreeLocation location, JTreePathFinder pathFinder) (package private) static StringJTreeNodeTextQuery.nodeText(JTree tree, String path, JTreePathFinder pathFinder) Returns theStringrepresentation of the node at the given path.voidNormalizes the given.FramevoidJInternalFrameDriver.normalize(JInternalFrame internalFrame) Normalizes the given, deconifying it first if it is iconified.JInternalFrameJOptionPaneDriver.okButton(JOptionPane optionPane) Finds the "OK" button in the.JOptionPane(package private) static Object[]JOptionPaneOptionsQuery.optionsOf(JOptionPane optionPane) private static StringJAppletDriver.parameterValue(JApplet applet, String parameterName) Returns the value of the named parameter in the givenin the HTML tag, orJAppletnullif not set.private static voidJTextComponentDriver.performAndValidateTextSelection(JTextComponent textBox, int start, int end) Returns the coordinates of the first item matching the given value.Converts the given table cell into a coordinate pair.private static PointJTableDriver.pointAtCell(JTable table, TableCell cell, JTableLocation location) private static PointJTableHeaderDriver.pointAtIndex(JTableHeader tableHeader, int columnIndex, JTableHeaderLocation location) private static PointJTableHeaderDriver.pointAtName(JTableHeader tableHeader, TextMatcher matcher, JTableHeaderLocation location) private static PointJTabbedPaneDriver.pointAtTab(JTabbedPaneLocation location, JTabbedPane tabbedPane, int index) (package private) static JPopupMenuJMenuPopupMenuQuery.popupMenuOf(JMenu menu) voidComponentDriver.pressAndReleaseKey(Component c, int keyCode, int[] modifiers) Simulates a user pressing and releasing the given key on the.ComponentvoidComponentDriver.pressAndReleaseKey(Component c, KeyPressInfo keyPressInfo) Simulates a user pressing and releasing the given key on the.ComponentvoidComponentDriver.pressAndReleaseKeys(Component c, int... keyCodes) Simulates a user pressing and releasing the given keys on the.ComponentvoidJComboBoxDriver.pressAndReleaseKeys(JComboBox comboBox, int... keyCodes) Simulates a user pressing and releasing the given keys on the.JComboBoxvoidSimulates a user pressing given key on the.Componentstatic org.fest.assertions.DescriptionComponentDriver.propertyName(Component c, String propertyName) Formats the name of a property of the givenby concatenating the value obtained fromComponentwith the given property name.Formatting.format(Component)voidComponentDriver.releaseKey(Component c, int keyCode) Simulates a user releasing the given key on the.ComponentvoidJComboBoxDriver.replaceText(JComboBox comboBox, String text) Simulates a user entering the specified text in the, replacing any text.JComboBoxvoidJTextComponentDriver.replaceText(JTextComponent textBox, String text) Types the given text into the, replacing any existing text already there.JTextComponentvoidJTableDriver.requireCellValue(JTable table, TableCell cell, String value) Asserts that the value of the given cell matches the given value.voidJTableDriver.requireCellValue(JTable table, TableCell cell, Pattern pattern) Asserts that the value of the given cell matches the given regular expression pattern.voidJTableDriver.requireColumnCount(JTable table, int columnCount) Asserts that the givenhas the given number of columns.JTablevoidJTableDriver.requireContents(JTable table, String[][] contents) Asserts that theStringrepresentation of the cell values in theis equal to the givenJTableStringarray.voidJProgressBarDriver.requireDeterminate(JProgressBar progressBar) Verifies that the givenis in determinate mode.JProgressBarvoidComponentDriver.requireDisabled(Component c) Asserts that theis disabled.ComponentvoidJComboBoxDriver.requireEditable(JComboBox comboBox) Asserts that the givenis editable.JComboBoxvoidJTableDriver.requireEditable(JTable table, TableCell cell) Asserts that the given table cell is editable.voidJTextComponentDriver.requireEditable(JTextComponent textBox) Asserts that the givenis editable.JTextComponentvoidJTreeDriver.requireEditable(JTree tree) Asserts that the givenis editable.JTreeprivate static voidJTableDriver.requireEditableEqualTo(JTable table, TableCell cell, boolean editable) voidJTextComponentDriver.requireEmpty(JTextComponent textBox) Asserts that the givenis empty.JTextComponentvoidComponentDriver.requireEnabled(Component c) Asserts that theis enabled.ComponentvoidComponentDriver.requireEnabled(Component c, Timeout timeout) Asserts that theis enabled.ComponentvoidJOptionPaneDriver.requireErrorMessage(JOptionPane optionPane) Asserts that theis displaying an error message.JOptionPanevoidComponentDriver.requireFocused(Component c) Asserts that thehas input focus.ComponentvoidJProgressBarDriver.requireIndeterminate(JProgressBar progressBar) Verifies that the givenis in indeterminate mode.JProgressBarprivate voidJProgressBarDriver.requireIndeterminate(JProgressBar progressBar, boolean indeterminate) voidJOptionPaneDriver.requireInformationMessage(JOptionPane optionPane) Asserts that theis displaying an information message.JOptionPanevoidJComboBoxDriver.requireItemCount(JComboBox comboBox, int expected) Verifies that number of items in the givenis equal to the expected one.JComboBoxvoidJListDriver.requireItemCount(JList list, int expected) Verifies that number of items in the givenis equal to the expected one.JListvoidJOptionPaneDriver.requireMessage(JOptionPane optionPane, Object message) Asserts that the title of thematches the given value.JOptionPaneprivate voidJOptionPaneDriver.requireMessage(JOptionPane optionPane, String expected, String actual) voidJOptionPaneDriver.requireMessage(JOptionPane optionPane, Pattern pattern) Asserts that the title of thematches the given regular expression pattern.JOptionPanevoidDialogDriver.requireModal(Dialog dialog) Asserts that theis modal.DialogvoidJComboBoxDriver.requireNoSelection(JComboBox comboBox) Verifies that thedoes not have any selection.JComboBoxvoidJListDriver.requireNoSelection(JList list) Verifies that thedoes not have a selection.JListvoidJTableDriver.requireNoSelection(JTable table) Verifies that thedoes not have any selection.JTablevoidJTreeDriver.requireNoSelection(JTree tree) Asserts that the givendoes not have any selection.JTreevoidJComboBoxDriver.requireNotEditable(JComboBox comboBox) Asserts that the givenis not editable.JComboBoxvoidJTableDriver.requireNotEditable(JTable table, TableCell cell) Asserts that the given table cell is not editable.voidJTextComponentDriver.requireNotEditable(JTextComponent textBox) Asserts that the givenis not editable.JTextComponentvoidJTreeDriver.requireNotEditable(JTree tree) Asserts that the givenis not editable.JTreevoidAbstractButtonDriver.requireNotSelected(AbstractButton button) Verifies that the button is not selected.voidComponentDriver.requireNotVisible(Component c) Asserts that theis not visible.ComponentvoidJOptionPaneDriver.requireOptions(JOptionPane optionPane, Object[] options) Asserts that thehas the given options.JOptionPanevoidJOptionPaneDriver.requirePlainMessage(JOptionPane optionPane) Asserts that theis displaying a plain message.JOptionPanevoidJOptionPaneDriver.requireQuestionMessage(JOptionPane optionPane) Asserts that theis displaying a question.JOptionPanevoidJTableDriver.requireRowCount(JTable table, int rowCount) Asserts that the givenhas the given number of rows.JTablevoidAbstractButtonDriver.requireSelected(AbstractButton button) Verifies that the button is selected.voidJListDriver.requireSelectedItems(JList list, int... indices) Verifies that the given item indices are selected in the.JListvoidJListDriver.requireSelectedItems(JList list, String... items) Verifies that the selected items in thematch the given values.JListvoidJListDriver.requireSelectedItems(JList list, Pattern... patterns) Verifies that the selected items in thematch the given regular expression patterns.JListprivate voidJListDriver.requireSelectedItems(JList list, TextMatcher matcher) voidJTableDriver.requireSelectedRows(JTable table, int... rows) Asserts that the set of selected rows in the givencontains to the given row indices.JTablevoidJComboBoxDriver.requireSelection(JComboBox comboBox, int index) Verifies that the index of the selected item in theis equal to the given value.JComboBoxvoidJComboBoxDriver.requireSelection(JComboBox comboBox, String value) Verifies that theStringrepresentation of the selected item in thematches the given text.JComboBoxvoidJComboBoxDriver.requireSelection(JComboBox comboBox, Pattern pattern) Verifies that theStringrepresentation of the selected item in thematches the given regular expression pattern.JComboBoxvoidJListDriver.requireSelection(JList list, int index) Verifies that the selected index in thematches the given value.JListvoidJListDriver.requireSelection(JList list, String value) Verifies that the selected item in thematches the given value.JListvoidJListDriver.requireSelection(JList list, Pattern pattern) Verifies that the selected item in thematches the given regular expression pattern.JListvoidJTreeDriver.requireSelection(JTree tree, int[] rows) Asserts that the given's selected rows are equal to the given one.JTreevoidJTreeDriver.requireSelection(JTree tree, String[] paths) Asserts that the given's selected paths are equal to the given one.JTreevoidComponentDriver.requireSize(Component c, Dimension size) Asserts that the size of theis equal to given one.ComponentvoidJTabbedPaneDriver.requireTabTitle(JTabbedPane tabbedPane, String title, Index index) Asserts that the title of the tab at the given index matches the given value.voidJTabbedPaneDriver.requireTabTitle(JTabbedPane tabbedPane, Pattern pattern, Index index) Asserts that the title of the tab at the given index matches the given regular expression pattern.voidJTabbedPaneDriver.requireTabTitles(JTabbedPane tabbedPane, String[] titles) Asserts that the tabs of the givenhave the given titles.JTabbedPanevoidAbstractButtonDriver.requireText(AbstractButton button, String expected) Asserts that the text in the given button is equal to or matches the specifiedString.voidJLabelDriver.requireText(JLabel label, String expected) Asserts that the text of theis equal to the specifiedJLabelString.voidJLabelDriver.requireText(JLabel label, Pattern pattern) Asserts that the text of thematches the given regular expression pattern.JLabelvoidJProgressBarDriver.requireText(JProgressBar progressBar, String expected) Asserts that the text of theis equal to the specifiedJProgressBarString.voidJProgressBarDriver.requireText(JProgressBar progressBar, Pattern pattern) Asserts that the text of thematches the given regular expression pattern.JProgressBarvoidJTextComponentDriver.requireText(JTextComponent textBox, String expected) Asserts that the text in the givenis equal to the specified value.JTextComponentvoidJTextComponentDriver.requireText(JTextComponent textBox, Pattern pattern) Asserts that the text in the givenmatches the given regular expression pattern.JTextComponentvoidJOptionPaneDriver.requireTitle(JOptionPane optionPane, String title) Asserts that the title in the givenmatches the given value.JOptionPanevoidJOptionPaneDriver.requireTitle(JOptionPane optionPane, Pattern pattern) Asserts that the title in the givenmatches the given regular expression pattern.JOptionPanevoidJComponentDriver.requireToolTip(JComponent c, String expected) Asserts that the toolTip in the givenmatches the given value.JComponentvoidJComponentDriver.requireToolTip(JComponent c, Pattern pattern) Asserts that the toolTip in the givenmatches the given regular expression pattern.JComponentvoidJProgressBarDriver.requireValue(JProgressBar progressBar, int value) Verifies that the value of the givenis equal to the given one.JProgressBarvoidJScrollBarDriver.requireValue(JScrollBar scrollBar, int value) Asserts that the value of theis equal to the given one.JScrollBarvoidJSpinnerDriver.requireValue(JSpinner spinner, Object value) Verifies that the value of theis equal to the given one.JSpinnervoidComponentDriver.requireVisible(Component c) Asserts that theis visible.ComponentvoidJOptionPaneDriver.requireWarningMessage(JOptionPane optionPane) Asserts that theis displaying a warning message.JOptionPaneprotected final voidResizes theto the given size.ContainervoidRequests the givento be resized.JAppletprivate voidprotected final voidContainerDriver.resizeHeight(Container c, int height) Resizes thevertically.ContainervoidJInternalFrameDriver.resizeHeightTo(JInternalFrame w, int height) Resizes thevertically.JInternalFramevoidWindowDriver.resizeHeightTo(Window w, int height) Resizes thevertically.WindowContainerDriver.resizeInfo(Container c) voidJInternalFrameDriver.resizeTo(JInternalFrame internalFrame, Dimension size) Resizes theto the given size.JInternalFramevoidResizes theto the given size.Windowprotected final voidContainerDriver.resizeWidth(Container c, int width) Resizes thehorizontally.ContainervoidJInternalFrameDriver.resizeWidthTo(JInternalFrame internalFrame, int width) Resizes thehorizontally.JInternalFramevoidWindowDriver.resizeWidthTo(Window w, int width) Resizes thehorizontally.WindowvoidComponentDriver.rightClick(Component c) Simulates a user right-clicking the given.ComponentvoidJTreeDriver.rightClickPath(JTree tree, String path) Right-clicks the given path, expanding parent nodes if necessary.voidJTreeDriver.rightClickRow(JTree tree, int row) Right-clicks the given row.intJTableDriver.rowCountOf(JTable table) Returns the number of rows that can be shown in the given, given unlimited space.JTable(package private) static intJTableRowCountQuery.rowCountOf(JTable table) private voidJScrollBarDriver.scroll(JScrollBar scrollBar, Pair<Point, Integer> scrollInfo) private PointJTreeDriver.scrollAndSelectRow(JTree tree, int row) voidJScrollBarDriver.scrollBlockDown(JScrollBar scrollBar) Scrolls down (or right) one block (usually a page).voidJScrollBarDriver.scrollBlockDown(JScrollBar scrollBar, int times) Scrolls down (or right) one block (usually a page,) the given number of times.voidJScrollBarDriver.scrollBlockUp(JScrollBar scrollBar) Scrolls up (or left) one block (usually a page).voidJScrollBarDriver.scrollBlockUp(JScrollBar scrollBar, int times) Scrolls up (or left) one block (usually a page,) the given number of times.voidJScrollBarDriver.scrollTo(JScrollBar scrollBar, int position) Scrolls to the given position.(package private) static PointJListScrollToItemTask.scrollToItem(JList list, int index) JListScrollToItemTask.scrollToItem(JList list, TextMatcher matcher, JListCellReader cellReader) (package private) static PointJListScrollToItemTask.scrollToItemIfNotSelectedYet(JList list, int index) JListScrollToItemTask.scrollToItemIfNotSelectedYet(JList list, TextMatcher matcher, JListCellReader cellReader) JTreeDriver.scrollToMatchingPath(JTree tree, String path) JTreeDriver.scrollToMatchingPathAndGetToggleInfo(JTree tree, String path, JTreePathFinder pathFinder, JTreeLocation location) voidJScrollBarDriver.scrollToMaximum(JScrollBar scrollBar) Scrolls to the maximum position of the given.JScrollBarvoidJScrollBarDriver.scrollToMinimum(JScrollBar scrollBar) Scrolls to the minimum position of the given.JScrollBarJTreeDriver.scrollToPathToSelect(JTree tree, TreePath path, JTreeLocation location) private static PointJTableDriver.scrollToPointAtCell(JTable table, TableCell cell, JTableLocation location) private static PointJTextComponentDriver.scrollToPosition(JTextComponent textBox, int index) private PointJTreeDriver.scrollToRow(JTree tree, int row) JTreeDriver.scrollToRow(JTree tree, int row, JTreeLocation location) JTreeDriver.scrollToRowAndGetToggleInfo(JTree tree, int row, JTreeLocation location) voidAbstractButtonDriver.select(AbstractButton button) Selects the given button only it is not already selected.voidJTextComponentDriver.selectAll(JTextComponent textBox) Selects the text in the.JTextComponentvoidJComboBoxDriver.selectAllText(JComboBox comboBox) Simulates a user selecting the text in the.JComboBoxprivate voidJTableDriver.selectCell(JTable table, int row, int column) voidJTableDriver.selectCell(JTable table, TableCell cell) Selects the given cell, if it is not selected already.private static ComponentJTabbedPaneDriver.selectedComponent(JTabbedPane tabbedPane) JTabbedPaneDriver.selectedComponentOf(JTabbedPane tabbedPane) Returns the currently selected component for the given.JTabbedPanestatic intJComboBoxSelectedIndexQuery.selectedIndexOf(JComboBox comboBox) Returns the selected index in the given.JComboBox(package private) static intJListSelectedIndexQuery.selectedIndexOf(JList list) private org.fest.assertions.DescriptionJListDriver.selectedIndexProperty(JList list) (package private) static int[]JListSelectionIndicesQuery.selectedIndices(JList list) private static org.fest.assertions.DescriptionAbstractButtonDriver.selectedProperty(AbstractButton button) private static int[]JTableDriver.selectedRowsOf(JTable table) voidJFileChooserDriver.selectFile(JFileChooser fileChooser, File file) Selects the given file in the.JFileChooser(package private) static ObjectJComboBoxSelectionValueQuery.selection(JComboBox comboBox, JComboBoxCellReader cellReader) String[]JListDriver.selectionOf(JList list) Returns an array ofStrings that represents the selection in the given, using this driver'sJList.JListCellReaderprivate org.fest.assertions.DescriptionJTreeDriver.selectionProperty(JTree tree) JTableDriver.selectionValue(JTable table) Returns theStringrepresentation of the value of the selected cell, using this driver's.JTableCellReaderprivate static StringJTableDriver.selectionValue(JTable table, JTableCellReader cellReader) JListSelectionValuesQuery.selectionValues(JList list, JListCellReader cellReader) voidJComboBoxDriver.selectItem(JComboBox comboBox, int index) Selects the item under the given index in the.JComboBoxvoidJComboBoxDriver.selectItem(JComboBox comboBox, String value) Selects the first item matching the given text in the.JComboBoxvoidJComboBoxDriver.selectItem(JComboBox comboBox, Pattern pattern) Selects the first item matching the given regular expression pattern in the.JComboBoxprivate voidJComboBoxDriver.selectItem(JComboBox comboBox, TextMatcher matcher) voidJListDriver.selectItem(JList list, int index) Selects the item under the given index using left mouse button once.voidJListDriver.selectItem(JList list, String value) Selects the item in the givenwhose value matches the given one.JListvoidJListDriver.selectItem(JList list, Pattern pattern) Selects the item in the givenwhose value matches the given regular expression pattern.JListprivate voidJListDriver.selectItem(JList list, TextMatcher matcher) private voidJComboBoxDriver.selectItemAtIndex(JComboBox comboBox, int index) voidJListDriver.selectItems(JList list, int start, int end) Selects the items in the specified range.voidJListDriver.selectItems(JList list, String[] values) Selects the items matching the given values.voidJListDriver.selectItems(JList list, Pattern[] patterns) Selects the items matching the given regular expression patterns.voidJListDriver.selectItems(JList list, Range.From from, Range.To to) Selects the items in the specified range.private voidJListDriver.selectItems(JList list, TextMatcher matcher) private PointJTreeDriver.selectMatchingPath(JTree tree, String path) voidJTreeDriver.selectPath(JTree tree, String path) Selects the given path, expanding parent nodes if necessary.voidJTreeDriver.selectPaths(JTree tree, String[] paths) Selects the given paths, expanding parent nodes if necessary.voidSelects the given row.voidJTableDriver.selectRows(JTable table, int... rows) Simulates a user selecting the given rows in the given.JTablevoidJTreeDriver.selectRows(JTree tree, int[] rows) Selects the given rows.voidJTabbedPaneDriver.selectTab(JTabbedPane tabbedPane, String title) Simulates a user selecting the tab containing the given title.voidJTabbedPaneDriver.selectTab(JTabbedPane tabbedPane, Pattern pattern) Simulates a user selecting the tab whose title matches the given regular expression pattern.private voidJTabbedPaneDriver.selectTab(JTabbedPane tabbedPane, TextMatcher matcher) voidJTextComponentDriver.selectText(JTextComponent textBox, int start, int end) Select the given text range.voidJTextComponentDriver.selectText(JTextComponent textBox, String text) Select the given text range.voidJSpinnerDriver.selectValue(JSpinner spinner, Object value) Selects the given value in the given.JSpinner(package private) static voidComponentSetSizeTask.setComponentSize(Component c, int width, int height) voidJFileChooserDriver.setCurrentDirectory(JFileChooser fileChooser, File dir) Sets the current directory in theto the given one.JFileChooser(package private) static voidJSplitPaneSetDividerLocationTask.setDividerLocation(JSplitPane splitPane, int location) (package private) static voidJInternalFrameSetIconTask.setIcon(JInternalFrame internalFrame, JInternalFrameAction action) private voidJInternalFrameDriver.setIconProperty(JInternalFrame internalFrame, JInternalFrameAction action) private voidJInternalFrameDriver.setMaximumProperty(JInternalFrame internalFrame, JInternalFrameAction action) (package private) static voidJComboBoxSetPopupVisibleTask.setPopupVisible(JComboBox comboBox, boolean visible) (package private) static voidJComboBoxSetSelectedIndexTask.setSelectedIndex(JComboBox comboBox, int index) (package private) static voidJTabbedPaneSelectTabTask.setSelectedTab(JTabbedPane tabbedPane, int index) (package private) voidJTabbedPaneDriver.setTabDirectly(JTabbedPane tabbedPane, int index) voidJTextComponentDriver.setText(JTextComponent textBox, String text) Sets the given text into the.JTextComponent(package private) static voidJTextComponentSetTextTask.setTextIn(JTextComponent textBox, String text) (package private) static voidprivate voidJScrollBarDriver.setValueProperty(JScrollBar scrollBar, int value) private voidvoidShows the.WindowvoidShows the, resized to the given size.Window(package private) voidJComboBoxDriver.showDropDownList(JComboBox comboBox) JListDriver.showPopupMenu(JList list, int index) Shows a pop-up menu at the location of the specified item in the.JListJListDriver.showPopupMenu(JList list, String value) Shows a pop-up menu at the location of the specified item in the.JListJListDriver.showPopupMenu(JList list, Pattern pattern) Shows a pop-up menu at the location of the specified item in the.JListprivate JPopupMenuJListDriver.showPopupMenu(JList list, TextMatcher matcher) JTableHeaderDriver.showPopupMenu(JTableHeader tableHeader, int columnIndex) Shows a pop-up menu at the given column.JTableHeaderDriver.showPopupMenu(JTableHeader tableHeader, String columnName) Shows a pop-up menu at the given column.JTableHeaderDriver.showPopupMenu(JTableHeader tableHeader, Pattern pattern) Shows a pop-up menu at the column whose name matches the given regular expression pattern.JTreeDriver.showPopupMenu(JTree tree, int row) Shows a pop-up menu at the position of the node in the given row.JTreeDriver.showPopupMenu(JTree tree, String path) Shows a pop-up menu at the position of the last node in the given path.JTableDriver.showPopupMenuAt(JTable table, TableCell cell) Shows a pop-up menu at the given table cell.private voidContainerDriver.simulateMoveStarted(Container c, Triple<Dimension, Insets, Point> moveInfo, int x, int y) private voidJSplitPaneDriver.simulateMovingDivider(JSplitPane split, int location) private voidJSplitPaneDriver.simulateMovingDivider(JSplitPane splitPane, GenericRange<Point> range) private voidJSplitPaneDriver.simulateMovingDividerVertically(JSplitPane splitPane, int location) private voidContainerDriver.simulateResizeStarted(Container c, Pair<Dimension, Insets> resizeInfo, int x, int y) private voidJScrollBarDriver.simulateScrolling(JScrollBar scrollBar, GenericRange<Point> points) (package private) static ObjectJListSelectionValueQuery.singleSelectionValue(JList list, JListCellReader cellReader) voidSlides the knob to the requested value.private voidJSliderDriver.slide(JSlider slider, int value, GenericRange<Point> fromAndTo) private voidvoidJSliderDriver.slideToMaximum(JSlider slider) Slides the knob to its maximum.voidJSliderDriver.slideToMinimum(JSlider slider) Slides the knob to its minimum.voidJTableCheckBoxEditorCellWriter.startCellEditing(JTable table, int row, int column) Starts editing the given cell of the.JTablevoidJTableComboBoxEditorCellWriter.startCellEditing(JTable table, int row, int column) Starts editing the given cell of the.JTablevoidJTableDriver.startCellEditing(JTable table, TableCell cell) Starts editing the given cell of the, using this driver'sJTable.JTableCellWritervoidJTableTextComponentEditorCellWriter.startCellEditing(JTable table, int row, int column) Starts editing the given cell of the.JTablevoidAbstractJTableCellWriter.stopCellEditing(JTable table, int row, int column) Stops editing the given cell of the.JTablevoidJTableDriver.stopCellEditing(JTable table, TableCell cell) Stops editing the given cell of the, using this driver'sJTable.JTableCellWriter(package private) static voidJTableStopCellEditingTask.stopEditing(JTable table, int row, int column) (package private) static voidJTableStopCellEditingTask.stopEditing(TableCellEditor cellEditor) (package private) static StringJProgressBarStringQuery.stringOf(JProgressBar progressBar) (package private) static String[][]JTableContentsQuery.tableContents(JTable table, JTableCellReader cellReader) (package private) static JTableHeaderJTableHeaderQuery.tableHeader(JTable table) JTableDriver.tableHeaderOf(JTable table) Returns theof the givenJTableHeader.JTableString[]JTabbedPaneDriver.tabTitles(JTabbedPane tabbedPane) Returns the titles of all the tabs.(package private) static String[]JTabbedPaneTabTitlesQuery.tabTitlesOf(JTabbedPane tabbedPane) JTabbedPaneDriver.tabToSelectInfo(JTabbedPaneLocation location, JTabbedPane tabbedPane, TextMatcher matcher) booleanJTreeChildrenShowUpCondition.test()JOptionPaneDriver.textBox(JOptionPane optionPane) Deprecated.in 1.2AbstractButtonDriver.textOf(AbstractButton button) Returns the text of the given button.(package private) static StringAbstractButtonTextQuery.textOf(AbstractButton button) Returns the text of the given.JLabel(package private) static StringJProgressBarDriver.textOf(JProgressBar progressBar) Returns the text of the given.JProgressBarReturns the text displayed in the given.JSpinnerJTextComponentDriver.textOf(JTextComponent textBox) Returns the text of the given.JTextComponent(package private) static StringJTextComponentTextQuery.textOf(JTextComponent textComponent) private static org.fest.assertions.DescriptionJTextComponentDriver.textProperty(JTextComponent textBox) JOptionPaneDriver.title(JOptionPane optionPane) Returns the title of the given.JOptionPaneprivate static StringJTabbedPaneDriver.titleAt(JTabbedPane tabbedPane, Index index) private org.fest.assertions.DescriptionJTabbedPaneDriver.titleAtProperty(JTabbedPane tabbedPane) (package private) static StringJOptionPaneTitleQuery.titleOf(JOptionPane optionPane) private static voidJInternalFrameDriver.toBack(JInternalFrame internalFrame) private static voidJInternalFrameDriver.toFront(JInternalFrame internalFrame) (package private) static voidprivate voidJTreeDriver.toggleCell(JTree tree, Point p, int toggleClickCount) voidChange the open/closed state of the given row, if possible.private static voidJTreeDriver.toggleRowThroughTreeUI(JTree tree, Point p) (package private) static StringJComponentToolTipQuery.toolTipOf(JComponent c) voidCloses a floating, making it go back to its original container in its last known location.JToolBarvoidDrop theJToolBarto the requested constraint position.private static Pair<GenericRange<Point>,Container> JToolBarDriver.unfloatInfo(JToolBar toolBar, String constraint, JToolBarLocation location) voidAbstractButtonDriver.unselect(AbstractButton button) Unselects the given button only if it is selected.private static voidJSpinnerDriver.validate(JSpinner spinner, JTextComponent editor) voidValidates that the given table cell is nonnulland its indices are not out of bounds.private static voidJSpinnerDriver.validateAndDecrementValue(JSpinner spinner) private static voidJSpinnerDriver.validateAndDecrementValue(JSpinner spinner, int times) private static voidJMenuItemDriver.validateAndDoClick(JMenuItem menuItem) JInternalFrameDriver.validateAndFindCloseInfo(JInternalFrame internalFrame) JInternalFrameDriver.validateAndfindDeiconifyInfo(JInternalFrame internalFrame) JInternalFrameDriver.validateAndfindIconifyInfo(JInternalFrame internalFrame) private static booleanAbstractButtonDriver.validateAndFindIsSelected(AbstractButton button) JInternalFrameDriver.validateAndFindMaximizeLocation(JInternalFrame internalFrame) JInternalFrameDriver.validateAndFindNormalizeLocation(JInternalFrame internalFrame) JScrollBarDriver.validateAndFindScrollBlockInfo(JScrollBar scrollBar, JScrollBarLocation location, int times) private static GenericRange<Point>JScrollBarDriver.validateAndFindScrollInfo(JScrollBar scrollBar, JScrollBarLocation location, int position) private static Pair<Integer,GenericRange<Point>> JScrollBarDriver.validateAndFindScrollToMaximumInfo(JScrollBar scrollBar, JScrollBarLocation location) private static Pair<Integer,GenericRange<Point>> JScrollBarDriver.validateAndFindScrollToMinimumInfo(JScrollBar scrollBar, JScrollBarLocation location) JScrollBarDriver.validateAndFindScrollUnitInfo(JScrollBar scrollBar, JScrollBarLocation location, int times) private static GenericRange<Point>JSliderDriver.validateAndFindSlideInfo(JSlider slider, JSliderLocation location, int value) private static Pair<Integer,GenericRange<Point>> JSliderDriver.validateAndFindSlideToMaximumInfo(JSlider slider, JSliderLocation location) private static Pair<Integer,GenericRange<Point>> JSliderDriver.validateAndFindSlideToMinimumInfo(JSlider slider, JSliderLocation location) private static GenericRange<Point>JSplitPaneDriver.validateAndFindWhereToMoveDividerHorizontally(JSplitPane splitPane, int location) private static GenericRange<Point>JSplitPaneDriver.validateAndFindWhereToMoveDividerVertically(JSplitPane splitPane, int location) private static PointJTabbedPaneDriver.validateAndGetPoint(JTabbedPaneLocation location, JTabbedPane tabbedPane, int index) private static voidJSpinnerDriver.validateAndIncrementValue(JSpinner spinner) private static voidJSpinnerDriver.validateAndIncrementValue(JSpinner spinner, int times) private static PointJTextComponentDriver.validateAndScrollToPosition(JTextComponent textBox, int index) (package private) static voidJFileChooserSelectFileTask.validateAndSelectFile(JFileChooser fileChooser, File file) (package private) static voidJFileChooserSelectFileTask.validateAndSelectFiles(JFileChooser fileChooser, File[] files) (package private) static voidJTableStopCellEditingTask.validateAndStopEditing(JTable table, int row, int column) private static voidJComboBoxDriver.validateCanSelectItem(JComboBox comboBox, int index) private static voidJToolBarDriver.validateFloated(JToolBar toolBar) private static voidJListDriver.validateIndicesAndClearSelection(JList list, int... indices) private static voidJToolBarDriver.validateIsNotFloating(JToolBar toolBar, String constraint) voidJTreeDriver.validatePath(JTree tree, String path) Verifies that the given node path exists.voidJTreeDriver.validateRow(JTree tree, int row) Verifies that the given row index is valid.Returns theStringrepresentation of the element under the given index, using this driver's.JListCellReaderReturns theStringrepresentation of the value at the given row and column, using this driver's.JTableCellReaderReturns theStringrepresentation of the value at the given cell, using this driver's.JTableCellReaderprivate static StringJComboBoxDriver.valueAsText(JComboBox comboBox, int index, JComboBoxCellReader cellReader) (package private) static intJProgressBarValueQuery.valueOf(JProgressBar progressBar) (package private) static intJScrollBarValueQuery.valueOf(JScrollBar scrollBar) (package private) static Object(package private) static TreePathJTreeMatchingPathQuery.verifyJTreeIsReadyAndFindMatchingPath(JTree tree, String path, JTreePathFinder pathFinder) (package private) static voidJTreeVerifySelectionTask.verifyNoSelection(JTree tree, org.fest.assertions.Description errMsg) (package private) static voidJTreeVerifySelectionTask.verifySelection(JTree tree, int[] selection, org.fest.assertions.Description errMsg) (package private) static voidJTreeVerifySelectionTask.verifySelection(JTree tree, String[] selection, JTreePathFinder pathFinder, org.fest.assertions.Description errMsg) private static JScrollBarJScrollPaneDriver.verticalScrollBar(JScrollPane scrollPane) JScrollPaneDriver.verticalScrollBarIn(JScrollPane scrollPane) Returns the verticalin the givenJScrollBar.JScrollPaneprivate static org.fest.assertions.DescriptionComponentDriver.visibleProperty(Component c) private voidJTreeDriver.waitForChildrenToShowUp(JTree tree, TreePath path) protected final <T extends Component>
TAbstractJTableCellWriter.waitForEditorActivation(JTable table, int row, int column, Class<T> supportedType) Waits until the editor of the given table cell is showing on the screen.protected final <T extends Component>
TAbstractJTableCellWriter.waitForEditorActivation(ComponentMatcher matcher, JTable table, int row, int column, Class<T> supportedType) Waits until the editor of the given table cell is showing on the screen.private JComboBoxJTableComboBoxEditorCellWriter.waitForEditorActivation(JTable table, int row, int column) private JTextComponentJTableTextComponentEditorCellWriter.waitForEditorActivation(JTable table, int row, int column) voidJProgressBarDriver.waitUntilIsDeterminate(JProgressBar progressBar) Waits until the value of the givenis in determinate mode.JProgressBarvoidJProgressBarDriver.waitUntilIsDeterminate(JProgressBar progressBar, Timeout timeout) Waits until the value of the givenis in determinate mode.JProgressBarvoidJProgressBarDriver.waitUntilValueIs(JProgressBar progressBar, int value) Waits until the value of the givenis equal to the given value.JProgressBarvoidJProgressBarDriver.waitUntilValueIs(JProgressBar progressBar, int value, Timeout timeout) Waits until the value of the givenis equal to the given value.JProgressBar(package private) static voidJProgressBarWaitUntilIsDeterminate.waitUntilValueIsDeterminate(JProgressBar progressBar, Timeout timeout) (package private) static voidJProgressBarWaitUntilValueIsEqualToExpectedTask.waitUntilValueIsEqualToExpected(JProgressBar progressBar, int expected, Timeout timeout) private static WindowJToolBarDriver.windowAncestorOf(JToolBar toolBar) JOptionPaneDriver.yesButton(JOptionPane optionPane) Finds the "Yes" button in the.JOptionPane -
Uses of RunsInEDT in org.fest.swing.fixture
Methods in org.fest.swing.fixture with annotations of type RunsInEDTModifier and TypeMethodDescriptionstatic FrameFixtureContainers.frameFixtureFor(Container contentPane) static JFramestatic FrameFixtureContainers.showInFrame(Container contentPane) -
Uses of RunsInEDT in org.fest.swing.format
Methods in org.fest.swing.format with annotations of type RunsInEDTModifier and TypeMethodDescriptionstatic StringFormatting.inEdtFormat(Component c) Returns aStringrepresentation of the given.Component -
Uses of RunsInEDT in org.fest.swing.hierarchy
Methods in org.fest.swing.hierarchy with annotations of type RunsInEDT -
Uses of RunsInEDT in org.fest.swing.image
Methods in org.fest.swing.image with annotations of type RunsInEDTModifier and TypeMethodDescriptionprivate static JTextComponentScreenshotTaker.findFocusOwnerAndHideItsCaret()private static voidScreenshotTaker.showCaretOf(JTextComponent textComponent) -
Uses of RunsInEDT in org.fest.swing.launcher
Methods in org.fest.swing.launcher with annotations of type RunsInEDTModifier and TypeMethodDescriptionstatic AppletLauncherCreates a new applet launcher.static AppletLauncherCreates a new applet launcher.private static Class<?> -
Uses of RunsInEDT in org.fest.swing.monitor
Classes in org.fest.swing.monitor with annotations of type RunsInEDTMethods in org.fest.swing.monitor with annotations of type RunsInEDTModifier and TypeMethodDescription(package private) voidWindowStatus.checkIfReady(Window w) Checks whether the given window is ready for input.voidContextMonitor.eventDispatched(AWTEvent e) voidWindowAvailabilityMonitor.eventDispatched(AWTEvent e) (package private) EventQueueContext.eventQueueFor(Component c) Return the event queue corresponding to the given component.static WindowMonitorWindowMonitor.instance()Returns the singleton instance of this class.private static Pair<WindowMetrics,Point> WindowStatus.metricsAndCenter(Window w) private voidprivate static ComponentContext.topParentOf(Component c) voidWindowVisibilityMonitor.windowClosed(WindowEvent e) -
Uses of RunsInEDT in org.fest.swing.query
Methods in org.fest.swing.query with annotations of type RunsInEDTModifier and TypeMethodDescriptionstatic ColorComponentBackgroundQuery.backgroundOf(Component component) Returns the background color of the given.Componentstatic FontReturns the font of the given.Componentstatic ColorComponentForegroundQuery.foregroundOf(Component component) Returns the foreground color of the given.Componentstatic booleanIndicates whether the givenhas input focus or not.Componentstatic booleanIndicates whether the givenis showing or not.Componentstatic booleanIndicates whether the givenis visible or not.Componentstatic PointComponentLocationOnScreenQuery.locationOnScreen(Component component) Returns the location of the givenon screen.Componentstatic ContainerReturns the parent of the given.Componentstatic DimensionReturns the size of the given.Component