public enum ToastrType extends 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 |
|---|---|
String |
toString()
Returns the name or the data contained within
|
static ToastrType |
valueOf(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(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 toString()
toString in class Enum<ToastrType>Copyright © 2019 Marc Magon. All rights reserved.