public static enum BusyPainter.Direction extends Enum<BusyPainter.Direction>
BusyPainter.setDirection(Direction)
Enum Constant and Description |
---|
LEFT
cycle proceeds backward
|
RIGHT
cycle proceeds forward
|
Modifier and Type | Method and Description |
---|---|
static BusyPainter.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BusyPainter.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BusyPainter.Direction RIGHT
public static final BusyPainter.Direction LEFT
public static BusyPainter.Direction[] values()
for (BusyPainter.Direction c : BusyPainter.Direction.values()) System.out.println(c);
public static BusyPainter.Direction 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 nullWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses