|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<WayType>
org.ka2ddo.yaac.osm.WayType
public enum WayType
This enumeration lists all the supported categories of Ways that can be rendered on the map.
Method Summary | |
---|---|
int |
getDefaultLaneCount()
Get the number of lanes normally associated with this type of road. |
java.lang.String |
getImagePath()
Return the relative path name of the image file for this enum value. |
float |
getMaxLabelZoom()
|
float |
getMaxZoomLevel()
|
java.awt.Paint |
getPaint()
|
java.awt.Stroke |
getStroke()
|
boolean |
isArea()
Indicates whether this enum type implies an area. |
boolean |
isVisible()
Indicate whether OSM objects tagged with this enum are visible. |
static WayType[] |
nonClonedValues()
|
void |
setVisible(boolean visible)
Set whether OSM objects tagged with this enum should be visible. |
static WayType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static WayType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.ka2ddo.yaac.osm.VisibleEnum |
---|
name, toString |
Enum Constant Detail |
---|
public static final WayType HWY_MOTORWAY
public static final WayType HWY_MOTORWAY_LINK
public static final WayType HWY_TRUNK
public static final WayType HWY_TRUNK_LINK
public static final WayType HWY_PRIMARY
public static final WayType HWY_PRIMARY_LINK
public static final WayType HWY_SECONDARY
public static final WayType HWY_SECONDARY_LINK
public static final WayType HWY_TERTIARY
public static final WayType HWY_RESIDENTIAL
public static final WayType HWY_UNCLASSIFIED
public static final WayType HWY_ROAD
public static final WayType HWY_LIVING_STREET
public static final WayType HWY_SERVICE
public static final WayType HWY_TRACK
public static final WayType HWY_RACEWAY
public static final WayType HWY_SERVICES
public static final WayType HWY_REST_AREA
public static final WayType HWY_BUS_GUIDEWAY
public static final WayType HWY_PATH
public static final WayType HWY_CYCLEWAY
public static final WayType HWY_FOOTWAY
public static final WayType HWY_BRIDLEWAY
public static final WayType HWY_BYWAY
public static final WayType WWY_UNKNOWN
public static final WayType WWY_STREAM
public static final WayType WWY_RIVER
public static final WayType WWY_RIVERBANK
public static final WayType WWY_CANAL
public static final WayType WWY_DITCH
public static final WayType WWY_RAPIDS
public static final WayType WWY_WATERFALL
public static final WayType RWY_RAIL
public static final WayType RWY_TRAM
public static final WayType RWY_LIGHT_RAIL
public static final WayType RWY_DISUSED
public static final WayType RWY_MONORAIL
public static final WayType RWY_UNKNOWN
public static final WayType AWY_UNKNOWN
public static final WayType AWY_AERODROME
public static final WayType AWY_RUNWAY
public static final WayType BDY_UNKNOWN
public static final WayType BDY_LANDUSE_FOREST
public static final WayType BDY_SUBDIVISION
public static final WayType BDY_MARITIME
public static final WayType BDY_COASTLINE
public static final WayType BDY_PARK
public static final WayType BDY_PROTECTED_AREA
public static final WayType BDY_ADMINISTRATIVE
public static final WayType PWR_LINE
public static final WayType DONT_SHOW
public static final WayType AMENITY
public static final WayType NAT_WETLAND
public static final WayType BDY_ADMIN_1
public static final WayType BDY_ADMIN_2
public static final WayType BDY_ADMIN_3
public static final WayType BDY_ADMIN_4
public static final WayType BDY_ADMIN_5
public static final WayType BDY_ADMIN_6
public static final WayType BDY_ADMIN_7
public static final WayType BDY_ADMIN_8
public static final WayType BDY_ADMIN_9
public static final WayType BDY_ADMIN_10
public static final WayType BDY_ADMIN_11
public static final WayType BDY_LANDUSE_GREEN
public static final WayType BDY_LANDUSE_INDUSTRIAL
public static final WayType AWY_TAXIWAY
public static final WayType AWY_APRON
Method Detail |
---|
public static WayType[] values()
for (WayType c : WayType.values()) System.out.println(c);
public static WayType 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 name
java.lang.NullPointerException
- if the argument is nullpublic final java.awt.Paint getPaint()
public final java.awt.Stroke getStroke()
public final float getMaxZoomLevel()
public final float getMaxLabelZoom()
public static WayType[] nonClonedValues()
public boolean isVisible()
isVisible
in interface VisibleEnum
public void setVisible(boolean visible)
setVisible
in interface VisibleEnum
visible
- boolean true if tagged objects should be visiblepublic boolean isArea()
isArea
in interface MaybeArea
public int getDefaultLaneCount()
public java.lang.String getImagePath()
getImagePath
in interface EnumWithImageName
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |