moagg.types
Enum PlatformEdge

java.lang.Object
  extended by java.lang.Enum<PlatformEdge>
      extended by moagg.types.PlatformEdge
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PlatformEdge>

public enum PlatformEdge
extends java.lang.Enum<PlatformEdge>


Enum Constant Summary
BLUE
           
CYAN
           
FUEL
           
GREEN
           
MAGENTA
           
NO_EDGE
           
NUMBER_1
           
NUMBER_2
           
NUMBER_3
           
NUMBER_4
           
NUMBER_5
           
NUMBER_6
           
NUMBER_7
           
NUMBER_8
           
NUMBER_9
           
RED
           
YELLOW
           
 
Method Summary
static PlatformEdge firstColor()
           
 java.lang.String getName()
           
static PlatformEdge lastColor()
           
static PlatformEdge valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PlatformEdge[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
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
 

Enum Constant Detail

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
Method Detail

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.