Enum Class MessageListTypingIndicatorType
java.lang.Object
java.lang.Enum<MessageListTypingIndicatorType>
com.vaadin.flow.component.messages.MessageListTypingIndicatorType
- All Implemented Interfaces:
Serializable,Comparable<MessageListTypingIndicatorType>,Constable
The styles in which
MessageList can render its typing indicator.- Since:
- 25.3
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRenders 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.Renders the typing indicator like a message, with the avatars of the typing users and an animated ellipsis as the message content.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 Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static MessageListTypingIndicatorType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
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
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
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 nameNullPointerException- if the argument is null
-