public enum AppColors extends Enum<AppColors> implements ColorItem
| Enum Constant and Description |
|---|
STAGE_BG
The stage background color.
|
| Modifier and Type | Method and Description |
|---|---|
ColorBuilder |
builder()
Return the resource builder.
|
Color |
get()
Return the resource unique instance.
|
static AppColors |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AppColors[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AppColors STAGE_BG
public static AppColors[] values()
for (AppColors c : AppColors.values()) System.out.println(c);
public static AppColors 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 Color get()
get in interface ResourceItem<Color,ColorBuilder>public ColorBuilder builder()
builder in interface ResourceItem<Color,ColorBuilder>Copyright © 2011–2014 JRebirth OSS. All rights reserved.