| Package | Description |
|---|---|
| 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.visitor |
Provides the classes for performing actions on OSM primitives using Visitor design pattern.
|
| org.openstreetmap.josm.data.osm.visitor.paint |
Provides the classes for painting (rendering) OSM primitives on the map.
|
| org.openstreetmap.josm.io |
Provides the classes for JOSM input/output support.
|
| Modifier and Type | Class and Description |
|---|---|
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
|
| Modifier and Type | Field and Description |
|---|---|
private java.util.Comparator<INode> |
DefaultNameFormatter.nodeComparator |
| Modifier and Type | Method and Description |
|---|---|
java.util.Comparator<INode> |
DefaultNameFormatter.getNodeComparator() |
java.util.Comparator<INode> |
NameFormatter.getNodeComparator()
Gets a comparator that sorts the nodes by the string that this formatter would create for them
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
NameFormatterHook.checkFormat(INode node,
java.lang.String defaultName)
Check the node format.
|
java.lang.String |
DefaultNameFormatter.format(INode node) |
java.lang.String |
NameFormatter.format(INode node)
Formats a name for a
INode. |
| Modifier and Type | Method and Description |
|---|---|
void |
PrimitiveVisitor.visit(INode n)
Visiting call for nodes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
StyledMapRenderer.drawNode(INode n,
java.awt.Color color,
int size,
boolean fill) |
abstract void |
AbstractMapRenderer.drawNode(INode n,
java.awt.Color color,
int size,
boolean fill)
Draw the node as small square with the given color.
|
void |
WireframeMapRenderer.drawNode(INode n,
java.awt.Color color,
int size,
boolean fill) |
| Modifier and Type | Method and Description |
|---|---|
void |
OsmWriter.visit(INode n) |