public static enum GStandardDialog.TypeOfDialog extends Enum<GStandardDialog.TypeOfDialog>
Enum Constant and Description |
---|
INFO |
OK_CANCEL |
YES_NO_CANCEL |
Modifier and Type | Method and Description |
---|---|
String[] |
getLabelsOfStandardButtons()
Get the array of labels for the standard buttons.
|
int |
getNumberOfStandardButtons()
Get the number of buttons avaiblable in the dialog type.
|
static GStandardDialog.TypeOfDialog |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GStandardDialog.TypeOfDialog[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GStandardDialog.TypeOfDialog YES_NO_CANCEL
public static final GStandardDialog.TypeOfDialog INFO
public static final GStandardDialog.TypeOfDialog OK_CANCEL
public static GStandardDialog.TypeOfDialog[] values()
for (GStandardDialog.TypeOfDialog c : GStandardDialog.TypeOfDialog.values()) System.out.println(c);
public static GStandardDialog.TypeOfDialog 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 int getNumberOfStandardButtons()
public String[] getLabelsOfStandardButtons()
Copyright © 2023. All rights reserved.