public enum ToastrType extends java.lang.Enum<ToastrType>
| Enum Constant and Description |
|---|
Error
An error toastr type
|
Info
An info toastr type
|
Success
A success toastr type
|
Warning
A warning toastr type
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString()
Returns the name or the data contained within
|
static ToastrType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ToastrType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ToastrType Success
public static final ToastrType Info
public static final ToastrType Warning
public static final ToastrType Error
public static ToastrType[] values()
for (ToastrType c : ToastrType.values()) System.out.println(c);
public static ToastrType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<ToastrType>Copyright © 2020 Marc Magon. All rights reserved.