public abstract class AbstractOsmDataLayer extends AbstractModifiableLayer
OsmDataLayer
.Layer.LayerAction, Layer.LayerGpxExportAction, Layer.LayerSaveAction, Layer.LayerSaveAsAction, Layer.MultiLayerAction, Layer.SeparatorLayerAction
AbstractMapViewPaintable.CompatibilityModeLayerPainter
MapViewPaintable.LayerPainter, MapViewPaintable.MapViewEvent, MapViewPaintable.PaintableInvalidationEvent, MapViewPaintable.PaintableInvalidationListener
FILTER_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 |
---|---|
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, requiresUploadToServer
addPropertyChangeListener, checkSaveConditions, createAndOpenSaveFileChooser, destroy, fireFilterStateChanged, fireOpacityChanged, fireVisibleChanged, getAssociatedFile, getBaseColorProperty, getChangesetSourceTag, getColorProperty, getDefaultLayerPosition, getIcon, getInfoComponent, getMenuEntries, getName, getOpacity, getToolTipText, getViewProjectionBounds, hookUpMapView, isBackgroundLayer, isInfoResizable, isMergable, isProjectionSupported, isRenamed, isSavable, isVisible, mergeFrom, nameSupportedProjections, onPostLoadFromFile, projectionChanged, removePropertyChangeListener, rename, setAssociatedFile, setBackgroundLayer, setFilterStateChanged, setName, setOpacity, setVisible, toggleVisible, toString, visitBoundingBox
addInvalidationListener, attachToMapView, createMapViewPainter, invalidate, removeInvalidationListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isSavable
paint
protected AbstractOsmDataLayer(java.lang.String name)
public abstract OsmData<?,?,?,?> getDataSet()
OsmData
behind this layer.OsmData
behind this layer.public void lock()
Lockable
lock
in interface Lockable
lock
in class AbstractModifiableLayer
public void unlock()
Lockable
unlock
in interface Lockable
unlock
in class AbstractModifiableLayer