Package org.fest.swing.util
Class AWTEvents
java.lang.Object
org.fest.swing.util.AWTEvents
Understands utility methods related to AWT events.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
static boolean
Returnstrue
if the id of the given event is equal toWINDOW_CLOSED
static boolean
Returnstrue
if the id of the given event is equal toWINDOW_OPENED
static boolean
Returnstrue
if the id of the given event is equal to
and the source of the event is aCOMPONENT_SHOWN
.Window
-
Constructor Details
-
AWTEvents
private AWTEvents()
-
-
Method Details
-
windowOpened
Returnstrue
if the id of the given event is equal toWINDOW_OPENED
- Parameters:
e
- the given event.- Returns:
true
if the id of the given event is equal toWINDOW_OPENED
;false
otherwise.
-
windowShown
Returnstrue
if the id of the given event is equal to
and the source of the event is aCOMPONENT_SHOWN
.Window
- Parameters:
e
- the given event.- Returns:
true
if the id of the given event is equal toCOMPONENT_SHOWN
and the source of the event is a window;false
otherwise.
-
windowClosed
Returnstrue
if the id of the given event is equal toWINDOW_CLOSED
- Parameters:
e
- the given event.- Returns:
true
if the id of the given event is equal toWINDOW_CLOSED
;false
otherwise.
-
idEquals
-