public abstract class AbstractOsmDataLayer extends AbstractModifiableLayer
OsmDataLayer.Layer.LayerAction, Layer.LayerGpxExportAction, Layer.LayerSaveAction, Layer.LayerSaveAsAction, Layer.MultiLayerAction, Layer.SeparatorLayerActionAbstractMapViewPaintable.CompatibilityModeLayerPainterMapViewPaintable.LayerPainter, MapViewPaintable.MapViewEvent, MapViewPaintable.PaintableInvalidationEvent, MapViewPaintable.PaintableInvalidationListenerFILTER_STATE_PROP, NAME_PROP, OPACITY_PROP, propertyChangeSupport, VISIBLE_PROP| Modifier | Constructor and Description |
|---|---|
protected |
AbstractOsmDataLayer(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the data backing this layer, unless if locked.
|
abstract OsmData<?,?,?,?> |
getDataSet()
Returns the
OsmData behind this layer. |
boolean |
isLocked()
Determines if this is read-only/locked (thus it cannot be modified).
|
void |
lock()
Enables the read-only/locked mode.
|
void |
unlock()
Disables the read-only/locked mode.
|
createUploadTask, getUploadDialog, isDownloadable, isModified, isUploadable, isUploadDiscouraged, isUploadInProgress, onPostSaveToFile, onPostUploadToServer, requiresSaveToFile, requiresUploadToServeraddPropertyChangeListener, checkSaveConditions, createAndOpenSaveFileChooser, destroy, fireFilterStateChanged, fireOpacityChanged, fireVisibleChanged, getAssociatedFile, getChangesetSourceTag, getColor, getDefaultLayerPosition, getIcon, getInfoComponent, getMenuEntries, getName, getOpacity, getToolTipText, getViewProjectionBounds, hasColor, hookUpMapView, isBackgroundLayer, isInfoResizable, isMergable, isProjectionSupported, isRenamed, isSavable, isVisible, mergeFrom, nameSupportedProjections, onPostLoadFromFile, projectionChanged, removePropertyChangeListener, rename, setAssociatedFile, setBackgroundLayer, setColor, setFilterStateChanged, setName, setOpacity, setVisible, toggleVisible, toString, visitBoundingBoxaddInvalidationListener, attachToMapView, createMapViewPainter, invalidate, removeInvalidationListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisSavablepaintprotected AbstractOsmDataLayer(java.lang.String name)
public abstract OsmData<?,?,?,?> getDataSet()
OsmData behind this layer.OsmData behind this layer.public void lock()
Lockablelock in interface Lockablelock in class AbstractModifiableLayerpublic void unlock()
Lockableunlock in interface Lockableunlock in class AbstractModifiableLayerpublic boolean isLocked()
LockableisLocked in interface LockableisLocked in class AbstractModifiableLayertrue if this is read-only/lockedpublic void clear()