Class MapPaintStyles.IconReference
java.lang.Object
org.openstreetmap.josm.gui.mappaint.MapPaintStyles.IconReference
- Enclosing class:
- MapPaintStyles
IconReference is used to remember the associated style source for each icon URL.
This is necessary because image URLs can be paths relative
to the source file and we have cascading of properties from different source files.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringThe name of the iconfinal StyleSourceThe style source this reference occurred in -
Constructor Summary
ConstructorsConstructorDescriptionIconReference(String iconName, StyleSource source) Create a newMapPaintStyles.IconReference -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines whether this icon represents a deprecated icontoString()
-
Field Details
-
iconName
The name of the icon -
source
The style source this reference occurred in
-
-
Constructor Details
-
IconReference
Create a newMapPaintStyles.IconReference- Parameters:
iconName- The icon namesource- The current style source
-
-
Method Details