public class JSplitPaneFixture extends AbstractJPopupMenuInvokerFixture<JSplitPaneFixture,JSplitPane,JSplitPaneDriver>
JSplitPanes.BACKGROUND_PROPERTY, FONT_PROPERTY, FOREGROUND_PROPERTY| Constructor and Description |
|---|
JSplitPaneFixture(Robot robot,
JSplitPane target)
Creates a new
JSplitPaneFixture. |
JSplitPaneFixture(Robot robot,
String spinnerName)
Creates a new
JSplitPaneFixture. |
| Modifier and Type | Method and Description |
|---|---|
protected JSplitPaneDriver |
createDriver(Robot robot) |
JSplitPaneFixture |
moveDividerTo(int location)
Simulates a user moving the divider of this fixture's
JSplitPane. |
showPopupMenu, showPopupMenuAtclientProperty, requireToolTip, requireToolTipbackground, click, click, click, doubleClick, driver, focus, font, foreground, isEnabled, myself, pressAndReleaseKey, pressAndReleaseKeys, pressKey, releaseKey, replaceDriverWith, requireDisabled, requireEnabled, requireEnabled, requireFocused, requireNotVisible, requireShowing, requireVisible, rightClick, robot, target, targetCastedTopublic JSplitPaneFixture(@Nonnull Robot robot, @Nonnull JSplitPane target)
JSplitPaneFixture.robot - performs simulation of user events on the given JSplitPane.target - the JSplitPane to be managed by this fixture.NullPointerException - if robot is null.NullPointerException - if target is null.public JSplitPaneFixture(@Nonnull Robot robot, @Nullable String spinnerName)
JSplitPaneFixture.robot - performs simulation of user events on a JSplitPane.spinnerName - the name of the JSplitPane to find using the given Robot.ComponentLookupException - if a matching JSplitPane could not be found.ComponentLookupException - if more than one matching JSplitPane is found.@Nonnull protected JSplitPaneDriver createDriver(@Nonnull Robot robot)
createDriver in class AbstractComponentFixture<JSplitPaneFixture,JSplitPane,JSplitPaneDriver>@Nonnull public JSplitPaneFixture moveDividerTo(int location)
Simulates a user moving the divider of this fixture's JSplitPane.
Since 1.2, this method respects the minimum and maximum values of the left and right components inside this
fixture's JSplitPane.
location - the location to move the divider to.IllegalStateException - if this fixture's JSplitPane is disabled.IllegalStateException - if this fixture's JSplitPane is not showing on the screen.Copyright © 2014 AssertJ. All rights reserved.