Package | Description |
---|---|
org.openstreetmap.josm.actions |
Provides the classes for JOSM user actions.
|
org.openstreetmap.josm.data |
Provides the classes for JOSM managed data.
|
org.openstreetmap.josm.data.osm |
Provides the classes for OSM data:
Primitives :
Node ,
Way ,
Relation
Users
Tags
Changesets
Utilities classes
|
org.openstreetmap.josm.gui |
Provides the classes for JOSM graphical user interface.
|
org.openstreetmap.josm.gui.datatransfer.importers |
Provides the classes for the transfer support controllers allowing cut/copy/paste operations.
|
org.openstreetmap.josm.gui.dialogs |
Provides three kinds of dialogs:
Toggle dialogs on the right side of the GUI, that can be turned on, off, attached or detached from the GUI
Changeset dialog based on a standalone implementation, dedicated to OSM changesets management
Extended dialogs for everything else
|
org.openstreetmap.josm.gui.io |
Provides GUI classes for handling input/output operations (download, upload, save).
|
org.openstreetmap.josm.gui.layer |
Provides classes for handling the different kinds of map layers.
|
org.openstreetmap.josm.gui.tagging.presets |
Provides classes for handling tagging presets.
|
org.openstreetmap.josm.io |
Provides the classes for JOSM input/output support.
|
Modifier and Type | Method and Description |
---|---|
java.awt.Component |
PurgeAction.SelectionForcedPrimitiveRenderer.getListCellRendererComponent(javax.swing.JList<? extends IPrimitive> list,
IPrimitive value,
int index,
boolean isSelected,
boolean cellHasFocus) |
Modifier and Type | Method and Description |
---|---|
java.awt.Component |
PurgeAction.SelectionForcedPrimitiveRenderer.getListCellRendererComponent(javax.swing.JList<? extends IPrimitive> list,
IPrimitive value,
int index,
boolean isSelected,
boolean cellHasFocus) |
Modifier and Type | Method and Description |
---|---|
void |
APIDataSet.removeProcessed(java.util.Collection<IPrimitive> processed)
Removes the given primitives from this
APIDataSet |
Modifier and Type | Interface and Description |
---|---|
interface |
INode
|
interface |
IRelation
IRelation captures the common functions of
Relation and RelationData . |
interface |
IWay
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractPrimitive
Abstract class to represent common features of the datatypes primitives.
|
class |
Node
One node data, consisting of one world coordinate waypoint.
|
class |
NodeData
The data on a single node (tags and position) that is stored in the database
|
class |
OsmPrimitive
|
class |
PrimitiveData
This class can be used to save properties of OsmPrimitive.
|
class |
Relation
A relation, having a set of tags and any number (0...n) of members.
|
class |
RelationData
Relation data.
|
class |
Way
One full way, consisting of a list of way
nodes . |
class |
WayData
The data (tags and node ids) that is stored for a way in the database
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
DefaultNameFormatter.buildDefaultToolTip(IPrimitive primitive)
Builds a default tooltip text for the primitive
primitive . |
protected void |
DefaultNameFormatter.decorateNameWithId(java.lang.StringBuilder name,
IPrimitive primitive)
Decorates the name of primitive with its id, if the preference
osm-primitives.showid is set. |
java.lang.String |
DefaultNameFormatter.format(IPrimitive osm)
Formats a name for an
IPrimitive . |
static OsmPrimitiveType |
OsmPrimitiveType.from(IPrimitive obj)
Determines the OSM primitive type of the given object.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
PrimitiveRenderer.getComponentText(IPrimitive value)
Returns the text representing an OSM primitive in a component.
|
protected java.lang.String |
PrimitiveRenderer.getComponentToolTipText(IPrimitive value)
Returns the text representing an OSM primitive in a tooltip.
|
java.awt.Component |
PrimitiveRenderer.getListCellRendererComponent(javax.swing.JList<? extends IPrimitive> list,
IPrimitive value,
int index,
boolean isSelected,
boolean cellHasFocus)
Adapter method supporting the ListCellRenderer interface.
|
private java.awt.Component |
PrimitiveRenderer.renderer(java.awt.Component def,
IPrimitive value,
boolean fast)
Internal method that stuffs information into the rendering component
provided that it's a kind of JLabel.
|
Modifier and Type | Method and Description |
---|---|
java.awt.Component |
PrimitiveRenderer.getListCellRendererComponent(javax.swing.JList<? extends IPrimitive> list,
IPrimitive value,
int index,
boolean isSelected,
boolean cellHasFocus)
Adapter method supporting the ListCellRenderer interface.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<? extends IPrimitive> |
PrimitiveTagTransferPaster.TagPasteSupport.selection |
Constructor and Description |
---|
TagPasteSupport(PrimitiveTagTransferData data,
java.util.Collection<? extends IPrimitive> selection)
Constructs a new
TagPasteSupport . |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
RelationListDialog.NoTooltipOsmRenderer.getComponentToolTipText(IPrimitive value) |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<IPrimitive> |
UploadLayerTask.processedPrimitives |
private java.util.Set<IPrimitive> |
UploadPrimitivesTask.processedPrimitives |
Modifier and Type | Method and Description |
---|---|
void |
OsmDataLayer.cleanupAfterUpload(java.util.Collection<? extends IPrimitive> processed)
Clean out the data behind the layer.
|
Modifier and Type | Method and Description |
---|---|
TaggingPreset |
TaggingPresetNameTemplateList.findPresetTemplate(IPrimitive primitive)
Finds and returns the first occurence of preset with template name matching the given primitive
|
static TaggingPresetType |
TaggingPresetType.forPrimitive(IPrimitive p)
Determines the
TaggingPresetType of a given primitive. |
Modifier and Type | Method and Description |
---|---|
protected void |
OsmWriter.addCommon(IPrimitive osm,
java.lang.String tagname)
Add the common part as the form of the tag as well as the XML attributes
id, action, user, and visible.
|
void |
OsmChangeBuilder.append(IPrimitive p)
Appends an Primitive to the OsmChange document.
|
void |
OsmApi.createPrimitive(IPrimitive osm,
ProgressMonitor monitor)
Creates an OSM primitive on the server.
|
private void |
OsmApi.individualPrimitiveModification(java.lang.String method,
java.lang.String verb,
IPrimitive osm,
ProgressMonitor monitor,
java.util.function.Consumer<java.lang.String> consumer,
java.util.function.Function<java.lang.String,java.lang.String> errHandler) |
void |
OsmApi.modifyPrimitive(IPrimitive osm,
ProgressMonitor monitor)
Modifies an OSM primitive on the server.
|
protected java.lang.String |
OsmApi.toXml(IPrimitive o,
boolean addBody)
Makes an XML string from an OSM primitive.
|
protected void |
OsmChangeBuilder.write(IPrimitive p) |
Modifier and Type | Method and Description |
---|---|
void |
OsmChangeBuilder.append(java.util.Collection<? extends IPrimitive> primitives)
Appends a collection of Primitives to the OsmChange document.
|