public enum MenuBarVariant extends Enum<MenuBarVariant>
vaadin-menu-bar
component.Enum Constant and Description |
---|
LUMO_CONTRAST |
LUMO_ICON |
LUMO_LARGE |
LUMO_PRIMARY |
LUMO_SMALL |
LUMO_TERTIARY |
LUMO_TERTIARY_INLINE |
MATERIAL_CONTAINED |
MATERIAL_OUTLINED |
Modifier and Type | Method and Description |
---|---|
String |
getVariantName()
Gets the variant name.
|
static MenuBarVariant |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MenuBarVariant[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MenuBarVariant LUMO_SMALL
public static final MenuBarVariant LUMO_LARGE
public static final MenuBarVariant LUMO_TERTIARY
public static final MenuBarVariant LUMO_TERTIARY_INLINE
public static final MenuBarVariant LUMO_PRIMARY
public static final MenuBarVariant LUMO_CONTRAST
public static final MenuBarVariant LUMO_ICON
public static final MenuBarVariant MATERIAL_CONTAINED
public static final MenuBarVariant MATERIAL_OUTLINED
public static MenuBarVariant[] values()
for (MenuBarVariant c : MenuBarVariant.values()) System.out.println(c);
public static MenuBarVariant 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 © 2025. All rights reserved.