Uses of Interface
org.openstreetmap.josm.data.osm.IWay
-
Packages that use IWay 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.mappaint.mapcss Drawing system based on MapCSS map styles.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 IWay in org.openstreetmap.josm.data.osm
Classes in org.openstreetmap.josm.data.osm with type parameters of type IWay Modifier and Type Class Description 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 IWay Modifier and Type Class Description class
Way
One full way, consisting of a list of waynodes
.class
WayData
The data (tags and node ids) that is stored for a way in the database.Fields in org.openstreetmap.josm.data.osm declared as IWay Modifier and Type Field Description private W
IWaySegment. way
Fields in org.openstreetmap.josm.data.osm with type parameters of type IWay Modifier and Type Field Description private java.util.Comparator<IWay<?>>
DefaultNameFormatter. wayComparator
Methods in org.openstreetmap.josm.data.osm with type parameters of type IWay 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 IWay Modifier and Type Method Description default IWay<?>
IRelationMember. getWay()
Returns the relation member as a way.Methods in org.openstreetmap.josm.data.osm that return types with arguments of type IWay Modifier and Type Method Description java.util.Comparator<IWay<?>>
DefaultNameFormatter. getWayComparator()
java.util.Comparator<IWay<?>>
NameFormatter. getWayComparator()
Gets a comparator that sorts the ways by the string that this formatter would create for themMethods in org.openstreetmap.josm.data.osm with parameters of type IWay Modifier and Type Method Description java.lang.String
NameFormatterHook. checkFormat(IWay<?> way, java.lang.String defaultName)
Check the way format.protected void
DefaultNameFormatter. decorateNameWithNodes(java.lang.StringBuilder name, IWay<?> way)
Decorates the name of primitive with nodes countjava.lang.String
DefaultNameFormatter. format(IWay<?> way)
java.lang.String
NameFormatter. format(IWay<?> way)
Formats a name for aIWay
.Constructors in org.openstreetmap.josm.data.osm with parameters of type IWay Constructor Description BBox(IWay<?> w)
Create BBox for all nodes of the way with known coordinates. -
Uses of IWay in org.openstreetmap.josm.data.osm.event
Classes in org.openstreetmap.josm.data.osm.event with type parameters of type IWay 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 IWay in org.openstreetmap.josm.data.osm.visitor
Methods in org.openstreetmap.josm.data.osm.visitor with parameters of type IWay Modifier and Type Method Description void
BoundingXYVisitor. visit(IWay<?> w)
void
PrimitiveVisitor. visit(IWay<?> w)
Visiting call for ways. -
Uses of IWay in org.openstreetmap.josm.data.osm.visitor.paint
Methods in org.openstreetmap.josm.data.osm.visitor.paint with parameters of type IWay Modifier and Type Method Description void
ComputeStyleListWorker. add(IWay<?> osm, int flags)
Add new style records for the given way.void
StyledMapRenderer. drawArea(IWay<?> w, java.awt.Color color, MapImage fillImage, java.lang.Float extent, java.lang.Float extentThreshold, boolean disabled)
Draws an area defined by a way.void
StyledMapRenderer. drawRepeatImage(IWay<?> way, MapImage pattern, boolean disabled, double offset, double spacing, double phase, float opacity, RepeatImageElement.LineImageAlignment align)
Draw an image along a way repeatedly.void
StyledMapRenderer. drawWay(IWay<?> way, java.awt.Color color, java.awt.BasicStroke line, java.awt.BasicStroke dashes, java.awt.Color dashedColor, float offset, boolean showOrientation, boolean showHeadArrowOnly, boolean showOneway, boolean onewayReversed)
draw way.private MapViewPath
StyledMapRenderer. getPath(IWay<?> w)
private static java.awt.geom.Path2D.Double
StyledMapRenderer. getPFClip(IWay<?> w, double extent)
void
ComputeStyleListWorker. visit(IWay<?> w)
void
WireframeMapRenderer. visit(IWay<?> w)
Draw a line for all way segments.void
AbstractMapRenderer. visitVirtual(java.awt.geom.Path2D path, IWay<?> w)
Creates path for drawing virtual nodes for one way. -
Uses of IWay in org.openstreetmap.josm.data.vector
Classes in org.openstreetmap.josm.data.vector with type parameters of type IWay 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 IWay Modifier and Type Class Description class
VectorWay
The "Way" type for a Vector layerMethods in org.openstreetmap.josm.data.vector with type parameters of type IWay Modifier and Type Method Description private static <N extends INode,W extends IWay<N>>
booleanVectorDataStore. canMergeWays(W old, W toAdd, boolean allowReverse)
-
Uses of IWay in org.openstreetmap.josm.gui.dialogs
Methods in org.openstreetmap.josm.gui.dialogs with parameters of type IWay Modifier and Type Method Description (package private) void
InspectPrimitiveDataText. addWayNodes(IWay<?> w)
-
Uses of IWay in org.openstreetmap.josm.gui.dialogs.relation.sort
Methods in org.openstreetmap.josm.gui.dialogs.relation.sort with type parameters of type IWay Modifier and Type Method Description (package private) static <W extends IWay<?>>
WayConnectionType.DirectionRelationSortUtils. roundaboutType(W w)
Check if a way is a roundabout type -
Uses of IWay in org.openstreetmap.josm.gui.mappaint.mapcss
Methods in org.openstreetmap.josm.gui.mappaint.mapcss with parameters of type IWay Modifier and Type Method Description void
Selector.ChildOrParentSelector.AbstractFinder. visit(IWay<?> w)
void
Selector.ChildOrParentSelector.InsideOrEqualFinder. visit(IWay<?> w)
void
Selector.ChildOrParentSelector.MatchingReferrerFinder. visit(IWay<?> w)
void
Selector.ChildOrParentSelector.MultipolygonOpenEndFinder. visit(IWay<?> w)
-
Uses of IWay in org.openstreetmap.josm.io
Methods in org.openstreetmap.josm.io with parameters of type IWay Modifier and Type Method Description void
OsmWriter. visit(IWay<?> w)
-
Uses of IWay in org.openstreetmap.josm.tools
Methods in org.openstreetmap.josm.tools with parameters of type IWay Modifier and Type Method Description static java.util.List<IPrimitive>
Geometry. filterInsidePolygon(java.util.Collection<IPrimitive> primitives, IWay<?> polygon)
Find all primitives in the given collection which are inside the given polygon.
-