Enum Class Notification.Position

java.lang.Object
java.lang.Enum<Notification.Position>
com.vaadin.flow.component.notification.Notification.Position
All Implemented Interfaces:
Serializable, Comparable<Notification.Position>, Constable
Enclosing class:
Notification

public static enum Notification.Position extends Enum<Notification.Position>
Enumeration of all available positions for notification component
  • Enum Constant Details

  • Method Details

    • values

      public static Notification.Position[] 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 Notification.Position 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
    • getClientName

      public String getClientName()
      Gets name that is used in the client side representation of the component.
      Returns:
      the name used in the client side representation of the component.