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,RelationUsersTagsChangesetsUtilities 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 interfaceIWay<N extends INode>classIWaySegment<N extends INode,W extends IWay<N>>A segment consisting of 2 consecutive nodes out of a way.interfaceOsmData<O extends IPrimitive,N extends INode,W extends IWay<N>,R extends IRelation<?>>Abstraction ofDataSet.classQuadBucketPrimitiveStore<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 classNodeOne node data, consisting of one world coordinate waypoint.classNodeDataThe 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. nodeComparatorMethods 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.StringNameFormatterHook. checkFormat(INode node, java.lang.String defaultName)Check the node format.java.lang.StringDefaultNameFormatter. format(INode node)java.lang.StringNameFormatter. format(INode node)Formats a name for aINode.booleanIWay. isFirstLastNode(INode n)Replies true if the given node is the first or the last one of this way, false otherwise.booleanWay. isFirstLastNode(INode n)booleanWayData. isFirstLastNode(INode n)booleanIWay. isInnerNode(INode n)Replies true if the given node is an inner node of this way, false otherwise.booleanWay. isInnerNode(INode n)booleanWayData. 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 interfaceIDataSelectionEventSource<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.interfaceIDataSelectionListener<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'tOsmPrimitivespecific.static classIDataSelectionListener.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 classIDataSelectionListener.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 interfaceIDataSelectionListener.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 classIDataSelectionListener.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 classIDataSelectionListener.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 classIDataSelectionListener.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 voidBoundingXYVisitor. visit(INode n)voidPrimitiveVisitor. 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 voidComputeStyleListWorker. add(INode osm, int flags)Add new style records for the given node.voidStyledMapRenderer. drawBoxText(INode n, BoxTextElement bs)Draw a text onto a nodeabstract voidAbstractMapRenderer. drawNode(INode n, java.awt.Color color, int size, boolean fill)Draw the node as small square with the given color.voidStyledMapRenderer. drawNode(INode n, java.awt.Color color, int size, boolean fill)voidWireframeMapRenderer. drawNode(INode n, java.awt.Color color, int size, boolean fill)voidStyledMapRenderer. drawNodeIcon(INode n, MapImage img, boolean disabled, boolean selected, boolean member, double theta)Draw the icon for a given node.voidStyledMapRenderer. 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.voidStyledMapRenderer. 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 booleanWireframeMapRenderer. isNodeTagged(INode n)voidComputeStyleListWorker. visit(INode n)voidWireframeMapRenderer. 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 voidStyledMapRenderer. 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) classDataStore<O extends IPrimitive,N extends INode,W extends IWay<N>,R extends IRelation<?>>A class that stores data (essentially a simpleDataSet)(package private) static classDataStore.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 classVectorNodeThe "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 booleanVectorWay. isFirstLastNode(INode n)booleanVectorWay. 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) voidInspectPrimitiveDataText. 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 INodeRelationNodeMap. firstCircularprivate INodeRelationNodeMap. lastOnewayNodeFields 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. nodesprivate java.util.Map<java.lang.Integer,java.util.Set<INode>>RelationNodeMap. remainingOnewayjava.util.Map<java.lang.Integer,java.util.Set<INode>>RelationNodeMap.NodesWays. waysMethods in org.openstreetmap.josm.gui.dialogs.relation.sort that return INode Modifier and Type Method Description static INodeRelationNodeMap. firstOnewayNode(IRelationMember<?> m)Gets the start node of the member, respecting the direction role.static INodeRelationNodeMap. 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 voidRelationNodeMap. addNodeWayMap(INode n, int i)private voidRelationNodeMap. addNodeWayMapReverse(INode n, int i)private voidRelationNodeMap. addPair(INode n, int i)private voidRelationNodeMap. addRemainingForward(INode n, int i)private voidRelationNodeMap. addWayNodeMap(INode n, int i)private voidRelationNodeMap. addWayNodeMapReverse(INode n, int i)private booleanRelationNodeMap. checkIfEndOfLoopReached(INode n)private java.lang.IntegerRelationNodeMap. deleteAndGetAdjacentNode(RelationNodeMap.NodesWays nw, INode n)find next node in nw NodeWays structure, if the node is found delete and return itprivate voidRelationNodeMap. deleteWayNode(RelationNodeMap.NodesWays nw, java.lang.Integer way, INode n)private static java.lang.IntegerRelationNodeMap. 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 BBoxOsmDataLayer. 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 voidSelector.ChildOrParentSelector.AbstractFinder. visit(INode n)voidSelector.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 voidNodeElement. 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 voidOsmWriter. 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 booleanGeometry. isNodeInsideMultiPolygon(INode node, Relation multiPolygon, java.util.function.Predicate<Way> isOuterWayAMatch)Tests if thenodeis inside the multipolygonmultiPolygon.static booleanGeometry. 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.AreaGeometry. getArea(java.util.List<? extends INode> polygon)Returns the Area of a polygon, from its list of nodes.static EastNorthGeometry. getCenter(java.util.List<? extends INode> nodes)Compute the center of the circle closest to different nodes.static EastNorthGeometry. getCentroid(java.util.List<? extends INode> nodes)Compute the centroid/barycenter of nodesstatic booleanGeometry. isClockwise(java.util.List<? extends INode> nodes)Determines whether path from nodes list is oriented clockwise.static booleanGeometry. isPolygonInsideMultiPolygon(java.util.List<? extends INode> nodes, Relation multiPolygon, java.util.function.Predicate<Way> isOuterWayAMatch)Tests if the polygon formed bynodesis inside the multipolygonmultiPolygon.static booleanGeometry. 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 bynodesis inside the multipolygonmultiPolygon.static booleanGeometry. nodeInsidePolygon(INode point, java.util.List<? extends INode> polygonNodes)Tests if point is inside a polygon.static Geometry.PolygonIntersectionGeometry. polygonIntersection(java.util.List<? extends INode> first, java.util.List<? extends INode> second)Tests if two polygons intersect.
-