Package | Description |
---|---|
org.openstreetmap.josm.data |
Provides the classes for JOSM managed data.
|
org.openstreetmap.josm.data.gpx |
Provides the classes for JOSM
GPX data (points, tracks, routes). |
org.openstreetmap.josm.data.osm |
Provides the classes for OSM data:
Primitives :
Node ,
Way ,
Relation
Users
Tags
Changesets
Utilities classes
|
org.openstreetmap.josm.data.osm.event |
Provides the classes for OSM dataset events.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<DataSource> |
Data.getDataSources()
Returns the collection of data sources.
|
Modifier and Type | Method and Description |
---|---|
static java.awt.geom.Area |
DataSource.getDataSourceArea(java.util.Collection<DataSource> dataSources)
Returns the total area of downloaded data (the "yellow rectangles").
|
static java.util.List<Bounds> |
DataSource.getDataSourceBounds(java.util.Collection<DataSource> dataSources)
Replies the list of data source bounds.
|
Constructor and Description |
---|
DataSource(DataSource source)
Cosntructs a new
DataSource |
Modifier and Type | Field and Description |
---|---|
java.util.Set<DataSource> |
GpxData.dataSources
All data sources (bounds of downloaded bounds) of this GpxData.
Not part of GPX standard but rather a JOSM extension, needed by the fact that OSM API does not provide <bounds> element in its GPX reply. |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<DataSource> |
GpxData.getDataSources() |
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<DataSource> |
DataSet.dataSources
All data sources of this DataSet.
|
private java.util.Set<DataSource> |
AbstractDataSourceChangeEvent.old |
Modifier and Type | Method and Description |
---|---|
java.util.Set<DataSource> |
DataSourceChangeEvent.getAdded()
Gets the data sources that have been added to the selection.
|
java.util.Set<DataSource> |
DataSourceChangeEvent.getDataSources()
Gets the new data sources.
|
java.util.Collection<DataSource> |
DataSet.getDataSources() |
java.util.Set<DataSource> |
AbstractDataSourceChangeEvent.getOldDataSources() |
java.util.Set<DataSource> |
DataSourceChangeEvent.getOldDataSources()
Gets the previous data source list
|
java.util.Set<DataSource> |
DataSourceChangeEvent.getRemoved()
Gets the Data Sources that have been removed from the selection.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DataSet.addDataSource(DataSource source)
Adds a new data source.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DataSet.addDataSources(java.util.Collection<DataSource> sources)
Adds new data sources.
|
Constructor and Description |
---|
AbstractDataSourceChangeEvent(DataSet source,
java.util.Set<DataSource> old)
Create a Data Source change event
|
Modifier and Type | Field and Description |
---|---|
private java.util.Set<DataSource> |
DataSourceAddedEvent.added |
private java.util.Set<DataSource> |
DataSourceRemovedEvent.added |
private java.util.Set<DataSource> |
DataSourceAddedEvent.current |
private java.util.Set<DataSource> |
DataSourceRemovedEvent.current |
private java.util.Set<DataSource> |
DataSourceAddedEvent.removed |
private java.util.Set<DataSource> |
DataSourceRemovedEvent.removed |
Modifier and Type | Method and Description |
---|---|
java.util.Set<DataSource> |
DataSourceAddedEvent.getAdded() |
java.util.Set<DataSource> |
DataSourceRemovedEvent.getAdded() |
java.util.Set<DataSource> |
DataSourceAddedEvent.getDataSources() |
java.util.Set<DataSource> |
DataSourceRemovedEvent.getDataSources() |
java.util.Set<DataSource> |
DataSourceAddedEvent.getRemoved() |
java.util.Set<DataSource> |
DataSourceRemovedEvent.getRemoved() |
Constructor and Description |
---|
DataSourceAddedEvent(DataSet source,
java.util.Set<DataSource> old,
java.util.stream.Stream<DataSource> newDataSources)
Create a Data Source change event
|
DataSourceAddedEvent(DataSet source,
java.util.Set<DataSource> old,
java.util.stream.Stream<DataSource> newDataSources)
Create a Data Source change event
|
DataSourceRemovedEvent(DataSet source,
java.util.Set<DataSource> old,
java.util.stream.Stream<DataSource> removedDataSources)
Create a Data Source change event
|
DataSourceRemovedEvent(DataSet source,
java.util.Set<DataSource> old,
java.util.stream.Stream<DataSource> removedDataSources)
Create a Data Source change event
|