com.azalient.apo.enums
Enum ShapeCategory
java.lang.Object
java.lang.Enum<ShapeCategory>
com.azalient.apo.enums.ShapeCategory
- All Implemented Interfaces:
- Serializable, Comparable<ShapeCategory>
public enum ShapeCategory
- extends Enum<ShapeCategory>
Categories applied to 3D-shapes displayed in detailed render mode: cars, trucks, city, scenery, etc
People
public static final ShapeCategory People
Cars
public static final ShapeCategory Cars
SportsCars
public static final ShapeCategory SportsCars
SUVs
public static final ShapeCategory SUVs
Vans
public static final ShapeCategory Vans
Trucks
public static final ShapeCategory Trucks
Buses
public static final ShapeCategory Buses
Trams
public static final ShapeCategory Trams
Trains
public static final ShapeCategory Trains
Motorbikes
public static final ShapeCategory Motorbikes
Bikes
public static final ShapeCategory Bikes
Signals
public static final ShapeCategory Signals
City
public static final ShapeCategory City
Street
public static final ShapeCategory Street
Suburbs
public static final ShapeCategory Suburbs
Site
public static final ShapeCategory Site
Plants
public static final ShapeCategory Plants
Signs
public static final ShapeCategory Signs
Scenery
public static final ShapeCategory Scenery
Maps
public static final ShapeCategory Maps
Aircraft
public static final ShapeCategory Aircraft
Bridges
public static final ShapeCategory Bridges
Furniture
public static final ShapeCategory Furniture
Other
public static final ShapeCategory Other
values
public static ShapeCategory[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ShapeCategory c : ShapeCategory.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ShapeCategory 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
NullPointerException - if the argument is null
type
public IShape.ShapeType type()
parse
public static ShapeCategory parse(String s)