triptracker.client.net
Enum MapSocketListener.RouteState

java.lang.Object
  extended by java.lang.Enum<MapSocketListener.RouteState>
      extended by triptracker.client.net.MapSocketListener.RouteState
All Implemented Interfaces:
Serializable, Comparable<MapSocketListener.RouteState>
Enclosing interface:
MapSocketListener

public static enum MapSocketListener.RouteState
extends Enum<MapSocketListener.RouteState>


Enum Constant Summary
ACTIVATED
           
DEACTIVATED
           
LOCKED
           
SUBSCRIBED
           
UNLOCKED
           
UNSUBSCRIBED
           
 
Method Summary
static MapSocketListener.RouteState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MapSocketListener.RouteState[] 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

SUBSCRIBED

public static final MapSocketListener.RouteState SUBSCRIBED

UNSUBSCRIBED

public static final MapSocketListener.RouteState UNSUBSCRIBED

ACTIVATED

public static final MapSocketListener.RouteState ACTIVATED

DEACTIVATED

public static final MapSocketListener.RouteState DEACTIVATED

LOCKED

public static final MapSocketListener.RouteState LOCKED

UNLOCKED

public static final MapSocketListener.RouteState UNLOCKED
Method Detail

values

public static final MapSocketListener.RouteState[] 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(MapSocketListener.RouteState c : MapSocketListener.RouteState.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static MapSocketListener.RouteState valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name


Copyright © 2006 Team Trip Tracker. All Rights Reserved.