public static enum Route.RouteMethod extends java.lang.Enum<Route.RouteMethod>
Enum Constant and Description |
---|
Driving |
Flying |
Swimming |
Walking |
Watercraft |
Modifier and Type | Field and Description |
---|---|
int |
iconId |
int |
id |
int |
resourceid |
java.lang.String |
text |
Modifier and Type | Method and Description |
---|---|
static Route.RouteMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Route.RouteMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Route.RouteMethod Driving
public static final Route.RouteMethod Walking
public static final Route.RouteMethod Flying
public static final Route.RouteMethod Swimming
public static final Route.RouteMethod Watercraft
public final java.lang.String text
public final int id
public final int resourceid
public final int iconId
public static Route.RouteMethod[] values()
for (Route.RouteMethod c : Route.RouteMethod.values()) System.out.println(c);
public static Route.RouteMethod valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null