moagg.types
Enum PlatformEdge
java.lang.Object
java.lang.Enum<PlatformEdge>
moagg.types.PlatformEdge
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<PlatformEdge>
public enum PlatformEdge
- extends java.lang.Enum<PlatformEdge>
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
NO_EDGE
public static final PlatformEdge NO_EDGE
NUMBER_1
public static final PlatformEdge NUMBER_1
NUMBER_2
public static final PlatformEdge NUMBER_2
NUMBER_3
public static final PlatformEdge NUMBER_3
NUMBER_4
public static final PlatformEdge NUMBER_4
NUMBER_5
public static final PlatformEdge NUMBER_5
NUMBER_6
public static final PlatformEdge NUMBER_6
NUMBER_7
public static final PlatformEdge NUMBER_7
NUMBER_8
public static final PlatformEdge NUMBER_8
NUMBER_9
public static final PlatformEdge NUMBER_9
RED
public static final PlatformEdge RED
YELLOW
public static final PlatformEdge YELLOW
GREEN
public static final PlatformEdge GREEN
CYAN
public static final PlatformEdge CYAN
BLUE
public static final PlatformEdge BLUE
MAGENTA
public static final PlatformEdge MAGENTA
FUEL
public static final PlatformEdge FUEL
values
public static final PlatformEdge[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(PlatformEdge c : PlatformEdge.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static PlatformEdge valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
getName
public java.lang.String getName()
firstColor
public static PlatformEdge firstColor()
lastColor
public static PlatformEdge lastColor()
Copyright © 2008. All Rights Reserved.