public enum DialogType extends Enum<DialogType>
| Enum Constant and Description |
|---|
CANCEL |
CANCEL_APPLY_OK |
CANCEL_OK |
CANCEL_TRY_OK |
CLOSE |
CLOSE_DETIALS |
NONE |
YES_NO |
| Modifier and Type | Method and Description |
|---|---|
abstract <T> void |
accept(IDialogTypeVisitor<T> visitor) |
boolean |
isConfirmable() |
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 CLOSE
public static final DialogType CLOSE_DETIALS
public static final DialogType CANCEL
public static final DialogType CANCEL_OK
public static final DialogType CANCEL_APPLY_OK
public static final DialogType CANCEL_TRY_OK
public static final DialogType YES_NO
public static final DialogType NONE
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 abstract <T> void accept(IDialogTypeVisitor<T> visitor)
public boolean isConfirmable()
Copyright © 2007–2017 Andreas Bartels. All rights reserved.