@InternalApi public class JSplitPaneDriver extends JComponentDriver
Supports functional testing of JSplitPanes.
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 |
|---|
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, 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 JSplitPaneDriver(@Nonnull Robot robot)
JSplitPaneDriver.robot - the robot to use to simulate user input.@RunsInEDT public void moveDividerTo(@Nonnull 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 © 2014 AssertJ. All rights reserved.