@Generated(value={"Generator: com.vaadin.generator.ComponentGenerator#1.1-SNAPSHOT","WebComponent: Vaadin.ProgressBarElement#1.1.0","Flow#1.1-SNAPSHOT"}) public enum ProgressBarVariant extends Enum<ProgressBarVariant>
vaadin-progress-bar
component.Enum Constant and Description |
---|
LUMO_CONTRAST |
LUMO_ERROR |
LUMO_SUCCESS |
Modifier and Type | Method and Description |
---|---|
String |
getVariantName()
Gets the variant name.
|
static ProgressBarVariant |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProgressBarVariant[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProgressBarVariant LUMO_CONTRAST
public static final ProgressBarVariant LUMO_ERROR
public static final ProgressBarVariant LUMO_SUCCESS
public static ProgressBarVariant[] values()
for (ProgressBarVariant c : ProgressBarVariant.values()) System.out.println(c);
public static ProgressBarVariant 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 © 2019. All rights reserved.