Class MarkerLayer.MarkerData
java.lang.Object
org.openstreetmap.josm.data.osm.QuadBuckets<Marker>
org.openstreetmap.josm.gui.layer.markerlayer.MarkerLayer.MarkerData
- All Implemented Interfaces:
Iterable<Marker>,Collection<Marker>,List<Marker>,IGpxLayerPrefs
- Enclosing class:
- MarkerLayer
public class MarkerLayer.MarkerData
extends QuadBuckets<Marker>
implements List<Marker>, IGpxLayerPrefs
the data of a MarkerLayer
- Since:
- 18287
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanaddAll(int index, Collection<? extends Marker> c) booleanaddAll(Collection<? extends Marker> objects) booleanget(int index) The layer specific prefs formerly saved in the preferences, e.g.intintlistIterator(int index) remove(int index) booleanretainAll(Collection<?> objects) voidsetModified(boolean value) Sets the modified flag to the value.subList(int fromIndex, int toIndex) voidtransferLayerPrefs(Map<String, String> gpxLayerPrefs) Transfers the layerPrefs from the GpxData to MarkerData (when GpxData is deleted)Methods inherited from class org.openstreetmap.josm.data.osm.QuadBuckets
add, clear, containsAll, isEmpty, iterator, remove, removeAll, search, size, toArray, toArray, toListMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Field Details
-
ownLayerPrefs
-
markerList
-
-
Constructor Details
-
MarkerData
public MarkerData()
-
-
Method Details
-
getLayerPrefs
Description copied from interface:IGpxLayerPrefsThe layer specific prefs formerly saved in the preferences, e.g. drawing options. NOT the track specific settings (e.g. color, width)- Specified by:
getLayerPrefsin interfaceIGpxLayerPrefs- Returns:
- Modifiable map
-
transferLayerPrefs
Transfers the layerPrefs from the GpxData to MarkerData (when GpxData is deleted)- Parameters:
gpxLayerPrefs- the layerPrefs from the GpxData object
-
setModified
Description copied from interface:IGpxLayerPrefsSets the modified flag to the value.- Specified by:
setModifiedin interfaceIGpxLayerPrefs- Parameters:
value- modified flag
-
addAll
-
addAll
- Specified by:
addAllin interfaceCollection<Marker>- Specified by:
addAllin interfaceList<Marker>- Overrides:
addAllin classQuadBuckets<Marker>
-
get
-
set
-
add
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<Marker>
-
listIterator
- Specified by:
listIteratorin interfaceList<Marker>
-
listIterator
- Specified by:
listIteratorin interfaceList<Marker>
-
subList
-
retainAll
- Specified by:
retainAllin interfaceCollection<Marker>- Specified by:
retainAllin interfaceList<Marker>- Overrides:
retainAllin classQuadBuckets<Marker>
-
contains
- Specified by:
containsin interfaceCollection<Marker>- Specified by:
containsin interfaceList<Marker>- Overrides:
containsin classQuadBuckets<Marker>
-