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 booleanstatic booleanReturnstrueif the id of the given event is equal toWINDOW_CLOSEDstatic booleanReturnstrueif the id of the given event is equal toWINDOW_OPENEDstatic booleanReturnstrueif the id of the given event is equal toand the source of the event is aCOMPONENT_SHOWN.Window
-
Constructor Details
-
AWTEvents
private AWTEvents()
-
-
Method Details
-
windowOpened
Returnstrueif the id of the given event is equal toWINDOW_OPENED- Parameters:
e- the given event.- Returns:
trueif the id of the given event is equal toWINDOW_OPENED;falseotherwise.
-
windowShown
Returnstrueif the id of the given event is equal toand the source of the event is aCOMPONENT_SHOWN.Window- Parameters:
e- the given event.- Returns:
trueif the id of the given event is equal toCOMPONENT_SHOWNand the source of the event is a window;falseotherwise.
-
windowClosed
Returnstrueif the id of the given event is equal toWINDOW_CLOSED- Parameters:
e- the given event.- Returns:
trueif the id of the given event is equal toWINDOW_CLOSED;falseotherwise.
-
idEquals
-