public class JRadioButtonFixture extends AbstractTwoStateButtonFixture<JRadioButtonFixture,JRadioButton>
JRadioButton
s.BACKGROUND_PROPERTY, FONT_PROPERTY, FOREGROUND_PROPERTY
Constructor and Description |
---|
JRadioButtonFixture(Robot robot,
JRadioButton target)
Creates a new
JRadioButtonFixture . |
JRadioButtonFixture(Robot robot,
String buttonName)
Creates a new
JRadioButtonFixture . |
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 JRadioButtonFixture(@Nonnull Robot robot, @Nonnull JRadioButton target)
JRadioButtonFixture
.robot
- performs simulation of user events on the given JRadioButton
.target
- the JRadioButton
to be managed by this fixture.NullPointerException
- if robot
is null
.NullPointerException
- if target
is null
.public JRadioButtonFixture(@Nonnull Robot robot, @Nullable String buttonName)
JRadioButtonFixture
.robot
- performs simulation of user events on a JRadioButton
.buttonName
- the name of the JRadioButton
to find using the given Robot
.NullPointerException
- if robot
is null
.ComponentLookupException
- if a matching JRadioButton
could not be found.ComponentLookupException
- if more than one matching JRadioButton
is
found.Copyright © 2014–2020 AssertJ. All rights reserved.