Enum Class ToastrPosition

java.lang.Object
java.lang.Enum<ToastrPosition>
com.jwebmp.plugins.toastr.ToastrPosition
All Implemented Interfaces:
Serializable, Comparable<ToastrPosition>, Constable

public enum ToastrPosition extends Enum<ToastrPosition>
The available positions for a toast
Since:
09 Jun 2017
Author:
GedMarc
  • Enum Constant Details

    • Toast_Top_Right

      public static final ToastrPosition Toast_Top_Right
    • Toast_Top_Left

      public static final ToastrPosition Toast_Top_Left
    • Toast_Top_Full_Width

      public static final ToastrPosition Toast_Top_Full_Width
    • Toast_Top_Center

      public static final ToastrPosition Toast_Top_Center
    • Toast_Bottom_Right

      public static final ToastrPosition Toast_Bottom_Right
    • Toast_Bottom_Left

      public static final ToastrPosition Toast_Bottom_Left
    • Toast_Bottom_Full_Width

      public static final ToastrPosition Toast_Bottom_Full_Width
    • Toast_Bottom_Center

      public static final ToastrPosition Toast_Bottom_Center
  • Method Details

    • values

      public static ToastrPosition[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ToastrPosition valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Returns the name or the data contained within
      Overrides:
      toString in class Enum<ToastrPosition>
      Returns: