Class MarkerLayer.MarkerData
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<Marker>
-
- org.openstreetmap.josm.gui.layer.markerlayer.MarkerLayer.MarkerData
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<Marker>
,Collection<Marker>
,List<Marker>
,RandomAccess
,IGpxLayerPrefs
- Enclosing class:
- MarkerLayer
public class MarkerLayer.MarkerData extends ArrayList<Marker> implements IGpxLayerPrefs
the data of a MarkerLayer- Since:
- 18287
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private Map<String,String>
ownLayerPrefs
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description MarkerData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
getLayerPrefs()
The layer specific prefs formerly saved in the preferences, e.g.void
setModified(boolean value)
Sets the modified flag to the value.void
transferLayerPrefs(Map<String,String> gpxLayerPrefs)
Transfers the layerPrefs from the GpxData to MarkerData (when GpxData is deleted)-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
Methods inherited from class java.util.AbstractCollection
containsAll, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
Methods inherited from interface java.util.List
containsAll
-
-
-
-
Field Detail
-
ownLayerPrefs
private Map<String,String> ownLayerPrefs
-
-
Constructor Detail
-
MarkerData
public MarkerData()
-
-
Method Detail
-
getLayerPrefs
public Map<String,String> getLayerPrefs()
Description copied from interface:IGpxLayerPrefs
The layer specific prefs formerly saved in the preferences, e.g. drawing options. NOT the track specific settings (e.g. color, width)- Specified by:
getLayerPrefs
in interfaceIGpxLayerPrefs
- Returns:
- Modifiable map
-
transferLayerPrefs
public void transferLayerPrefs(Map<String,String> gpxLayerPrefs)
Transfers the layerPrefs from the GpxData to MarkerData (when GpxData is deleted)- Parameters:
gpxLayerPrefs
- the layerPrefs from the GpxData object
-
setModified
public void setModified(boolean value)
Description copied from interface:IGpxLayerPrefs
Sets the modified flag to the value.- Specified by:
setModified
in interfaceIGpxLayerPrefs
- Parameters:
value
- modified flag
-
-