|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.fest.swing.util.AWTEvents
public final class AWTEvents
Understands utility methods related to AWT events.
Method Summary | |
---|---|
static boolean |
windowClosed(AWTEvent e)
Returns true if the id of the given event is equal to
|
static boolean |
windowOpened(AWTEvent e)
Returns true if the id of the given event is equal to
|
static boolean |
windowShown(AWTEvent e)
Returns true if the id of the given event is equal to
and the source of the event is a
. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean windowOpened(AWTEvent e)
true
if the id of the given event is equal to
WINDOW_OPENED
e
- the given event.
true
if the id of the given event is equal to WINDOW_OPENED
; false
otherwise.public static boolean windowShown(AWTEvent e)
true
if the id of the given event is equal to
COMPONENT_SHOWN
and the source of the event is a
Window
.
e
- the given event.
true
if the id of the given event is equal to COMPONENT_SHOWN
and the source of
the event is a window; false
otherwise.public static boolean windowClosed(AWTEvent e)
true
if the id of the given event is equal to
WINDOW_CLOSED
e
- the given event.
true
if the id of the given event is equal to WINDOW_CLOSED
; false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |