Uses of Class
org.openstreetmap.josm.data.vector.VectorPrimitive
-
Packages that use VectorPrimitive Package Description org.openstreetmap.josm.data.vector Provides classes for vector data like Mapbox Vector Tiles. -
-
Uses of VectorPrimitive in org.openstreetmap.josm.data.vector
Subclasses of VectorPrimitive in org.openstreetmap.josm.data.vector Modifier and Type Class Description class
VectorNode
The "Node" type of a vector layerclass
VectorRelation
The "Relation" type for vectorsclass
VectorWay
The "Way" type for a Vector layerFields in org.openstreetmap.josm.data.vector declared as VectorPrimitive Modifier and Type Field Description private VectorPrimitive
VectorRelationMember. member
Fields in org.openstreetmap.josm.data.vector with type parameters of type VectorPrimitive Modifier and Type Field Description private ListenerList<IDataSelectionListener<VectorPrimitive,VectorNode,VectorWay,VectorRelation,VectorDataSet>>
VectorDataSet. listeners
Methods in org.openstreetmap.josm.data.vector with type parameters of type VectorPrimitive Modifier and Type Method Description <T extends VectorPrimitive>
java.util.Collection<T>VectorDataSet. getPrimitives(java.util.function.Predicate<? super VectorPrimitive> predicate)
Methods in org.openstreetmap.josm.data.vector that return VectorPrimitive Modifier and Type Method Description VectorPrimitive
VectorRelationMember. getMember()
VectorPrimitive
VectorDataSet. getPrimitiveById(PrimitiveId primitiveId)
Get a primitive for an idprivate static VectorPrimitive
VectorDataStore. mergeWays(VectorRelation relation)
private <T extends org.openstreetmap.gui.jmapviewer.Tile & VectorTile>
VectorPrimitiveVectorDataStore. shapeToPrimaryFeatureObject(T tile, Layer layer, java.awt.Shape shape, java.util.List<VectorPrimitive> featureObjects)
Methods in org.openstreetmap.josm.data.vector that return types with arguments of type VectorPrimitive Modifier and Type Method Description java.util.Collection<VectorPrimitive>
VectorDataSet. getAllSelected()
java.util.stream.Stream<VectorPrimitive>
VectorDataSet. getPrimitivesById(PrimitiveId... primitiveIds)
Get all primitives for idsjava.util.List<VectorPrimitive>
VectorPrimitive. getReferrers(boolean allowWithoutDataset)
private <T extends org.openstreetmap.gui.jmapviewer.Tile & VectorTile>
java.util.List<VectorPrimitive>VectorDataStore. pathIteratorToObjects(T tile, Layer layer, java.util.Collection<VectorPrimitive> featureObjects, java.awt.geom.PathIterator pathIterator)
Methods in org.openstreetmap.josm.data.vector with parameters of type VectorPrimitive Modifier and Type Method Description void
VectorDataSet. addPrimitive(VectorPrimitive primitive)
Add a primitive to the custom data storeprotected void
VectorDataStore. addPrimitive(VectorPrimitive primitive)
boolean
VectorDataSet. isSelected(VectorPrimitive osm)
void
VectorDataSet. removePrimitive(VectorPrimitive primitive)
Remove a primitive from the custom data storeMethod parameters in org.openstreetmap.josm.data.vector with type arguments of type VectorPrimitive Modifier and Type Method Description boolean
VectorDataSet. addSelectionListener(IDataSelectionListener<VectorPrimitive,VectorNode,VectorWay,VectorRelation,VectorDataSet> listener)
private <T extends org.openstreetmap.gui.jmapviewer.Tile & VectorTile>
VectorRelationVectorDataStore. areaToRelation(T tile, Layer layer, java.util.Collection<VectorPrimitive> featureObjects, java.awt.geom.Area area)
private boolean
VectorDataSet. doSelectionChange(java.util.function.Function<java.util.Set<VectorPrimitive>,IDataSelectionListener.SelectionChangeEvent<VectorPrimitive,VectorNode,VectorWay,VectorRelation,VectorDataSet>> command)
Do a selection change.private boolean
VectorDataSet. doSelectionChange(java.util.function.Function<java.util.Set<VectorPrimitive>,IDataSelectionListener.SelectionChangeEvent<VectorPrimitive,VectorNode,VectorWay,VectorRelation,VectorDataSet>> command)
Do a selection change.<T extends VectorPrimitive>
java.util.Collection<T>VectorDataSet. getPrimitives(java.util.function.Predicate<? super VectorPrimitive> predicate)
private <T extends org.openstreetmap.gui.jmapviewer.Tile & VectorTile>
java.util.List<VectorPrimitive>VectorDataStore. pathIteratorToObjects(T tile, Layer layer, java.util.Collection<VectorPrimitive> featureObjects, java.awt.geom.PathIterator pathIterator)
private <T extends org.openstreetmap.gui.jmapviewer.Tile & VectorTile>
java.util.List<VectorWay>VectorDataStore. pathToWay(T tile, Layer layer, java.util.Collection<VectorPrimitive> featureObjects, java.awt.geom.Path2D shape)
private <T extends org.openstreetmap.gui.jmapviewer.Tile & VectorTile>
VectorNodeVectorDataStore. pointToNode(T tile, Layer layer, java.util.Collection<VectorPrimitive> featureObjects, int x, int y)
boolean
VectorDataSet. removeSelectionListener(IDataSelectionListener<VectorPrimitive,VectorNode,VectorWay,VectorRelation,VectorDataSet> listener)
private <T extends org.openstreetmap.gui.jmapviewer.Tile & VectorTile>
VectorPrimitiveVectorDataStore. shapeToPrimaryFeatureObject(T tile, Layer layer, java.awt.Shape shape, java.util.List<VectorPrimitive> featureObjects)
Constructors in org.openstreetmap.josm.data.vector with parameters of type VectorPrimitive Constructor Description VectorRelationMember(java.lang.String role, VectorPrimitive member)
Create a new relation member
-