org.fest.swing.driver
Class JScrollPaneDriver

java.lang.Object
  extended by org.fest.swing.driver.ComponentDriver
      extended by org.fest.swing.driver.ContainerDriver
          extended by org.fest.swing.driver.JComponentDriver
              extended by org.fest.swing.driver.JScrollPaneDriver

public class JScrollPaneDriver
extends JComponentDriver

Understands functional testing of JScrollPanes:

This class is intended for internal use only. Please use the classes in the package org.fest.swing.fixture in your tests.

Author:
Yvonne Wang

Field Summary
 
Fields inherited from class org.fest.swing.driver.ComponentDriver
robot
 
Constructor Summary
JScrollPaneDriver(Robot robot)
          Creates a new JScrollPaneDriver.
 
Method Summary
 JScrollBar horizontalScrollBarIn(JScrollPane scrollPane)
          Returns the horizontal JScrollBar in the given JScrollPane.
 JScrollBar verticalScrollBarIn(JScrollPane scrollPane)
          Returns the vertical JScrollBar in the given JScrollPane.
 
Methods inherited from class org.fest.swing.driver.JComponentDriver
clientProperty, invokeAction, isVisible, isVisible, requireToolTip, requireToolTip, scrollToVisible
 
Methods inherited from class org.fest.swing.driver.ContainerDriver
move, resize, resizeHeight, resizeWidth
 
Methods 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JScrollPaneDriver

public JScrollPaneDriver(Robot robot)
Creates a new JScrollPaneDriver.

Parameters:
robot - the robot the robot to use to simulate user input.
Method Detail

horizontalScrollBarIn

@RunsInEDT
public JScrollBar horizontalScrollBarIn(JScrollPane scrollPane)
Returns the horizontal JScrollBar in the given JScrollPane.

Parameters:
scrollPane - the given JScrollBar.
Returns:
the horizontal scroll bar in the given JScrollBar.

verticalScrollBarIn

@RunsInEDT
public JScrollBar verticalScrollBarIn(JScrollPane scrollPane)
Returns the vertical JScrollBar in the given JScrollPane.

Parameters:
scrollPane - the given JScrollBar.
Returns:
the vertical scroll bar in the given JScrollBar.


Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.