public static enum AmbientColorAgent.ColoringStrategy extends Enum<AmbientColorAgent.ColoringStrategy>
| Enum Constant and Description |
|---|
ALL
After the holding time all lights are change their color to a random
different one.
|
ONE
After the holding time one random light which differs from the last
will be changed to a random different color.
|
| Modifier and Type | Method and Description |
|---|---|
static AmbientColorAgent.ColoringStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AmbientColorAgent.ColoringStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AmbientColorAgent.ColoringStrategy ONE
public static final AmbientColorAgent.ColoringStrategy ALL
public static AmbientColorAgent.ColoringStrategy[] values()
for (AmbientColorAgent.ColoringStrategy c : AmbientColorAgent.ColoringStrategy.values()) System.out.println(c);
public static AmbientColorAgent.ColoringStrategy 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 nullCopyright © 2015–2016 openbase.org. All rights reserved.