public enum DialogIcon extends Enum<DialogIcon>
MessageDialog
Modifier and Type | Method and Description |
---|---|
String |
getStyle()
Gets the style variation (the jQuery style)
|
String |
toString() |
static DialogIcon |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DialogIcon[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DialogIcon NONE
public static final DialogIcon INFO
public static final DialogIcon WARN
public static final DialogIcon ERROR
public static final DialogIcon LIGHT
public static DialogIcon[] values()
for (DialogIcon c : DialogIcon.values()) System.out.println(c);
public static DialogIcon 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 getStyle()
public String toString()
toString
in class Enum<DialogIcon>
Copyright © 2016 7thWeb. All rights reserved.