Uses of Class
org.openstreetmap.josm.data.osm.history.HistoryOsmPrimitive
-
Packages that use HistoryOsmPrimitive Package Description org.openstreetmap.josm.data.osm Provides the classes for OSM data:Primitives:Node,Way,RelationUsersTagsChangesetsUtilities classesorg.openstreetmap.josm.data.osm.history Provides the classes for OSM primitiveshistory(edition revisions).org.openstreetmap.josm.gui Provides the classes for JOSM graphical user interface.org.openstreetmap.josm.gui.dialogs.changeset Standalone dialog allowing to handle OSM changesets (query and display them).org.openstreetmap.josm.gui.history Provides GUI classes for handling history of OSM objects.org.openstreetmap.josm.io Provides the classes for JOSM input/output support. -
-
Uses of HistoryOsmPrimitive in org.openstreetmap.josm.data.osm
Fields in org.openstreetmap.josm.data.osm declared as HistoryOsmPrimitive Modifier and Type Field Description private HistoryOsmPrimitiveChangesetDataSet.DefaultChangesetDataSetEntry. primitiveMethods in org.openstreetmap.josm.data.osm that return HistoryOsmPrimitive Modifier and Type Method Description HistoryOsmPrimitiveChangesetDataSet.ChangesetDataSetEntry. getPrimitive()Returns the affected history primitive.HistoryOsmPrimitiveChangesetDataSet.DefaultChangesetDataSetEntry. getPrimitive()HistoryOsmPrimitiveChangesetDataSet. getPrimitive(PrimitiveId id)Replies theHistoryOsmPrimitivewith ididfrom this dataset.Methods in org.openstreetmap.josm.data.osm with parameters of type HistoryOsmPrimitive Modifier and Type Method Description java.lang.StringDefaultNameFormatter. buildDefaultToolTip(HistoryOsmPrimitive primitive)Builds a default tooltip text for an HistoryOsmPrimitiveprimitive.protected voidDefaultNameFormatter. decorateNameWithId(java.lang.StringBuilder name, HistoryOsmPrimitive primitive)Decorates the name of primitive with its id, if the preferenceosm-primitives.showidis set.private static java.lang.StringDefaultNameFormatter. formatLocalName(HistoryOsmPrimitive osm)voidChangesetDataSet. put(HistoryOsmPrimitive primitive, ChangesetDataSet.ChangesetModificationType cmt)Remembers a history primitive with the given modification typeConstructors in org.openstreetmap.josm.data.osm with parameters of type HistoryOsmPrimitive Constructor Description DefaultChangesetDataSetEntry(ChangesetDataSet.ChangesetModificationType modificationType, HistoryOsmPrimitive primitive)Construct new entry. -
Uses of HistoryOsmPrimitive in org.openstreetmap.josm.data.osm.history
Subclasses of HistoryOsmPrimitive in org.openstreetmap.josm.data.osm.history Modifier and Type Class Description classHistoryNodeRepresents an immutable OSM node in the context of a historical view on OSM data.classHistoryRelationRepresents an immutable OSM relation in the context of a historical view on OSM data.classHistoryWayRepresents an immutable OSM way in the context of a historical view on OSM data.Fields in org.openstreetmap.josm.data.osm.history with type parameters of type HistoryOsmPrimitive Modifier and Type Field Description private java.util.Map<PrimitiveId,java.util.ArrayList<HistoryOsmPrimitive>>HistoryDataSet. datathe history dataprivate java.util.List<HistoryOsmPrimitive>History. versionsthe list of object snapshotsMethods in org.openstreetmap.josm.data.osm.history that return HistoryOsmPrimitive Modifier and Type Method Description static HistoryOsmPrimitiveHistoryOsmPrimitive. forOsmPrimitive(OsmPrimitive p)HistoryOsmPrimitiveHistory. get(int idx)Replies the history primitive at indexidx.HistoryOsmPrimitiveHistoryDataSet. get(long id, OsmPrimitiveType type, long version)Replies the history primitive for the primitive with ididand versionversion.HistoryOsmPrimitiveHistory. getByDate(java.time.Instant date)Replies the history primitive at givendate.HistoryOsmPrimitiveHistory. getByVersion(long version)Replies the history primitive with versionversion.HistoryOsmPrimitiveHistory. getEarliest()Replies the earliest entry of this history.HistoryOsmPrimitiveHistory. getLatest()Replies the latest entry of this history.HistoryOsmPrimitiveHistory. getWhichChangedTag(HistoryOsmPrimitive primitive, java.lang.String key, boolean isLatest)Replies the history primitive which changed the given key.Methods in org.openstreetmap.josm.data.osm.history with parameters of type HistoryOsmPrimitive Modifier and Type Method Description intHistoryOsmPrimitive. compareTo(HistoryOsmPrimitive o)HistoryOsmPrimitiveHistory. getWhichChangedTag(HistoryOsmPrimitive primitive, java.lang.String key, boolean isLatest)Replies the history primitive which changed the given key.booleanHistory.FilterPredicate. matches(HistoryOsmPrimitive primitive)voidHistoryDataSet. put(HistoryOsmPrimitive primitive)Adds a history primitive to the data setConstructor parameters in org.openstreetmap.josm.data.osm.history with type arguments of type HistoryOsmPrimitive Constructor Description History(long id, OsmPrimitiveType type, java.util.List<HistoryOsmPrimitive> versions)Creates a new history for an OSM primitive. -
Uses of HistoryOsmPrimitive in org.openstreetmap.josm.gui
Methods in org.openstreetmap.josm.gui with parameters of type HistoryOsmPrimitive Modifier and Type Method Description private java.awt.ComponentPrimitiveRenderer. renderer(java.awt.Component def, HistoryOsmPrimitive value)Internal method that stuffs information into the rendering component provided that it's a kind of JLabel. -
Uses of HistoryOsmPrimitive in org.openstreetmap.josm.gui.dialogs.changeset
Fields in org.openstreetmap.josm.gui.dialogs.changeset declared as HistoryOsmPrimitive Modifier and Type Field Description private HistoryOsmPrimitiveChangesetContentTableModel.ChangesetContentEntry. primitiveMethods in org.openstreetmap.josm.gui.dialogs.changeset that return HistoryOsmPrimitive Modifier and Type Method Description HistoryOsmPrimitiveChangesetContentTableModel.ChangesetContentEntry. getPrimitive()Methods in org.openstreetmap.josm.gui.dialogs.changeset that return types with arguments of type HistoryOsmPrimitive Modifier and Type Method Description private java.util.Set<HistoryOsmPrimitive>ChangesetContentPanel. getSelectedPrimitives()java.util.Set<HistoryOsmPrimitive>ChangesetContentTableModel. getSelectedPrimitives(javax.swing.JTable table)Returns the selected history primitives.Method parameters in org.openstreetmap.josm.gui.dialogs.changeset with type arguments of type HistoryOsmPrimitive Modifier and Type Method Description private voidChangesetContentPanel. alertNoPrimitivesTo(java.util.Collection<HistoryOsmPrimitive> primitives, java.lang.String title, java.lang.String helpTopic)Constructors in org.openstreetmap.josm.gui.dialogs.changeset with parameters of type HistoryOsmPrimitive Constructor Description ChangesetContentEntry(ChangesetDataSet.ChangesetModificationType modificationType, HistoryOsmPrimitive primitive) -
Uses of HistoryOsmPrimitive in org.openstreetmap.josm.gui.history
Fields in org.openstreetmap.josm.gui.history declared as HistoryOsmPrimitive Modifier and Type Field Description private HistoryOsmPrimitiveHistoryBrowserModel.HistoryPrimitiveBuilder. cloneprivate HistoryOsmPrimitiveHistoryBrowserModel. currentprivate HistoryOsmPrimitiveHistoryBrowserModel. latestlatest isn't a reference of history.private HistoryOsmPrimitiveVersionTable.ChangesetInfoAction. primitiveprivate HistoryOsmPrimitiveVersionTable.UserInfoAction. primitiveprivate HistoryOsmPrimitiveHistoryBrowserModel. referenceMethods in org.openstreetmap.josm.gui.history that return HistoryOsmPrimitive Modifier and Type Method Description (package private) HistoryOsmPrimitiveHistoryBrowserModel.HistoryPrimitiveBuilder. build(OsmPrimitive primitive)HistoryOsmPrimitiveHistoryBrowserModel. getCurrentPointInTime()Replies the history OSM primitive for thePointInTimeType.CURRENT_POINT_IN_TIMEHistoryOsmPrimitiveHistoryBrowserModel. getLatest()Returns the latestHistoryOsmPrimitive.protected HistoryOsmPrimitiveCoordinateInfoViewer.Updater. getOppositePrimitive()HistoryOsmPrimitiveHistoryBrowserModel. getPointInTime(PointInTimeType type)replies the history OSM primitive for a given point in timeprotected HistoryOsmPrimitiveCoordinateInfoViewer.Updater. getPrimitive()HistoryOsmPrimitiveHistoryBrowserModel. getPrimitive(int row)Returns theHistoryPrimitiveat the given row.protected HistoryOsmPrimitiveVersionInfoPanel. getPrimitive()HistoryOsmPrimitiveHistoryBrowserModel. getReferencePointInTime()Replies the history OSM primitive for thePointInTimeType.REFERENCE_POINT_IN_TIMEHistoryOsmPrimitiveTagTableModel. getWhichChangedTag(java.lang.String key)Returns the history primitive which changed the given key.Methods in org.openstreetmap.josm.gui.history with parameters of type HistoryOsmPrimitive Modifier and Type Method Description HistoryLoadTaskHistoryLoadTask. add(HistoryOsmPrimitive primitive)Adds an object to be loaded, the object is specified by a history item.java.awt.ColorHistoryBrowserModel. getVersionColor(HistoryOsmPrimitive primitive)Returns the color for the given primitive timestampjava.awt.ColorTagTableModel. getVersionColor(HistoryOsmPrimitive primitive)Returns the color for the given primitive timestampjava.lang.StringTagTableModel. getVersionString(HistoryOsmPrimitive primitive)Returns a version string for the given primitive,"*"if it is is latest.booleanHistoryBrowserModel. isLatest(HistoryOsmPrimitive primitive)Returns true ifprimitiveis the latest primitive representing the version currently edited in the current data layer.voidVersionTable.ChangesetInfoAction. prepare(HistoryOsmPrimitive primitive)voidVersionTable.UserInfoAction. prepare(HistoryOsmPrimitive primitive)voidVersionTable.VersionTablePopupMenu. prepare(HistoryOsmPrimitive primitive)voidHistoryBrowserModel. setCurrentPointInTime(HistoryOsmPrimitive current)Sets theHistoryOsmPrimitivewhich plays the role of the current point in time (seePointInTimeType).protected voidHistoryBrowserModel. setLatest(HistoryOsmPrimitive latest)Sets the latestHistoryOsmPrimitive.voidHistoryBrowserModel. setReferencePointInTime(HistoryOsmPrimitive reference)Sets theHistoryOsmPrimitivewhich plays the role of a reference point in time (seePointInTimeType). -
Uses of HistoryOsmPrimitive in org.openstreetmap.josm.io
Fields in org.openstreetmap.josm.io declared as HistoryOsmPrimitive Modifier and Type Field Description protected HistoryOsmPrimitiveAbstractParser. currentPrimitivethe current primitive to be readMethods in org.openstreetmap.josm.io that return HistoryOsmPrimitive Modifier and Type Method Description protected HistoryOsmPrimitiveAbstractParser. createPrimitive(org.xml.sax.Attributes atts, OsmPrimitiveType type)
-