public enum StatusVariant extends Enum<StatusVariant>
statusVariant
(or similar) property of a Granite UI component used to describe
the status of an option or messageModifier and Type | Method and Description |
---|---|
String |
toString() |
static StatusVariant |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatusVariant[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatusVariant ERROR
public static final StatusVariant HELP
public static final StatusVariant INFO
public static final StatusVariant SUCCESS
public static final StatusVariant WARNING
public String toString()
toString
in class Enum<StatusVariant>
public static StatusVariant 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 static StatusVariant[] values()
for (StatusVariant c : StatusVariant.values()) System.out.println(c);
Copyright © 2021 Exadel, Inc.. All rights reserved.