public enum DialogType extends Enum<DialogType>
Dialog
types.Enum Constant and Description |
---|
CONFIRM
Specifies a dialog of type 'Confirmation'.
|
ERROR
Specifies a dialog of type 'Error'.
|
INFO
Specifies a dialog of type 'Information'.
|
INPUT
Specifies a dialog of type 'Input'.
|
WARNING
Specifies a dialog of type 'Warning'.
|
Modifier and Type | Method and Description |
---|---|
DialogOption |
getDefaultOption()
Returns the default DialogOption of this DialogType.
|
String |
getDefaultTitle()
Returns the default title of this DialogType.
|
static DialogType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DialogType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DialogType INFO
public static final DialogType WARNING
public static final DialogType ERROR
public static final DialogType CONFIRM
public static final DialogType INPUT
public static DialogType[] values()
for (DialogType c : DialogType.values()) System.out.println(c);
public static DialogType 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 DialogOption getDefaultOption()
public String getDefaultTitle()
Copyright © OBCOM INGENIERIA S.A. (Chile). All Rights Reserved.