Example usage for Java java.awt.event WindowEvent fields, constructors, methods, implement or subclass
The text is from its open source code.
int | WINDOW_FIRST The first number in the range of ids used for window events. |
int | WINDOW_OPENED The window opened event. |
int | WINDOW_CLOSING The "window is closing" event. |
int | WINDOW_CLOSED The window closed event. |
int | WINDOW_ICONIFIED The window iconified event. |
int | WINDOW_DEICONIFIED The window deiconified event type. |
int | WINDOW_ACTIVATED The window-activated event type. |
int | WINDOW_DEACTIVATED The window-deactivated event type. |
int | WINDOW_GAINED_FOCUS The window-gained-focus event type. |
int | WINDOW_LOST_FOCUS The window-lost-focus event type. |
int | WINDOW_STATE_CHANGED The window-state-changed event type. |
int | WINDOW_LAST The last number in the range of ids used for window events. |
WindowEvent(Window source, int id) Constructs a WindowEvent object. | |
WindowEvent(Window source, int id, Window opposite) Constructs a WindowEvent object with the specified opposite Window . | |
WindowEvent(Window source, int id, int oldState, int newState) Constructs a WindowEvent object with the specified previous and new window states. | |
WindowEvent(Window source, int id, Window opposite, int oldState, int newState) Constructs a WindowEvent object. |
void | consume() Consumes this event, if this event can be consumed. |
boolean | equals(Object obj) Indicates whether some other object is "equal to" this one. |
Component | getComponent() Returns the originator of the event. |
int | getID() Returns the event type. |
int | getNewState() For WINDOW_STATE_CHANGED events returns the new state of the window. |
int | getOldState() For WINDOW_STATE_CHANGED events returns the previous state of the window. |
Window | getOppositeWindow() Returns the other Window involved in this focus or activation change. |
Object | getSource() The object on which the Event initially occurred. |
Window | getWindow() Returns the originator of the event. |
boolean | isConsumed() Returns whether this event has been consumed. |
String | paramString() Returns a parameter string identifying this event. |