public enum WindowEvent extends Enum<WindowEvent>
| Enum Constant and Description |
|---|
ACCELERATOR
The "Accelerator" event
|
CLOSED
The "Closed" event
|
GOT_FOCUS
The "Got Focus" event
|
HIDDEN
The "Hidden" event
|
ICONIZED
The "Iconized" event
|
LOST_FOCUS
The "Lost Focus" event
|
OPENED
The "Opened" event
|
RESTORED
The "Restored" event
|
SHOWN
The "Shown" event
|
WM_CLOSE
The "WM Close" event
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static WindowEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WindowEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WindowEvent GOT_FOCUS
public static final WindowEvent LOST_FOCUS
public static final WindowEvent OPENED
public static final WindowEvent CLOSED
public static final WindowEvent SHOWN
public static final WindowEvent HIDDEN
public static final WindowEvent ICONIZED
public static final WindowEvent RESTORED
public static final WindowEvent WM_CLOSE
public static final WindowEvent ACCELERATOR
public static WindowEvent[] values()
for (WindowEvent c : WindowEvent.values()) System.out.println(c);
public static WindowEvent valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<WindowEvent>Copyright © 2006–2020 Esito AS. All rights reserved.