public class JSplitPaneDriver extends JComponentDriver
JSplitPane
s:
org.fest.swing.fixture
in your tests.robot
Constructor and Description |
---|
JSplitPaneDriver(Robot robot)
Creates a new
JSplitPaneDriver . |
Modifier and Type | Method and Description |
---|---|
void |
moveDividerTo(JSplitPane splitPane,
int location)
Sets the divider position to an absolute position.
|
clientProperty, invokeAction, isVisible, isVisible, requireToolTip, requireToolTip, scrollToVisible
move, resize, resizeHeight, resizeWidth
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
public JSplitPaneDriver(Robot robot)
JSplitPaneDriver
.robot
- the robot to use to simulate user input.@RunsInEDT public void moveDividerTo(JSplitPane splitPane, int location)
Since 1.2, this method respects the minimum and maximum values of the left and right components inside the given
JSplitPane
.
splitPane
- the target JSplitPane
.location
- the location to move the divider to.IllegalStateException
- if the JSplitPane
is disabled.IllegalStateException
- if the JSplitPane
is not showing on the screen.Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.