Class MapRendererFactory.Descriptor
java.lang.Object
org.openstreetmap.josm.data.osm.visitor.paint.MapRendererFactory.Descriptor
- Enclosing class:
- MapRendererFactory
A description of a possible renderer for the map
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final Stringprivate final Class<? extends AbstractMapRenderer> -
Constructor Summary
ConstructorsConstructorDescriptionDescriptor(Class<? extends AbstractMapRenderer> renderer, String displayName, String description) Creates a new map renderer description -
Method Summary
Modifier and TypeMethodDescriptionGet the descriptionGet the display nameClass<? extends AbstractMapRenderer>Get the class of the renderer
-
Field Details
-
renderer
-
displayName
-
description
-
-
Constructor Details
-
Descriptor
public Descriptor(Class<? extends AbstractMapRenderer> renderer, String displayName, String description) Creates a new map renderer description- Parameters:
renderer- The rendererdisplayName- The display name for the rendererdescription- The longer description that should be displayed to the user.
-
-
Method Details
-
getRenderer
Get the class of the renderer- Returns:
- The class
-
getDisplayName
Get the display name- Returns:
- The name
-
getDescription
Get the description- Returns:
- The description
-