Enum Class MessageListTypingIndicatorType

java.lang.Object
java.lang.Enum<MessageListTypingIndicatorType>
com.vaadin.flow.component.messages.MessageListTypingIndicatorType
All Implemented Interfaces:
Serializable, Comparable<MessageListTypingIndicatorType>, Constable

public enum MessageListTypingIndicatorType extends Enum<MessageListTypingIndicatorType>
The styles in which MessageList can render its typing indicator.
Since:
25.3
See Also:
  • Enum Constant Details

    • DEFAULT

      public static final MessageListTypingIndicatorType DEFAULT
      Renders the typing indicator like a message, with the avatars and names of the typing users in the header and the typing indicator text as the message content.
    • ELLIPSIS

      public static final MessageListTypingIndicatorType ELLIPSIS
      Renders the typing indicator like a message, with the avatars of the typing users and an animated ellipsis as the message content. The names of the typing users and the typing indicator text are not shown.
    • MINIMAL

      public static final MessageListTypingIndicatorType MINIMAL
      Renders the typing indicator as a single compact row with small avatars, followed by the names of the typing users and the typing indicator text.
  • Method Details

    • values

      public static MessageListTypingIndicatorType[] 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 MessageListTypingIndicatorType 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