Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JOSM/josm
/ functions
Functions
24,633 in github.com/JOSM/josm
⨍
Functions
24,633
◇
Types & classes
4,058
↓ 93 callers
Method
run
()
test/unit/org/openstreetmap/josm/gui/dialogs/MinimapDialogTest.java:78
↓ 91 callers
Method
getCoor
Returns lat/lon coordinates of this node. @return lat/lon coordinates of this node
src/org/openstreetmap/josm/data/osm/INode.java:19
↓ 90 callers
Method
getComponent
()
src/org/openstreetmap/josm/gui/preferences/PreferenceTabbedPane.java:210
↓ 90 callers
Method
getInstance
Replies the unique instance of this formatter @return the unique instance of this formatter
src/org/openstreetmap/josm/data/osm/DefaultNameFormatter.java:72
↓ 90 callers
Method
next
()
src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSRuleIndex.java:54
↓ 89 callers
Method
check
(boolean expected, String name, double lat, double lon)
test/unit/org/openstreetmap/josm/tools/RightAndLefthandTrafficTest.java:125
↓ 89 callers
Method
getDescription
(Object o)
scripts/SyncEditorLayerIndex.java:1619
↓ 89 callers
Method
getWidth
Returns the bounds width. @return the bounds width
src/org/openstreetmap/josm/data/IBounds.java:115
↓ 88 callers
Method
getProjectionByCode
Get a projection by code. @param code the code, e.g. "EPSG:2026" @return the corresponding projection, if the code is known, null otherwise
src/org/openstreetmap/josm/data/projection/Projections.java:363
↓ 88 callers
Method
setNodes
(List<Node> nodes)
src/org/openstreetmap/josm/data/osm/Way.java:47
↓ 88 callers
Method
setOsmId
Sets the id and the version of this primitive if it is known to the OSM API. <p> Since we know the id and its version it can't be incomplete anymore.
src/org/openstreetmap/josm/data/osm/IPrimitive.java:275
↓ 87 callers
Method
fireTableDataChanged
()
src/org/openstreetmap/josm/gui/io/UploadDialogModel.java:38
↓ 87 callers
Method
getOsmApi
Replies the {@link OsmApi} for a given server URL @param serverUrl the server URL @return the OsmApi @throws IllegalArgumentException if serverUrl i
src/org/openstreetmap/josm/io/OsmApi.java:135
↓ 87 callers
Method
getPrimitives
Gets a filtered collection of primitives matching the given predicate. @param <T> The primitive type. @param predicate The predicate to match @return
src/org/openstreetmap/josm/data/osm/OsmData.java:137
↓ 85 callers
Method
isNew
Return if the setting has been marked as new. @return true, if the setting has been marked as new @see #setNew(boolean)
src/org/openstreetmap/josm/spi/preferences/Setting.java:85
↓ 84 callers
Method
accept
Reads the way nodes and tags. @param w way @param nodeIds collection of resulting node ids @throws IllegalDataException in case of invalid data
src/org/openstreetmap/josm/io/AbstractReader.java:642
↓ 84 callers
Method
getActiveDataSet
Gets the active data set (can be read-only). @return That data set, <code>null</code>. @see #getEditDataSet
src/org/openstreetmap/josm/data/osm/IOsmDataManager.java:38
↓ 84 callers
Method
isHeadless
(Invocation invocation)
test/unit/org/openstreetmap/josm/gui/io/SaveLayersDialogTest.java:165
↓ 83 callers
Method
invalidate
Can be used if method receives ProgressMonitor, but it's not interested progress monitoring. Basically replaces {@link #beginTask(String)} and {@link
src/org/openstreetmap/josm/gui/progress/ProgressMonitor.java:85
↓ 83 callers
Method
toRadians
Convert angle from degrees to radians. <p> Replacement for {@link Math#toRadians(double)} to match the Java 9 version of that method. (Can be removed
src/org/openstreetmap/josm/tools/Utils.java:1627
↓ 81 callers
Method
add
Adds an object whose history is to be loaded. @param pid the primitive id. Must not be null. Id > 0 required. @return this task
src/org/openstreetmap/josm/gui/history/HistoryLoadTask.java:89
↓ 81 callers
Method
getHeight
Returns the bounds width. @return the bounds width
src/org/openstreetmap/josm/data/IBounds.java:108
↓ 81 callers
Method
size
()
src/org/openstreetmap/josm/data/osm/TagMap.java:234
↓ 80 callers
Method
eastNorth2latlon
Convert from easting/norting to lat/lon. @param en the geographical point to convert (in projected coordinates) @return the corresponding lat/lon (WG
src/org/openstreetmap/josm/data/projection/Projection.java:33
↓ 80 callers
Method
getList
Get a list of values for a certain key @param key the identifier for the setting @param def the default value. @return the corresponding value if the
src/org/openstreetmap/josm/spi/preferences/IPreferences.java:157
↓ 80 callers
Method
register
Registers the given action as listener on the relation editor. @param editor The relation editor to register the listeners on @param action The action
src/org/openstreetmap/josm/gui/dialogs/relation/actions/IRelationEditorUpdateOn.java:42
↓ 79 callers
Method
addMouseListener
Do not let anyone add mouse listeners
src/org/openstreetmap/josm/gui/widgets/QuadStateCheckBox.java:96
↓ 79 callers
Method
destroy
Called when the object has been destroyed.
src/org/openstreetmap/josm/tools/Destroyable.java:19
↓ 79 callers
Method
setForeground
Sets the foreground color of the text. @param fg text color
src/org/openstreetmap/josm/gui/widgets/ImageLabel.java:62
↓ 78 callers
Method
escapeReservedCharactersHTML
Replaces some HTML reserved characters (<, > and &) by their equivalent entity (&lt;, &gt; and &amp;); @param s The unescaped st
src/org/openstreetmap/josm/tools/Utils.java:534
↓ 78 callers
Method
isDisplayingMapView
Replies true if JOSM currently displays a map view. False, if it doesn't, i.e. if it only shows the MOTD panel. <p> You do not need this when accessin
src/org/openstreetmap/josm/gui/MainApplication.java:526
↓ 78 callers
Method
putList
Set a list of values for a certain key. @param key the identifier for the setting @param value The new value @return {@code true}, if something has ch
src/org/openstreetmap/josm/spi/preferences/IPreferences.java:178
↓ 77 callers
Method
createOsmUser
Creates a user known to the OSM server @param uid the user id @param name the name @return a new OSM user with the given name and uid
src/org/openstreetmap/josm/data/osm/User.java:69
↓ 77 callers
Method
getMembers
()
src/org/openstreetmap/josm/data/osm/Relation.java:36
↓ 76 callers
Method
addChangeListener
Adds a {@code ChangeListener}. @param l the listener to add
src/org/openstreetmap/josm/gui/util/ChangeNotifier.java:28
↓ 76 callers
Method
show
Display the notification.
src/org/openstreetmap/josm/gui/Notification.java:212
↓ 75 callers
Method
genEnv
(OsmPrimitive primitive)
test/unit/org/openstreetmap/josm/gui/mappaint/mapcss/ConditionTest.java:242
↓ 75 callers
Method
getInvocationLog
@return an unmodifiable view of the internal invocation log. Each entry is an array of Objects to allow for more advanced implementations to be ab
test/unit/org/openstreetmap/josm/testutils/mockers/BaseDialogMockUp.java:24
↓ 75 callers
Method
getMy
()
src/org/openstreetmap/josm/data/conflict/Conflict.java:41
↓ 75 callers
Method
getProgressMonitor
Returns the progress monitor. @return The progress monitor
src/org/openstreetmap/josm/gui/SplashScreen.java:383
↓ 75 callers
Method
setVisible
Sets whether this primitive is visible, i.e. whether it is known on the server and not deleted on the server. @param visible {@code true} if this prim
src/org/openstreetmap/josm/data/osm/IPrimitive.java:67
↓ 74 callers
Method
getNodes
()
src/org/openstreetmap/josm/data/osm/DataSet.java:405
↓ 73 callers
Method
getNodesCount
()
src/org/openstreetmap/josm/data/osm/Way.java:95
↓ 73 callers
Method
getParent
Get the parent component to use when opening the wizard dialog. @return The component.
src/org/openstreetmap/josm/gui/download/overpass/OverpassWizardRegistration.java:89
↓ 73 callers
Method
getUrls
Get class that provides the value of certain URLs @return the global {@link IUrls} instance @since 14119
src/org/openstreetmap/josm/spi/preferences/Config.java:43
↓ 73 callers
Method
isUsable
Replies <code>true</code>, if the object is usable (i.e. complete and not deleted). @return <code>true</code>, if the object is usable. @see #setDele
src/org/openstreetmap/josm/data/osm/IPrimitive.java:115
↓ 72 callers
Method
getPath
()
src/org/openstreetmap/josm/gui/draw/MapViewPath.java:480
↓ 72 callers
Method
runInEDTAndWait
Executes synchronously a runnable in <a href="https://docs.oracle.com/javase/tutorial/uiswing/concurrency/dispatch.html">Event Dispatch Thread</a>. @p
src/org/openstreetmap/josm/gui/util/GuiHelper.java:223
↓ 71 callers
Method
getAction
Returns action. @return action
src/org/openstreetmap/josm/gui/preferences/ToolbarPreferences.java:150
↓ 71 callers
Method
getNodes
()
src/org/openstreetmap/josm/data/osm/Way.java:42
↓ 71 callers
Method
hasNext
()
src/org/openstreetmap/josm/tools/Utils.java:561
↓ 71 callers
Method
isLatLonKnown
Determines if this object has valid coordinates. @return {@code true} if this object has valid coordinates
src/org/openstreetmap/josm/data/coor/ILatLon.java:50
↓ 70 callers
Method
getMessage
()
src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSException.java:47
↓ 70 callers
Method
getRelations
()
src/org/openstreetmap/josm/data/osm/DataSet.java:460
↓ 70 callers
Method
name
(Set<Mode> mode)
src/org/openstreetmap/josm/actions/relation/ExportRelationToGpxAction.java:87
↓ 70 callers
Method
removeLayer
Remove the layer from the mapview. If the layer was in the list before, an LayerChange event is fired. @param layer The layer to remove
src/org/openstreetmap/josm/gui/layer/LayerManager.java:248
↓ 70 callers
Method
strip
An alternative to {@link String#trim()} to effectively remove all leading and trailing white characters, including Unicode ones. @param str The string
src/org/openstreetmap/josm/tools/Utils.java:738
↓ 69 callers
Method
getMenu
Returns the main menu, at top of screen. @return the main menu @since 12643 (as a replacement to {@code MainApplication.getMenu()})
src/org/openstreetmap/josm/gui/MainApplication.java:504
↓ 69 callers
Method
iterator
()
src/org/openstreetmap/josm/gui/mappaint/StyleElementList.java:52
↓ 69 callers
Method
newInstance
Constructs a new primitive instance (node, way or relation) without version. @param uniqueId the unique id @param allowNegative {@code true} to allow
src/org/openstreetmap/josm/data/osm/OsmPrimitiveType.java:124
↓ 69 callers
Method
visit
Enable usage of the visitor pattern. @param visitor the visitor
src/org/openstreetmap/josm/spi/preferences/Setting.java:40
↓ 68 callers
Method
roundToOsmPrecision
Returns the value rounded to OSM precisions, i.e. to {@link #MAX_SERVER_PRECISION}. @param value lat/lon value @return rounded value
src/org/openstreetmap/josm/data/coor/LatLon.java:259
↓ 68 callers
Method
setSelected
(Collection<? extends PrimitiveId> selection)
src/org/openstreetmap/josm/data/osm/DataSet.java:753
↓ 68 callers
Method
showDialog
Show the dialog to the user. Call this after you have set all options for the dialog. You can retrieve the result using {@link #getValue()}. @return {
src/org/openstreetmap/josm/gui/IExtendedDialog.java:95
↓ 67 callers
Method
lat
()
src/org/openstreetmap/josm/data/coor/LatLon.java:161
↓ 67 callers
Method
main
Returns the main (default) preferences instance. @return the main (default) preferences instance @since 14149
src/org/openstreetmap/josm/data/Preferences.java:187
↓ 66 callers
Method
getAttribute
Returns an attribute from the given DOM node. @param node DOM node @param name attribute name @return attribute value for the given attribute @since 1
src/org/openstreetmap/josm/io/OsmServerReader.java:391
↓ 66 callers
Method
join
Joins the given ways. @param ways Ways to join @since 7534
src/org/openstreetmap/josm/actions/JoinAreasAction.java:511
↓ 66 callers
Method
merge
Runs the merge operation. Successfully merged {@link OsmPrimitive}s are in {@link #getTargetDataSet()}. <p> See {@link #getConflicts()} for a map of c
src/org/openstreetmap/josm/data/osm/DataSetMerger.java:402
↓ 65 callers
Method
add
Add a rule to this index. This needs to be called before {@link #initIndex()} is called. @param rule The rule to add.
src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSRuleIndex.java:145
↓ 65 callers
Method
getRegressionDataStream
Gets input stream to given file in test data directory for given ticket id. @param ticketid Ticket numeric identifier @param filename File name @retur
test/unit/org/openstreetmap/josm/TestUtils.java:123
↓ 65 callers
Method
getUser
Replies the user who has last touched this object. May be null. @return the user who has last touched this object. May be null.
src/org/openstreetmap/josm/data/osm/IPrimitive.java:282
↓ 65 callers
Method
isCanceled
Returns true if the dialog was canceled @return true if the dialog was canceled
src/org/openstreetmap/josm/gui/io/IUploadDialog.java:19
↓ 65 callers
Method
lon
()
src/org/openstreetmap/josm/data/coor/LatLon.java:166
↓ 65 callers
Method
setContent
Sets the content that will be displayed in the message dialog. Note that depending on your other settings more UI elements may appear. The content is
src/org/openstreetmap/josm/gui/IExtendedDialog.java:49
↓ 64 callers
Method
cached
Creates a new {@link CachingProperty} instance for this property. @return The new caching property instance. @since 12983
src/org/openstreetmap/josm/data/preferences/AbstractProperty.java:238
↓ 64 callers
Method
count
Returns the number of elements in a list. @param lst the list @return length of the list
src/org/openstreetmap/josm/gui/mappaint/mapcss/Functions.java:145
↓ 64 callers
Method
getModel
Get the upload dialog model. @return The model. @since 18173
src/org/openstreetmap/josm/gui/io/UploadDialog.java:344
↓ 64 callers
Method
getPos
Returns the position value. The position value from the temporary copy is returned if that copy exists. @return the position value
src/org/openstreetmap/josm/gui/layer/geoimage/ImageMetadata.java:47
↓ 64 callers
Method
latlon2eastNorth
Convert from lat/lon to easting/northing. <p> This method exists to not break binary compatibility with old plugins @param ll the geographical point
src/org/openstreetmap/josm/data/projection/Projecting.java:29
↓ 63 callers
Method
getInViewX
Get the x coordinate in view space without creating an intermediate object. @return The x coordinate @since 10827
src/org/openstreetmap/josm/gui/MapViewState.java:465
↓ 63 callers
Method
getInstance
Replies the unique instance of the JOSM user identity manager @return the unique instance of the JOSM user identity manager
src/org/openstreetmap/josm/data/UserIdentityManager.java:67
↓ 63 callers
Method
matches
(HistoryOsmPrimitive primitive)
src/org/openstreetmap/josm/data/osm/history/History.java:26
↓ 63 callers
Method
next
()
src/org/openstreetmap/josm/data/osm/Storage.java:556
↓ 62 callers
Method
assumeWorkingEqualsVerifier
Use to assume that EqualsVerifier is working with the current JVM.
test/unit/org/openstreetmap/josm/TestUtils.java:494
↓ 62 callers
Method
executeCommand
()
test/unit/org/openstreetmap/josm/command/SequenceCommandTest.java:61
↓ 62 callers
Method
getContentPane
Returns {@link MainApplication#contentPanePrivate} (not public). @return {@link MainApplication#contentPanePrivate}
test/unit/org/openstreetmap/josm/gui/MainApplicationTest.java:92
↓ 62 callers
Method
getPlatform
Returns the current platform hook. @return the current platform hook
src/org/openstreetmap/josm/tools/PlatformManager.java:23
↓ 62 callers
Method
getUrl
Replies the current URL. @return the current URL
src/org/openstreetmap/josm/gui/help/IHelpBrowser.java:14
↓ 62 callers
Method
setPreferredWidth
Sets preferred width of specified columns. @param width the new width @param indexes indexes of columns to setup @return {@code this} @see TableColumn
src/org/openstreetmap/josm/gui/tagging/TagTableColumnModelBuilder.java:60
↓ 61 callers
Method
ensureThat
Ensures that the condition {@code condition} holds. @param condition The condition to check @param message error message @throws IllegalArgumentExcept
src/org/openstreetmap/josm/tools/CheckParameterUtil.java:47
↓ 61 callers
Method
getDefault
Get the default value for the Enum @return The default value
src/org/openstreetmap/josm/data/sources/ICommonSource.java:18
↓ 61 callers
Method
getEditor
Get the current relation editor @return The relation editor object.
src/org/openstreetmap/josm/gui/dialogs/relation/actions/IRelationEditorActionAccess.java:64
↓ 61 callers
Method
getInViewY
Get the y coordinate in view space without creating an intermediate object. @return The y coordinate @since 10827
src/org/openstreetmap/josm/gui/MapViewState.java:472
↓ 61 callers
Method
getMemberTableModel
Get the model the member table is using. @return That model
src/org/openstreetmap/josm/gui/dialogs/relation/actions/IRelationEditorActionAccess.java:46
↓ 61 callers
Method
getSystemProperty
Gets the system property indicated by the specified key. @param key the name of the system property. @return the string value of the system property;
src/org/openstreetmap/josm/tools/Utils.java:1409
↓ 61 callers
Method
print
Prints the object to the command line (for debugging purpose). @param o the object @return the same object, unchanged
src/org/openstreetmap/josm/gui/mappaint/mapcss/Functions.java:1268
↓ 60 callers
Method
compareTo
(IPrimitive o)
src/org/openstreetmap/josm/data/osm/IWay.java:97
↓ 60 callers
Method
get
Returns the Object value to which the specified key is mapped, or {@code null} if this map contains no mapping for the key. @param key the key whose
src/org/openstreetmap/josm/data/gpx/IWithAttributes.java:19
↓ 60 callers
Method
getDescription
Returns the description of this category. @return the description of this category
src/org/openstreetmap/josm/data/sources/ISourceCategory.java:27
← previous
next →
201–300 of 24,633, ranked by callers