public class JCheckBoxFixture extends AbstractTwoStateButtonFixture<JCheckBoxFixture,JCheckBox>
JCheckBox
es.BACKGROUND_PROPERTY, FONT_PROPERTY, FOREGROUND_PROPERTY
Constructor and Description |
---|
JCheckBoxFixture(Robot robot,
JCheckBox target)
Creates a new
JCheckBoxFixture . |
JCheckBoxFixture(Robot robot,
String checkBoxName)
Creates a new
JCheckBoxFixture . |
check, check, requireArmed, requireArmed, requireNotArmed, requireNotSelected, requireSelected, requireSelected, uncheck
createDriver, requireText, requireText, text
showPopupMenu, showPopupMenuAt
clientProperty, requireToolTip, requireToolTip
background, click, click, click, doubleClick, driver, drop, equals, focus, font, foreground, hashCode, isEnabled, myself, pressAndReleaseKey, pressAndReleaseKeys, pressKey, pressKeyWhileRunning, releaseKey, replaceDriverWith, requireDisabled, requireEnabled, requireEnabled, requireFocused, requireNotVisible, requireShowing, requireVisible, rightClick, robot, target, targetCastedTo
public JCheckBoxFixture(@Nonnull Robot robot, @Nonnull JCheckBox target)
JCheckBoxFixture
.robot
- performs simulation of user events on the given JCheckBox
.target
- the JCheckBox
to be managed by this fixture.NullPointerException
- if robot
is null
.NullPointerException
- if target
is null
.public JCheckBoxFixture(@Nonnull Robot robot, @Nonnull String checkBoxName)
JCheckBoxFixture
.robot
- performs simulation of user events on a JCheckBox
.checkBoxName
- the name of the JCheckBox
to find using the given Robot
.NullPointerException
- if robot
is null
.ComponentLookupException
- if a matching JCheckBox
could not be found.ComponentLookupException
- if more than one matching JCheckBox
is found.Copyright © 2014–2019 AssertJ. All rights reserved.