Component
s.See: Description
Interface | Description |
---|---|
ComponentFinder |
Looks up AWT and Swing
Component s based on different search criteria, such as a Component 's name,
type or label, and custom search criteria as well. |
ComponentMatcher |
Indicates whether an AWT or Swing
Component matches some desired criteria. |
ComponentPrinter |
Sends the
String representation of AWT and Swing Component s to a java.io.PrintStream , to
facilitate debugging. |
ResettableComponentMatcher |
ComponentMatcher whose internal state can be reset. |
Robot |
Simulates user input on an AWT or Swing
Component . |
Class | Description |
---|---|
AbstractComponentMatcher |
Template for implementations of
ResettableComponentMatcher . |
BasicComponentFinder |
Default implementation of
ComponentFinder . |
BasicComponentPrinter |
Default implementation of
ComponentPrinter . |
BasicRobot |
Default implementation of
Robot . |
ComponentDragAndDrop |
Simulates a user performing drag-and-drop.
|
ComponentFoundCondition |
Condition that is satisfied if an AWT or Swing
Component that matches certain search criteria is found. |
EdtSafeCondition |
Condition that is evaluated in the event dispatch thread (EDT). |
EmergencyAbortListener |
An escape valve for users to abort a running AssertJ-Swing test by pressing 'Ctrl + Shift + A'.
|
FocusOwnerFinder |
Finds the AWT or Swing
Component owning the input focus. |
GenericTypeMatcher<T extends Component> |
ComponentMatcher that matches an AWT or Swing Component by type and some custom search criteria. |
KeyPressInfo |
Information about a key (from the keyboard) to press.
|
LabelMatcher |
Matches an AWT or Swing
Component by the text of the associated JLabel and (optionally) by type. |
MouseClickInfo |
Information about a mouse button to click.
|
NameMatcher |
Matches an AWT or Swing
Component by name and (optionally) by type. |
Scrolling |
Utility methods related to scrolling.
|
Settings |
AssertJ-Swing configuration settings.
|
SimpleFallbackExceptionHandler |
Exception handler for the AWT event thread, to make sure we can get a back-trace dump when running AssertJ-Swing are
terminated by a
EmergencyAbortListener . |
TypeMatcher |
Matches AWT or Swing
Component s by type. |
WindowAncestorFinder |
Looks up an AWT or Swing
Component 's Window ancestor. |
Enum | Description |
---|---|
ComponentLookupScope |
Scopes of AWT or Swing
Component lookups. |
MouseButton |
Mouse buttons.
|
Component
s.
Most of the classes of in this packages were adapted from Abbot. Many thanks to Timothy Wall for allowing us to use them.
Copyright © 2014–2017 AssertJ. All rights reserved.