Logo Search packages:      
Sourcecode: josm version File versions  Download package

org::openstreetmap::josm::gui::layer::OsmDataLayer Class Reference

Inheritance diagram for org::openstreetmap::josm::gui::layer::OsmDataLayer:

org::openstreetmap::josm::gui::layer::Layer org::openstreetmap::josm::tools::Destroyable

List of all members.


Detailed Description

A layer holding data from a specific dataset. The data can be fully edited.

Author:
imi

Definition at line 63 of file OsmDataLayer.java.


Public Member Functions

void add (final Command c)
void cleanData (final Collection< OsmPrimitive > processed, boolean dataAdded)
void destroy ()
void fireDataChange ()
Icon getIcon ()
Object getInfoComponent ()
Component[] getMenuEntries ()
String getToolTipText ()
abstract boolean isMergable (Layer other)
boolean isMergable (final Layer other)
boolean isModified ()
abstract void mergeFrom (Layer from)
void mergeFrom (final Layer from)
 OsmDataLayer (final DataSet data, final String name, final File associatedFile)
abstract void paint (Graphics g, MapView mv)
void paint (final Graphics g, final MapView mv)
void setModified (final boolean modified)
GpxData toGpxData ()
abstract void visitBoundingBox (BoundingXYVisitor v)
void visitBoundingBox (final BoundingXYVisitor v)

Static Public Member Functions

static GpxData toGpxData (DataSet data)

Public Attributes

File associatedFile
final DataSet data
final LinkedList
< DataChangeListener > 
listenerDataChanged = new LinkedList<DataChangeListener>()
final LinkedList
< ModifiedChangedListener > 
listenerModified = new LinkedList<ModifiedChangedListener>()
String name
boolean uploadedModified = false
boolean visible = true

Static Public Attributes

static final Collection
< LayerChangeListener
listeners = new CopyOnWriteArrayList<LayerChangeListener>()

Private Member Functions

void cleanIterator (final Iterator<?extends OsmPrimitive > it, final Collection< OsmPrimitive > processed)
int undeletedSize (final Collection<?extends OsmPrimitive > list)

Private Attributes

boolean modified = false
MapPaintVisitor standardMapPainter = new MapPaintVisitor()
SimplePaintVisitor wireframeMapPainter = new SimplePaintVisitor()

Classes

interface  CommandQueueListener
class  ConvertToGpxLayerAction
class  DataCountVisitor
interface  ModifiedChangedListener

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index