Package org.fest.swing.driver
Class JScrollPaneDriver
java.lang.Object
org.fest.swing.driver.ComponentDriver
org.fest.swing.driver.ContainerDriver
org.fest.swing.driver.JComponentDriver
org.fest.swing.driver.JScrollPaneDriver
Understands functional testing of
JScrollPanes:
- user input simulation
- state verification
- property value query
org.fest.swing.fixture in your tests.-
Field Summary
Fields inherited from class org.fest.swing.driver.ComponentDriver
robot -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static JScrollBarhorizontalScrollBar(JScrollPane scrollPane) horizontalScrollBarIn(JScrollPane scrollPane) Returns the horizontalin the givenJScrollBar.JScrollPaneprivate static JScrollBarverticalScrollBar(JScrollPane scrollPane) verticalScrollBarIn(JScrollPane scrollPane) Returns the verticalin the givenJScrollBar.JScrollPaneMethods inherited from class org.fest.swing.driver.JComponentDriver
clientProperty, invokeAction, isVisible, isVisible, requireToolTip, requireToolTip, scrollToVisibleMethods inherited from class org.fest.swing.driver.ContainerDriver
move, resize, resizeHeight, resizeWidthMethods inherited from class org.fest.swing.driver.ComponentDriver
assertIsEnabledAndShowing, click, click, click, click, click, doubleClick, drag, dragOver, drop, focus, focusAndWaitForFocusGain, invokePopupMenu, invokePopupMenu, moveMouseIgnoringAnyError, moveMouseIgnoringAnyError, performAccessibleActionOf, pressAndReleaseKey, pressAndReleaseKey, pressAndReleaseKeys, pressKey, propertyName, releaseKey, requireDisabled, requireEnabled, requireEnabled, requireFocused, requireNotVisible, requireSize, requireVisible, rightClick, settings, waitForShowing
-
Constructor Details
-
JScrollPaneDriver
Creates a newJScrollPaneDriver.- Parameters:
robot- the robot the robot to use to simulate user input.
-
-
Method Details
-
horizontalScrollBarIn
Returns the horizontalin the givenJScrollBar.JScrollPane- Parameters:
scrollPane- the givenJScrollBar.- Returns:
- the horizontal scroll bar in the given
JScrollBar.
-
horizontalScrollBar
-
verticalScrollBarIn
Returns the verticalin the givenJScrollBar.JScrollPane- Parameters:
scrollPane- the givenJScrollBar.- Returns:
- the vertical scroll bar in the given
JScrollBar.
-
verticalScrollBar
-