public enum AvatarVariant extends Enum<AvatarVariant>
vaadin-avatar
component.Enum Constant and Description |
---|
LUMO_LARGE |
LUMO_SMALL |
LUMO_XLARGE |
LUMO_XSMALL |
Modifier and Type | Method and Description |
---|---|
String |
getVariantName()
Gets the variant name.
|
static AvatarVariant |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AvatarVariant[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AvatarVariant LUMO_XLARGE
public static final AvatarVariant LUMO_LARGE
public static final AvatarVariant LUMO_SMALL
public static final AvatarVariant LUMO_XSMALL
public static AvatarVariant[] values()
for (AvatarVariant c : AvatarVariant.values()) System.out.println(c);
public static AvatarVariant 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 getVariantName()
Copyright © 2023. All rights reserved.