Package | Description |
---|---|
org.assertj.swing.core |
Low-level components that enable functional testing of AWT and Swing
Component s. |
org.assertj.swing.driver |
Component -specific test drivers. |
org.assertj.swing.fixture |
Public API, source of AssertJ-Swing's power and flexibility.
|
Modifier and Type | Method and Description |
---|---|
static KeyPressInfo |
KeyPressInfo.keyCode(int keyCode)
Specifies the code of the key to press, without any modifiers (e.g.
|
KeyPressInfo |
KeyPressInfo.modifiers(int... newModifiers)
Specifies the modifiers to use when pressing
the specified key (e.g. |
Modifier and Type | Method and Description |
---|---|
EmergencyAbortListener |
EmergencyAbortListener.keyCombination(KeyPressInfo keyPressInfo)
Sets the key combination that will terminate any AssertJ-Swing test.
|
Modifier and Type | Method and Description |
---|---|
void |
ComponentDriver.pressAndReleaseKey(Component c,
KeyPressInfo keyPressInfo)
Simulates a user pressing and releasing the given key on the AWT or Swing
Component . |
Modifier and Type | Method and Description |
---|---|
S |
AbstractComponentFixture.pressAndReleaseKey(KeyPressInfo keyPressInfo)
Simulates a user pressing given key with the given modifiers on this fixture's
Component . |
Copyright © 2014–2019 AssertJ. All rights reserved.