public class JScrollPaneFixture extends AbstractJPopupMenuInvokerFixture<JScrollPaneFixture,JScrollPane,JScrollPaneDriver>
JScrollPanes.BACKGROUND_PROPERTY, FONT_PROPERTY, FOREGROUND_PROPERTY| Constructor and Description |
|---|
JScrollPaneFixture(Robot robot,
JScrollPane target)
Creates a new
JScrollPaneFixture. |
JScrollPaneFixture(Robot robot,
String panelName)
Creates a new
JScrollPaneFixture. |
| Modifier and Type | Method and Description |
|---|---|
protected JScrollPaneDriver |
createDriver(Robot robot) |
JScrollBarFixture |
horizontalScrollBar() |
JScrollBarFixture |
verticalScrollBar() |
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 JScrollPaneFixture(@Nonnull Robot robot, @Nonnull JScrollPane target)
JScrollPaneFixture.robot - performs simulation of user events on the given JScrollPane.target - the JScrollPane to be managed by this fixture.NullPointerException - if robot is null.IllegalArgumentException - if target is null.public JScrollPaneFixture(@Nonnull Robot robot, @Nullable String panelName)
JScrollPaneFixture.robot - performs simulation of user events on a JScrollPane.panelName - the name of the JScrollPane to find using the given Robot.NullPointerException - if robot is null.ComponentLookupException - if a matching JScrollPane could not be found.ComponentLookupException - if more than one matching JScrollPane is found.@Nonnull protected JScrollPaneDriver createDriver(@Nonnull Robot robot)
createDriver in class AbstractComponentFixture<JScrollPaneFixture,JScrollPane,JScrollPaneDriver>@Nonnull public JScrollBarFixture horizontalScrollBar()
JScrollBar of this target's JScrollPane.@Nonnull public JScrollBarFixture verticalScrollBar()
JScrollBar of this target's JScrollPane.Copyright © 2014 AssertJ. All rights reserved.