public static enum DashboardGadget.ColorEnum extends Enum<DashboardGadget.ColorEnum>
| Enum Constant and Description |
|---|
BLUE |
CYAN |
GRAY |
GREEN |
PURPLE |
RED |
WHITE |
YELLOW |
| Modifier and Type | Method and Description |
|---|---|
static DashboardGadget.ColorEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static DashboardGadget.ColorEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DashboardGadget.ColorEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DashboardGadget.ColorEnum BLUE
public static final DashboardGadget.ColorEnum RED
public static final DashboardGadget.ColorEnum YELLOW
public static final DashboardGadget.ColorEnum GREEN
public static final DashboardGadget.ColorEnum CYAN
public static final DashboardGadget.ColorEnum PURPLE
public static final DashboardGadget.ColorEnum GRAY
public static final DashboardGadget.ColorEnum WHITE
public static DashboardGadget.ColorEnum[] values()
for (DashboardGadget.ColorEnum c : DashboardGadget.ColorEnum.values()) System.out.println(c);
public static DashboardGadget.ColorEnum 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 getValue()
public String toString()
toString in class Enum<DashboardGadget.ColorEnum>public static DashboardGadget.ColorEnum fromValue(String value)
Copyright © 2011–2023 Everit Kft.. All rights reserved.