@InternalApi public class JScrollPaneDriver extends JComponentDriver
Supports functional testing of JScrollPane
s.
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, scrollToVisible
doResizeHeight, doResizeWidth, isResizable, move, resize
backgroundOf, checkClickAllowed, checkInEdtEnabledAndShowing, checkInEdtShowing, click, click, click, click, click, doubleClick, drag, dragOver, drop, drop, focus, focusAndWaitForFocusGain, fontOf, foregroundOf, invokePopupMenu, invokePopupMenu, moveMouseIgnoringAnyError, moveMouseIgnoringAnyError, performAccessibleActionOf, pressAndReleaseKey, pressAndReleaseKey, pressAndReleaseKeys, pressKey, pressKeyWhileRunning, propertyName, releaseKey, requireDisabled, requireEnabled, requireEnabled, requireFocused, requireNotVisible, requireSize, requireVisible, rightClick, settings, waitForShowing
public 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–2017 AssertJ. All rights reserved.