public static enum GFrame.CloseAction extends Enum<GFrame.CloseAction>
| Enum Constant and Description |
|---|
DisposeOnClose |
DoNothinOnClose |
ExitOnClose |
HideOnClose |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getConstant()
Get the Swing constant value of the operation.
|
static GFrame.CloseAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GFrame.CloseAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GFrame.CloseAction DoNothinOnClose
public static final GFrame.CloseAction HideOnClose
public static final GFrame.CloseAction DisposeOnClose
public static final GFrame.CloseAction ExitOnClose
public static GFrame.CloseAction[] values()
for (GFrame.CloseAction c : GFrame.CloseAction.values()) System.out.println(c);
public static GFrame.CloseAction 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 nullprotected int getConstant()
Copyright © 2024. All rights reserved.