Package | Description |
---|---|
org.openstreetmap.josm.actions.relation |
Provides the classes for JOSM actions that work with
relations . |
org.openstreetmap.josm.data.osm |
Provides the classes for OSM data:
Primitives :
Node ,
Way ,
Relation
Users
Tags
Changesets
Utilities classes
|
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.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 else
|
org.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.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Collection<IRelation<?>> |
AbstractRelationAction.relations
relation collection
|
Modifier and Type | Method and Description |
---|---|
protected static java.util.Collection<IRelation<?>> |
AbstractRelationAction.getRelations(java.util.Collection<? extends IPrimitive> primitives)
Returns the relations contained in the given collection.
|
Modifier and Type | Method and Description |
---|---|
private static boolean |
DuplicateRelationAction.isEditableRelation(IRelation<?> r) |
Modifier and Type | Method and Description |
---|---|
static java.util.Set<IPrimitive> |
DownloadSelectedIncompleteMembersAction.buildSetOfIncompleteMembers(java.util.Collection<IRelation<?>> rels)
Returns the set of incomplete members of the given relations.
|
Modifier and Type | Interface and Description |
---|---|
interface |
OsmData<O extends IPrimitive,N extends INode,W extends IWay<N>,R extends IRelation<?>>
Abstraction of
DataSet . |
class |
QuadBucketPrimitiveStore<N extends INode,W extends IWay<N>,R extends IRelation<?>>
Stores primitives in quad buckets.
|
Modifier and Type | Class and Description |
---|---|
class |
Relation
A relation, having a set of tags and any number (0...n) of members.
|
class |
RelationData
Relation data.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Comparator<IRelation<?>> |
DefaultNameFormatter.relationComparator |
Modifier and Type | Method and Description |
---|---|
java.util.Comparator<IRelation<?>> |
DefaultNameFormatter.getRelationComparator() |
java.util.Comparator<IRelation<?>> |
NameFormatter.getRelationComparator()
Gets a comparator that sorts the relations by the string that this formatter would create for them
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
NameFormatterHook.checkFormat(IRelation<?> relation,
java.lang.String defaultName)
Check the relation format.
|
java.lang.String |
NameFormatterHook.checkRelationTypeName(IRelation<?> relation,
java.lang.String defaultName)
Check the relation type name.
|
java.lang.String |
DefaultNameFormatter.format(IRelation<?> relation) |
java.lang.String |
NameFormatter.format(IRelation<?> relation)
Formats a name for a
IRelation . |
private static java.lang.StringBuilder |
DefaultNameFormatter.formatRelationNameAndType(IRelation<?> relation,
java.lang.StringBuilder result,
TaggingPreset preset) |
private static java.lang.String |
DefaultNameFormatter.getNameTagValue(IRelation<?> relation,
java.lang.String nameTag) |
private static java.lang.String |
DefaultNameFormatter.getRelationName(IRelation<?> relation) |
private static java.lang.String |
DefaultNameFormatter.getRelationTypeName(IRelation<?> relation) |
Modifier and Type | Method and Description |
---|---|
void |
PrimitiveVisitor.visit(IRelation<?> r)
Visiting call for relations.
|
void |
BoundingXYVisitor.visit(IRelation<?> r) |
Modifier and Type | Method and 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 restriction
|
void |
ComputeStyleListWorker.visit(IRelation<?> r) |
void |
WireframeMapRenderer.visit(IRelation<?> r)
Draw objects used in relations.
|
Modifier and Type | Field and Description |
---|---|
private javax.swing.JList<IRelation<?>> |
RelationListDialog.displaylist
The display list.
|
private java.util.List<IRelation<?>> |
RelationListDialog.RelationListModel.filteredRelations |
private java.util.List<IRelation<?>> |
RelationListDialog.RelationListModel.relations |
Modifier and Type | Method and Description |
---|---|
IRelation<?> |
RelationListDialog.RelationListModel.getElementAt(int index) |
private IRelation<?> |
RelationListDialog.getSelected() |
private IRelation<?> |
RelationListDialog.RelationListModel.getVisibleRelation(int index) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IRelation<?>> |
RelationListDialog.getSelectedRelations()
Replies the list of selected relations.
|
java.util.List<IRelation<?>> |
RelationListDialog.RelationListModel.getSelectedRelations()
Replies the list of selected relations.
|
private java.util.List<IRelation<?>> |
RelationListDialog.RelationListModel.getVisibleRelations() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
InspectPrimitiveDataText.addRelationMembers(IRelation<?> r) |
private java.lang.Integer |
RelationListDialog.RelationListModel.getVisibleRelationIndex(IRelation<?> rel) |
private boolean |
RelationListDialog.RelationListModel.isValid(IRelation<?> r) |
Modifier and Type | Method and Description |
---|---|
void |
RelationListDialog.selectRelations(java.util.Collection<? extends IRelation<?>> relations)
Selects the relations in the list of relations.
|
void |
RelationListDialog.RelationListModel.setRelations(java.util.Collection<? extends IRelation<?>> relations) |
void |
RelationListDialog.RelationListModel.setSelectedRelations(java.util.Collection<? extends IRelation<?>> sel)
Sets the selected relations.
|
Modifier and Type | Field and Description |
---|---|
private java.util.function.IntFunction<IRelation<?>> |
TaginfoAction.memberValueSupplier |
private java.util.function.IntFunction<IRelation<?>> |
HelpMembershipAction.memberValueSupplier |
Modifier and Type | Method and Description |
---|---|
IRelation<?> |
PropertiesDialog.getSelectedMembershipRelation()
Returns the selected relation membership.
|
Modifier and Type | Method and Description |
---|---|
static void |
HelpAction.displayRelationHelp(IRelation<?> rel)
Displays the most specific wiki page for the given relation.
|
Constructor and Description |
---|
HelpMembershipAction(javax.swing.JTable membershipTable,
java.util.function.IntFunction<IRelation<?>> memberValueSupplier)
Constructs a new
HelpAction . |
TaginfoAction(javax.swing.JTable tagTable,
java.util.function.IntFunction<java.lang.String> tagKeySupplier,
java.util.function.IntFunction<java.util.Map<java.lang.String,java.lang.Integer>> tagValuesSupplier,
javax.swing.JTable membershipTable,
java.util.function.IntFunction<IRelation<?>> memberValueSupplier)
Constructs a new
TaginfoAction . |
TaginfoAction(javax.swing.JTable tagTable,
java.util.function.IntFunction<java.lang.String> tagKeySupplier,
java.util.function.IntFunction<java.util.Map<java.lang.String,java.lang.Integer>> tagValuesSupplier,
javax.swing.JTable membershipTable,
java.util.function.IntFunction<IRelation<?>> memberValueSupplier,
java.lang.String taginfoUrl,
java.lang.String suffix)
Constructs a new
TaginfoAction with a given URL and optional name suffix. |
Modifier and Type | Method and Description |
---|---|
void |
Selector.ChildOrParentSelector.MatchingReferrerFinder.visit(IRelation<?> r) |
void |
Selector.ChildOrParentSelector.AbstractFinder.visit(IRelation<?> r) |
void |
Selector.ChildOrParentSelector.InsideOrEqualFinder.visit(IRelation<?> r) |
Modifier and Type | Method and Description |
---|---|
void |
OsmWriter.visit(IRelation<?> e) |