Interface Lockable

All Known Subinterfaces:
OsmData<O,N,W,R>
All Known Implementing Classes:
AbstractModifiableLayer, AbstractOsmDataLayer, AdvancedPreference.UnclearableOsmDataLayer, CorrelationSupportLayer, DataSet, GeoImageLayer, GpxLayer, GpxRouteLayer, NoteLayer, OsmDataLayer, VectorDataSet, WikimediaCommonsLayer

public interface Lockable
To be implemented by modifiable objects to offer a "read-only/locked" mode.
Since:
13453
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Determines if this is read-only/locked (thus it cannot be modified).
    void
    Enables the read-only/locked mode.
    void
    Disables the read-only/locked mode.
  • Method Details

    • lock

      void lock()
      Enables the read-only/locked mode.
    • unlock

      void unlock()
      Disables the read-only/locked mode.
    • isLocked

      boolean isLocked()
      Determines if this is read-only/locked (thus it cannot be modified).
      Returns:
      true if this is read-only/locked