Uses of Interface
org.openstreetmap.josm.data.osm.IRelation
-
Packages that use IRelation Package Description org.openstreetmap.josm.actions.relation Provides the classes for JOSM actions that work withrelations
.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 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.properties Toggle dialog allowing to display/edit tags and relation memberships of currently selected OSM objects.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. -
-
Uses of IRelation in org.openstreetmap.josm.actions.relation
Fields in org.openstreetmap.josm.actions.relation with type parameters of type IRelation Modifier and Type Field Description protected Collection<IRelation<?>>
AbstractRelationAction. relations
relation collectionMethods in org.openstreetmap.josm.actions.relation that return types with arguments of type IRelation Modifier and Type Method Description protected static Collection<IRelation<?>>
AbstractRelationAction. getRelations(Collection<? extends IPrimitive> primitives)
Returns the relations contained in the given collection.Methods in org.openstreetmap.josm.actions.relation with parameters of type IRelation Modifier and Type Method Description private static boolean
DuplicateRelationAction. isEditableRelation(IRelation<?> r)
Method parameters in org.openstreetmap.josm.actions.relation with type arguments of type IRelation Modifier and Type Method Description static Set<IPrimitive>
DownloadSelectedIncompleteMembersAction. buildSetOfIncompleteMembers(Collection<IRelation<?>> rels)
Returns the set of incomplete members of the given relations. -
Uses of IRelation in org.openstreetmap.josm.data.osm
Classes in org.openstreetmap.josm.data.osm with type parameters of type IRelation Modifier and Type Interface Description 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 IRelation Modifier and Type Class Description class
Relation
A relation, having a set of tags and any number (0...n) of members.class
RelationData
Relation data.Fields in org.openstreetmap.josm.data.osm with type parameters of type IRelation Modifier and Type Field Description private Comparator<IRelation<?>>
DefaultNameFormatter. relationComparator
Methods in org.openstreetmap.josm.data.osm that return types with arguments of type IRelation Modifier and Type Method Description Comparator<IRelation<?>>
DefaultNameFormatter. getRelationComparator()
Comparator<IRelation<?>>
NameFormatter. getRelationComparator()
Gets a comparator that sorts the relations by the string that this formatter would create for themMethods in org.openstreetmap.josm.data.osm with parameters of type IRelation Modifier and Type Method Description String
NameFormatterHook. checkFormat(IRelation<?> relation, String defaultName)
Check the relation format.String
NameFormatterHook. checkRelationTypeName(IRelation<?> relation, String defaultName)
Check the relation type name.String
DefaultNameFormatter. format(IRelation<?> relation)
String
NameFormatter. format(IRelation<?> relation)
Formats a name for aIRelation
.private static StringBuilder
DefaultNameFormatter. formatRelationNameAndType(IRelation<?> relation, StringBuilder result, TaggingPreset preset)
private static String
DefaultNameFormatter. getNameTagValue(IRelation<?> relation, String nameTag)
private static String
DefaultNameFormatter. getRelationName(IRelation<?> relation)
private static String
DefaultNameFormatter. getRelationTypeName(IRelation<?> relation)
-
Uses of IRelation in org.openstreetmap.josm.data.osm.event
Classes in org.openstreetmap.josm.data.osm.event with type parameters of type IRelation 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 IRelation in org.openstreetmap.josm.data.osm.visitor
Methods in org.openstreetmap.josm.data.osm.visitor with parameters of type IRelation Modifier and Type Method Description void
BoundingXYVisitor. visit(IRelation<?> r)
void
PrimitiveVisitor. visit(IRelation<?> r)
Visiting call for relations. -
Uses of IRelation in org.openstreetmap.josm.data.osm.visitor.paint
Methods in org.openstreetmap.josm.data.osm.visitor.paint with parameters of type IRelation Modifier and Type Method Description void
ComputeStyleListWorker. add(IRelation<?> osm, int flags)
Add new style records for the given relation.void
StyledMapRenderer. drawRestriction(IRelation<?> r, MapImage icon, boolean disabled)
Draw a turn restrictionvoid
ComputeStyleListWorker. visit(IRelation<?> r)
void
WireframeMapRenderer. visit(IRelation<?> r)
Draw objects used in relations. -
Uses of IRelation in org.openstreetmap.josm.data.vector
Classes in org.openstreetmap.josm.data.vector with type parameters of type IRelation 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 IRelation Modifier and Type Class Description class
VectorRelation
The "Relation" type for vectors -
Uses of IRelation in org.openstreetmap.josm.gui.dialogs
Fields in org.openstreetmap.josm.gui.dialogs with type parameters of type IRelation Modifier and Type Field Description private JList<IRelation<?>>
RelationListDialog. displaylist
The display list.private List<IRelation<?>>
RelationListDialog.RelationListModel. filteredRelations
private List<IRelation<?>>
RelationListDialog.RelationListModel. relations
Methods in org.openstreetmap.josm.gui.dialogs that return IRelation Modifier and Type Method Description IRelation<?>
RelationListDialog.RelationListModel. getElementAt(int index)
private IRelation<?>
RelationListDialog. getSelected()
private IRelation<?>
RelationListDialog.RelationListModel. getVisibleRelation(int index)
Methods in org.openstreetmap.josm.gui.dialogs that return types with arguments of type IRelation Modifier and Type Method Description Collection<IRelation<?>>
RelationListDialog. getSelectedRelations()
Replies the list of selected relations.List<IRelation<?>>
RelationListDialog.RelationListModel. getSelectedRelations()
Replies the list of selected relations.private List<IRelation<?>>
RelationListDialog.RelationListModel. getVisibleRelations()
Methods in org.openstreetmap.josm.gui.dialogs with parameters of type IRelation Modifier and Type Method Description (package private) void
InspectPrimitiveDataText. addRelationMembers(IRelation<?> r)
private boolean
RelationListDialog.RelationListModel. isValid(IRelation<?> r)
Method parameters in org.openstreetmap.josm.gui.dialogs with type arguments of type IRelation Modifier and Type Method Description void
RelationListDialog. selectRelations(Collection<? extends IRelation<?>> relations)
Selects the relations in the list of relations.void
RelationListDialog.RelationListModel. setRelations(Collection<? extends IRelation<?>> relations)
void
RelationListDialog.RelationListModel. setSelectedRelations(Collection<? extends IRelation<?>> sel)
Sets the selected relations. -
Uses of IRelation in org.openstreetmap.josm.gui.dialogs.properties
Fields in org.openstreetmap.josm.gui.dialogs.properties with type parameters of type IRelation Modifier and Type Field Description private IntFunction<IRelation<?>>
HelpMembershipAction. memberValueSupplier
Methods in org.openstreetmap.josm.gui.dialogs.properties that return IRelation Modifier and Type Method Description IRelation<?>
PropertiesDialog. getSelectedMembershipRelation()
Returns the selected relation membership.Methods in org.openstreetmap.josm.gui.dialogs.properties that return types with arguments of type IRelation Modifier and Type Method Description Collection<IRelation<?>>
PropertiesDialog. getSelectedMembershipRelations()
Returns all selected relation memberships.Methods in org.openstreetmap.josm.gui.dialogs.properties with parameters of type IRelation Modifier and Type Method Description static void
HelpAction. displayRelationHelp(IRelation<?> rel)
Displays the most specific wiki page for the given relation.Method parameters in org.openstreetmap.josm.gui.dialogs.properties with type arguments of type IRelation Modifier and Type Method Description private static Supplier<String>
TaginfoAction. getRelationTypeSupplier(JTable membershipTable, IntFunction<IRelation<?>> memberValueSupplier)
Constructor parameters in org.openstreetmap.josm.gui.dialogs.properties with type arguments of type IRelation Constructor Description HelpMembershipAction(JTable membershipTable, IntFunction<IRelation<?>> memberValueSupplier)
Constructs a newHelpAction
. -
Uses of IRelation in org.openstreetmap.josm.gui.mappaint.mapcss
Methods in org.openstreetmap.josm.gui.mappaint.mapcss with parameters of type IRelation Modifier and Type Method Description void
Selector.ChildOrParentSelector.AbstractFinder. visit(IRelation<?> r)
void
Selector.ChildOrParentSelector.InsideOrEqualFinder. visit(IRelation<?> r)
void
Selector.ChildOrParentSelector.MatchingReferrerFinder. visit(IRelation<?> r)
-
Uses of IRelation in org.openstreetmap.josm.io
Methods in org.openstreetmap.josm.io with parameters of type IRelation Modifier and Type Method Description void
OsmWriter. visit(IRelation<?> e)
-