@InternalApi public class JScrollPaneDriver extends JComponentDriver
Supports functional testing of JScrollPanes.
Note: This class is intended for internal use only. Please use the classes in the package
org.assertj.swing.fixture in your tests.
robot| Constructor and Description |
|---|
JScrollPaneDriver(Robot robot)
Creates a new
JScrollPaneDriver. |
| Modifier and Type | Method and Description |
|---|---|
JScrollBar |
horizontalScrollBarIn(JScrollPane scrollPane)
Returns the horizontal
JScrollBar in the given JScrollPane. |
JScrollBar |
verticalScrollBarIn(JScrollPane scrollPane)
Returns the vertical
JScrollBar in the given JScrollPane. |
clientProperty, invokeAction, isVisible, isVisible, requireToolTip, requireToolTip, scrollToVisibledoResizeHeight, doResizeWidth, isResizable, move, resizebackgroundOf, checkInEdtEnabledAndShowing, click, click, click, click, click, doubleClick, drag, dragOver, drop, focus, focusAndWaitForFocusGain, fontOf, foregroundOf, invokePopupMenu, invokePopupMenu, moveMouseIgnoringAnyError, moveMouseIgnoringAnyError, performAccessibleActionOf, pressAndReleaseKey, pressAndReleaseKey, pressAndReleaseKeys, pressKey, propertyName, releaseKey, requireDisabled, requireEnabled, requireEnabled, requireFocused, requireNotVisible, requireSize, requireVisible, rightClick, settings, waitForShowingpublic JScrollPaneDriver(@Nonnull Robot robot)
JScrollPaneDriver.robot - the robot the robot to use to simulate user input.@RunsInEDT @Nonnull public JScrollBar horizontalScrollBarIn(@Nonnull JScrollPane scrollPane)
JScrollBar in the given JScrollPane.scrollPane - the given JScrollBar.JScrollBar.@RunsInEDT @Nonnull public JScrollBar verticalScrollBarIn(@Nonnull JScrollPane scrollPane)
JScrollBar in the given JScrollPane.scrollPane - the given JScrollBar.JScrollBar.Copyright © 2014 AssertJ. All rights reserved.