Uses of Interface
org.openstreetmap.josm.data.osm.INode
-
Packages that use INode Package Description org.openstreetmap.josm.data.osm Provides the classes for OSM data:Primitives
:Node
,Way
,Relation
Users
Tags
Changesets
Utilities classesorg.openstreetmap.josm.data.osm.event Provides the classes for OSM dataset events.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.data.vector Provides classes for vector data like Mapbox Vector Tiles.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 elseorg.openstreetmap.josm.gui.dialogs.relation.sort Provides the classes for sorting relations.org.openstreetmap.josm.gui.layer Provides classes for handling the different kinds of map layers.org.openstreetmap.josm.gui.mappaint.mapcss Drawing system based on MapCSS map styles.org.openstreetmap.josm.gui.mappaint.styleelement Style elements defining how a map paint style is rendered.org.openstreetmap.josm.io Provides the classes for JOSM input/output support.org.openstreetmap.josm.tools Provides the classes for various utilities and tools called from all other packages. -
-
Uses of INode in org.openstreetmap.josm.data.osm
Classes in org.openstreetmap.josm.data.osm with type parameters of type INode Modifier and Type Interface Description interface
IWay<N extends INode>
class
IWaySegment<N extends INode,W extends IWay<N>>
A segment consisting of 2 consecutive nodes out of a way.interface
OsmData<O extends IPrimitive,N extends INode,W extends IWay<N>,R extends IRelation<?>>
Abstraction ofDataSet
.class
QuadBucketPrimitiveStore<N extends INode,W extends IWay<N>,R extends IRelation<?>>
Stores primitives in quad buckets.Classes in org.openstreetmap.josm.data.osm that implement INode Modifier and Type Class 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 databaseFields in org.openstreetmap.josm.data.osm with type parameters of type INode Modifier and Type Field Description private java.util.Comparator<INode>
DefaultNameFormatter. nodeComparator
Methods in org.openstreetmap.josm.data.osm with type parameters of type INode Modifier and Type Method Description static <N extends INode,W extends IWay<N>>
IWaySegment<N,W>IWaySegment. forNodePair(W way, N first, N second)
Determines and returns the way segment for the given way and node pair.Methods in org.openstreetmap.josm.data.osm that return types with arguments of type INode Modifier and Type Method 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 themMethods in org.openstreetmap.josm.data.osm with parameters of type INode Modifier and Type Method 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 aINode
.boolean
IWay. isFirstLastNode(INode n)
Replies true if the given node is the first or the last one of this way, false otherwise.boolean
Way. isFirstLastNode(INode n)
boolean
WayData. isFirstLastNode(INode n)
boolean
IWay. isInnerNode(INode n)
Replies true if the given node is an inner node of this way, false otherwise.boolean
Way. isInnerNode(INode n)
boolean
WayData. isInnerNode(INode n)
Constructors in org.openstreetmap.josm.data.osm with parameters of type INode Constructor Description BBox(INode n)
Create BBox for a node. -
Uses of INode in org.openstreetmap.josm.data.osm.event
Classes in org.openstreetmap.josm.data.osm.event with type parameters of type INode Modifier and Type Interface Description interface
IDataSelectionEventSource<O extends IPrimitive,N extends INode,W extends IWay<N>,R extends IRelation<?>,D extends OsmData<O,N,W,R>>
This interface indicates that the class can fireIDataSelectionListener
.interface
IDataSelectionListener<O extends IPrimitive,N extends INode,W extends IWay<N>,R extends IRelation<?>,D extends OsmData<O,N,W,R>>
This interface is the same asDataSelectionListener
, except it isn'tOsmPrimitive
specific.static class
IDataSelectionListener.AbstractSelectionEvent<O extends IPrimitive,N extends INode,W extends IWay<N>,R extends IRelation<?>,D extends OsmData<O,N,W,R>>
The base class for selection eventsstatic class
IDataSelectionListener.SelectionAddEvent<O extends IPrimitive,N extends INode,W extends IWay<N>,R extends IRelation<?>,D extends OsmData<O,N,W,R>>
Primitives are added to the selectionstatic interface
IDataSelectionListener.SelectionChangeEvent<O extends IPrimitive,N extends INode,W extends IWay<N>,R extends IRelation<?>,D extends OsmData<O,N,W,R>>
The event that is fired when the selection changed.static class
IDataSelectionListener.SelectionRemoveEvent<O extends IPrimitive,N extends INode,W extends IWay<N>,R extends IRelation<?>,D extends OsmData<O,N,W,R>>
Primitives are removed from the selectionstatic class
IDataSelectionListener.SelectionReplaceEvent<O extends IPrimitive,N extends INode,W extends IWay<N>,R extends IRelation<?>,D extends OsmData<O,N,W,R>>
The selection is replaced by a new selectionstatic class
IDataSelectionListener.SelectionToggleEvent<O extends IPrimitive,N extends INode,W extends IWay<N>,R extends IRelation<?>,D extends OsmData<O,N,W,R>>
Toggle the selected state of a primitive -
Uses of INode in org.openstreetmap.josm.data.osm.visitor
Methods in org.openstreetmap.josm.data.osm.visitor with parameters of type INode Modifier and Type Method Description void
BoundingXYVisitor. visit(INode n)
void
PrimitiveVisitor. visit(INode n)
Visiting call for nodes. -
Uses of INode in org.openstreetmap.josm.data.osm.visitor.paint
Methods in org.openstreetmap.josm.data.osm.visitor.paint with parameters of type INode Modifier and Type Method Description void
ComputeStyleListWorker. add(INode osm, int flags)
Add new style records for the given node.void
StyledMapRenderer. drawBoxText(INode n, BoxTextElement bs)
Draw a text onto a nodeabstract void
AbstractMapRenderer. drawNode(INode n, java.awt.Color color, int size, boolean fill)
Draw the node as small square with the given color.void
StyledMapRenderer. drawNode(INode n, java.awt.Color color, int size, boolean fill)
void
WireframeMapRenderer. drawNode(INode n, java.awt.Color color, int size, boolean fill)
void
StyledMapRenderer. drawNodeIcon(INode n, MapImage img, boolean disabled, boolean selected, boolean member, double theta)
Draw the icon for a given node.void
StyledMapRenderer. drawNodeSymbol(INode n, Symbol s, java.awt.Color fillColor, java.awt.Color strokeColor)
Draw the symbol and possibly a highlight marking on a given node.void
StyledMapRenderer. drawOrderNumber(INode n1, INode n2, int orderNumber, java.awt.Color clr)
Draw a number of the order of the two consecutive nodes within the parents wayprivate static boolean
WireframeMapRenderer. isNodeTagged(INode n)
void
ComputeStyleListWorker. visit(INode n)
void
WireframeMapRenderer. visit(INode n)
Draw a small rectangle.Method parameters in org.openstreetmap.josm.data.osm.visitor.paint with type arguments of type INode Modifier and Type Method Description private static void
StyledMapRenderer. buildPFClip(java.awt.geom.Path2D.Double clip, java.util.List<? extends INode> nodes, double extent)
Fix the clipping area of unclosed polygons for partial fill.Constructor parameters in org.openstreetmap.josm.data.osm.visitor.paint with type arguments of type INode Constructor Description OffsetIterator(MapViewState mapState, java.util.List<? extends INode> nodes, double offset)
Creates a new offset iterator -
Uses of INode in org.openstreetmap.josm.data.vector
Classes in org.openstreetmap.josm.data.vector with type parameters of type INode Modifier and Type Class Description (package private) class
DataStore<O extends IPrimitive,N extends INode,W extends IWay<N>,R extends IRelation<?>>
A class that stores data (essentially a simpleDataSet
)(package private) static class
DataStore.LocalQuadBucketPrimitiveStore<N extends INode,W extends IWay<N>,R extends IRelation<?>>
This literally only exists to makeQuadBucketPrimitiveStore.removePrimitive(org.openstreetmap.josm.data.osm.IPrimitive)
publicClasses in org.openstreetmap.josm.data.vector that implement INode Modifier and Type Class Description class
VectorNode
The "Node" type of a vector layerMethods in org.openstreetmap.josm.data.vector with type parameters of type INode Modifier and Type Method Description private static <N extends INode,W extends IWay<N>>
booleanVectorDataStore. canMergeWays(W old, W toAdd, boolean allowReverse)
Methods in org.openstreetmap.josm.data.vector with parameters of type INode Modifier and Type Method Description boolean
VectorWay. isFirstLastNode(INode n)
boolean
VectorWay. isInnerNode(INode n)
-
Uses of INode in org.openstreetmap.josm.gui.dialogs
Methods in org.openstreetmap.josm.gui.dialogs with parameters of type INode Modifier and Type Method Description (package private) void
InspectPrimitiveDataText. addCoordinates(INode n)
-
Uses of INode in org.openstreetmap.josm.gui.dialogs.relation.sort
Fields in org.openstreetmap.josm.gui.dialogs.relation.sort declared as INode Modifier and Type Field Description private INode
RelationNodeMap. firstCircular
private INode
RelationNodeMap. lastOnewayNode
Fields in org.openstreetmap.josm.gui.dialogs.relation.sort with type parameters of type INode Modifier and Type Field Description java.util.Map<INode,java.util.Set<java.lang.Integer>>
RelationNodeMap.NodesWays. nodes
private java.util.Map<java.lang.Integer,java.util.Set<INode>>
RelationNodeMap. remainingOneway
java.util.Map<java.lang.Integer,java.util.Set<INode>>
RelationNodeMap.NodesWays. ways
Methods in org.openstreetmap.josm.gui.dialogs.relation.sort that return INode Modifier and Type Method Description static INode
RelationNodeMap. firstOnewayNode(IRelationMember<?> m)
Gets the start node of the member, respecting the direction role.static INode
RelationNodeMap. lastOnewayNode(IRelationMember<?> m)
Gets the end node of the member, respecting the direction role.Methods in org.openstreetmap.josm.gui.dialogs.relation.sort with parameters of type INode Modifier and Type Method Description private void
RelationNodeMap. addNodeWayMap(INode n, int i)
private void
RelationNodeMap. addNodeWayMapReverse(INode n, int i)
private void
RelationNodeMap. addPair(INode n, int i)
private void
RelationNodeMap. addRemainingForward(INode n, int i)
private void
RelationNodeMap. addWayNodeMap(INode n, int i)
private void
RelationNodeMap. addWayNodeMapReverse(INode n, int i)
private boolean
RelationNodeMap. checkIfEndOfLoopReached(INode n)
private java.lang.Integer
RelationNodeMap. deleteAndGetAdjacentNode(RelationNodeMap.NodesWays nw, INode n)
find next node in nw NodeWays structure, if the node is found delete and return itprivate void
RelationNodeMap. deleteWayNode(RelationNodeMap.NodesWays nw, java.lang.Integer way, INode n)
private static java.lang.Integer
RelationNodeMap. findAdjacentWay(RelationNodeMap.NodesWays nw, INode n)
-
Uses of INode in org.openstreetmap.josm.gui.layer
Methods in org.openstreetmap.josm.gui.layer with parameters of type INode Modifier and Type Method Description private BBox
OsmDataLayer. getInvalidatedBBox(INode first, INode second)
-
Uses of INode in org.openstreetmap.josm.gui.mappaint.mapcss
Methods in org.openstreetmap.josm.gui.mappaint.mapcss with parameters of type INode Modifier and Type Method Description void
Selector.ChildOrParentSelector.AbstractFinder. visit(INode n)
void
Selector.ChildOrParentSelector.MatchingReferrerFinder. visit(INode n)
-
Uses of INode in org.openstreetmap.josm.gui.mappaint.styleelement
Methods in org.openstreetmap.josm.gui.mappaint.styleelement with parameters of type INode Modifier and Type Method Description private void
NodeElement. paintWithSymbol(MapPaintSettings settings, StyledMapRenderer painter, boolean selected, boolean member, INode n)
-
Uses of INode in org.openstreetmap.josm.io
Methods in org.openstreetmap.josm.io with parameters of type INode Modifier and Type Method Description void
OsmWriter. visit(INode n)
-
Uses of INode in org.openstreetmap.josm.tools
Methods in org.openstreetmap.josm.tools with type parameters of type INode Modifier and Type Method Description static <N extends INode>
booleanGeometry. angleIsClockwise(N commonNode, N firstNode, N secondNode)
This method tests if secondNode is clockwise to first node.static <N extends INode>
booleanGeometry. isToTheRightSideOfLine(N lineP1, N lineP2, N lineP3, N testPoint)
Tests if given point is to the right side of path consisting of 3 points.Methods in org.openstreetmap.josm.tools with parameters of type INode Modifier and Type Method Description static boolean
Geometry. isNodeInsideMultiPolygon(INode node, Relation multiPolygon, java.util.function.Predicate<Way> isOuterWayAMatch)
Tests if thenode
is inside the multipolygonmultiPolygon
.static boolean
Geometry. nodeInsidePolygon(INode point, java.util.List<? extends INode> polygonNodes)
Tests if point is inside a polygon.Method parameters in org.openstreetmap.josm.tools with type arguments of type INode Modifier and Type Method Description static java.awt.geom.Area
Geometry. getArea(java.util.List<? extends INode> polygon)
Returns the Area of a polygon, from its list of nodes.static EastNorth
Geometry. getCenter(java.util.List<? extends INode> nodes)
Compute the center of the circle closest to different nodes.static EastNorth
Geometry. getCentroid(java.util.List<? extends INode> nodes)
Compute the centroid/barycenter of nodesstatic boolean
Geometry. isClockwise(java.util.List<? extends INode> nodes)
Determines whether path from nodes list is oriented clockwise.static boolean
Geometry. isPolygonInsideMultiPolygon(java.util.List<? extends INode> nodes, Relation multiPolygon, java.util.function.Predicate<Way> isOuterWayAMatch)
Tests if the polygon formed bynodes
is inside the multipolygonmultiPolygon
.static boolean
Geometry. isPolygonInsideMultiPolygon(java.util.List<? extends INode> nodes, Pair<java.util.List<MultipolygonBuilder.JoinedPolygon>,java.util.List<MultipolygonBuilder.JoinedPolygon>> outerInner, java.util.function.Predicate<Way> isOuterWayAMatch)
Tests if the polygon formed bynodes
is inside the multipolygonmultiPolygon
.static boolean
Geometry. nodeInsidePolygon(INode point, java.util.List<? extends INode> polygonNodes)
Tests if point is inside a polygon.static Geometry.PolygonIntersection
Geometry. polygonIntersection(java.util.List<? extends INode> first, java.util.List<? extends INode> second)
Tests if two polygons intersect.
-