Package org.ka2ddo.yaac.osm
Enum Class OsmLineType
- All Implemented Interfaces:
Serializable
,Comparable<OsmLineType>
,Constable
Enumerate the types of lines that can be drawn on rendered OSM maps.
- Author:
- Andrew Pavlin, KA2DDO
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAWT Stroke for a 1-pixel-wide line of alternating dots and dashes.AWT Stroke for a dashed (6 pixels long) line 1 pixel wide.AWT Stroke for a dotted line 1 pixel wide.AWT Stroke for a 4-pixel-wide solid line.AWT Stroke for a 1-pixel-wide line with long dots (3 pixels long).The default stroke for drawing a pipeline.The default stroke for drawing a railroad track Way.AWT Stroke for a solid line 1 pixel wide.AWT Stroke for a 2-pixel-wide solid line. -
Method Summary
Modifier and TypeMethodDescriptionstatic OsmLineType
Returns the enum constant of this class with the specified name.static OsmLineType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SOLID_STROKE
AWT Stroke for a solid line 1 pixel wide. -
DASHED_STROKE
AWT Stroke for a dashed (6 pixels long) line 1 pixel wide. -
DOTTED_STROKE
AWT Stroke for a dotted line 1 pixel wide. -
LONG_DOTTED_STROKE
AWT Stroke for a 1-pixel-wide line with long dots (3 pixels long). -
DASH_DOT_STROKE
AWT Stroke for a 1-pixel-wide line of alternating dots and dashes. -
W_SOLID_STROKE
AWT Stroke for a 2-pixel-wide solid line. -
DW_SOLID_STROKE
AWT Stroke for a 4-pixel-wide solid line. -
RAILROAD_STROKE
The default stroke for drawing a railroad track Way. -
PIPELINE_STROKE
The default stroke for drawing a pipeline.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-