public enum ColorOrder extends Enum<ColorOrder>
| Modifier and Type | Method and Description |
|---|---|
static ColorOrder |
fromString(String order) |
Color |
getColor(Color color) |
Color |
getReverse(Color color) |
static ColorOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColorOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColorOrder RGB
public static final ColorOrder RBG
public static final ColorOrder GRB
public static final ColorOrder GBR
public static final ColorOrder BRG
public static final ColorOrder BGR
public static ColorOrder[] values()
for (ColorOrder c : ColorOrder.values()) System.out.println(c);
public static ColorOrder 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 ColorOrder fromString(String order)
Copyright © 2017. All rights reserved.