public enum ToastrPosition extends Enum<ToastrPosition>
| Enum Constant and Description |
|---|
Toast_Bottom_Center |
Toast_Bottom_Full_Width |
Toast_Bottom_Left |
Toast_Bottom_Right |
Toast_Top_Center |
Toast_Top_Full_Width |
Toast_Top_Left |
Toast_Top_Right |
| Modifier and Type | Method and Description |
|---|---|
String |
toString()
Returns the name or the data contained within
|
static ToastrPosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ToastrPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ToastrPosition Toast_Top_Right
public static final ToastrPosition Toast_Top_Left
public static final ToastrPosition Toast_Top_Full_Width
public static final ToastrPosition Toast_Top_Center
public static final ToastrPosition Toast_Bottom_Right
public static final ToastrPosition Toast_Bottom_Left
public static final ToastrPosition Toast_Bottom_Full_Width
public static final ToastrPosition Toast_Bottom_Center
public static ToastrPosition[] values()
for (ToastrPosition c : ToastrPosition.values()) System.out.println(c);
public static ToastrPosition 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<ToastrPosition>Copyright © 2019 Marc Magon. All rights reserved.