public final class AWTEvents extends Object
Modifier and Type | Method and Description |
---|---|
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
. |
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.Copyright © 2007-2013 FEST (Fixtures for Easy Software Testing). All Rights Reserved.