MCPcopy Create free account

hub / github.com/JOSM/josm / functions

Functions24,633 in github.com/JOSM/josm

↓ 93 callersMethodrun
()
test/unit/org/openstreetmap/josm/gui/dialogs/MinimapDialogTest.java:78
↓ 91 callersMethodgetCoor
Returns lat/lon coordinates of this node. @return lat/lon coordinates of this node
src/org/openstreetmap/josm/data/osm/INode.java:19
↓ 90 callersMethodgetComponent
()
src/org/openstreetmap/josm/gui/preferences/PreferenceTabbedPane.java:210
↓ 90 callersMethodgetInstance
Replies the unique instance of this formatter @return the unique instance of this formatter
src/org/openstreetmap/josm/data/osm/DefaultNameFormatter.java:72
↓ 90 callersMethodnext
()
src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSRuleIndex.java:54
↓ 89 callersMethodcheck
(boolean expected, String name, double lat, double lon)
test/unit/org/openstreetmap/josm/tools/RightAndLefthandTrafficTest.java:125
↓ 89 callersMethodgetDescription
(Object o)
scripts/SyncEditorLayerIndex.java:1619
↓ 89 callersMethodgetWidth
Returns the bounds width. @return the bounds width
src/org/openstreetmap/josm/data/IBounds.java:115
↓ 88 callersMethodgetProjectionByCode
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 callersMethodsetNodes
(List<Node> nodes)
src/org/openstreetmap/josm/data/osm/Way.java:47
↓ 88 callersMethodsetOsmId
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 callersMethodfireTableDataChanged
()
src/org/openstreetmap/josm/gui/io/UploadDialogModel.java:38
↓ 87 callersMethodgetOsmApi
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 callersMethodgetPrimitives
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 callersMethodisNew
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 callersMethodaccept
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 callersMethodgetActiveDataSet
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 callersMethodisHeadless
(Invocation invocation)
test/unit/org/openstreetmap/josm/gui/io/SaveLayersDialogTest.java:165
↓ 83 callersMethodinvalidate
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 callersMethodtoRadians
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 callersMethodadd
Adds an object whose history is to be loaded. @param pid the primitive id. Must not be null. Id &gt; 0 required. @return this task
src/org/openstreetmap/josm/gui/history/HistoryLoadTask.java:89
↓ 81 callersMethodgetHeight
Returns the bounds width. @return the bounds width
src/org/openstreetmap/josm/data/IBounds.java:108
↓ 81 callersMethodsize
()
src/org/openstreetmap/josm/data/osm/TagMap.java:234
↓ 80 callersMethodeastNorth2latlon
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 callersMethodgetList
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 callersMethodregister
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 callersMethodaddMouseListener
Do not let anyone add mouse listeners
src/org/openstreetmap/josm/gui/widgets/QuadStateCheckBox.java:96
↓ 79 callersMethoddestroy
Called when the object has been destroyed.
src/org/openstreetmap/josm/tools/Destroyable.java:19
↓ 79 callersMethodsetForeground
Sets the foreground color of the text. @param fg text color
src/org/openstreetmap/josm/gui/widgets/ImageLabel.java:62
↓ 78 callersMethodescapeReservedCharactersHTML
Replaces some HTML reserved characters (&lt;, &gt; and &amp;) by their equivalent entity (&amp;lt;, &amp;gt; and &amp;amp;); @param s The unescaped st
src/org/openstreetmap/josm/tools/Utils.java:534
↓ 78 callersMethodisDisplayingMapView
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 callersMethodputList
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 callersMethodcreateOsmUser
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 callersMethodgetMembers
()
src/org/openstreetmap/josm/data/osm/Relation.java:36
↓ 76 callersMethodaddChangeListener
Adds a {@code ChangeListener}. @param l the listener to add
src/org/openstreetmap/josm/gui/util/ChangeNotifier.java:28
↓ 76 callersMethodshow
Display the notification.
src/org/openstreetmap/josm/gui/Notification.java:212
↓ 75 callersMethodgenEnv
(OsmPrimitive primitive)
test/unit/org/openstreetmap/josm/gui/mappaint/mapcss/ConditionTest.java:242
↓ 75 callersMethodgetInvocationLog
@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 callersMethodgetMy
()
src/org/openstreetmap/josm/data/conflict/Conflict.java:41
↓ 75 callersMethodgetProgressMonitor
Returns the progress monitor. @return The progress monitor
src/org/openstreetmap/josm/gui/SplashScreen.java:383
↓ 75 callersMethodsetVisible
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 callersMethodgetNodes
()
src/org/openstreetmap/josm/data/osm/DataSet.java:405
↓ 73 callersMethodgetNodesCount
()
src/org/openstreetmap/josm/data/osm/Way.java:95
↓ 73 callersMethodgetParent
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 callersMethodgetUrls
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 callersMethodisUsable
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 callersMethodgetPath
()
src/org/openstreetmap/josm/gui/draw/MapViewPath.java:480
↓ 72 callersMethodrunInEDTAndWait
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 callersMethodgetAction
Returns action. @return action
src/org/openstreetmap/josm/gui/preferences/ToolbarPreferences.java:150
↓ 71 callersMethodgetNodes
()
src/org/openstreetmap/josm/data/osm/Way.java:42
↓ 71 callersMethodhasNext
()
src/org/openstreetmap/josm/tools/Utils.java:561
↓ 71 callersMethodisLatLonKnown
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 callersMethodgetMessage
()
src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSException.java:47
↓ 70 callersMethodgetRelations
()
src/org/openstreetmap/josm/data/osm/DataSet.java:460
↓ 70 callersMethodname
(Set<Mode> mode)
src/org/openstreetmap/josm/actions/relation/ExportRelationToGpxAction.java:87
↓ 70 callersMethodremoveLayer
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 callersMethodstrip
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 callersMethodgetMenu
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 callersMethoditerator
()
src/org/openstreetmap/josm/gui/mappaint/StyleElementList.java:52
↓ 69 callersMethodnewInstance
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 callersMethodvisit
Enable usage of the visitor pattern. @param visitor the visitor
src/org/openstreetmap/josm/spi/preferences/Setting.java:40
↓ 68 callersMethodroundToOsmPrecision
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 callersMethodsetSelected
(Collection<? extends PrimitiveId> selection)
src/org/openstreetmap/josm/data/osm/DataSet.java:753
↓ 68 callersMethodshowDialog
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 callersMethodlat
()
src/org/openstreetmap/josm/data/coor/LatLon.java:161
↓ 67 callersMethodmain
Returns the main (default) preferences instance. @return the main (default) preferences instance @since 14149
src/org/openstreetmap/josm/data/Preferences.java:187
↓ 66 callersMethodgetAttribute
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 callersMethodjoin
Joins the given ways. @param ways Ways to join @since 7534
src/org/openstreetmap/josm/actions/JoinAreasAction.java:511
↓ 66 callersMethodmerge
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 callersMethodadd
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 callersMethodgetRegressionDataStream
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 callersMethodgetUser
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 callersMethodisCanceled
Returns true if the dialog was canceled @return true if the dialog was canceled
src/org/openstreetmap/josm/gui/io/IUploadDialog.java:19
↓ 65 callersMethodlon
()
src/org/openstreetmap/josm/data/coor/LatLon.java:166
↓ 65 callersMethodsetContent
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 callersMethodcached
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 callersMethodcount
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 callersMethodgetModel
Get the upload dialog model. @return The model. @since 18173
src/org/openstreetmap/josm/gui/io/UploadDialog.java:344
↓ 64 callersMethodgetPos
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 callersMethodlatlon2eastNorth
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 callersMethodgetInViewX
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 callersMethodgetInstance
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 callersMethodmatches
(HistoryOsmPrimitive primitive)
src/org/openstreetmap/josm/data/osm/history/History.java:26
↓ 63 callersMethodnext
()
src/org/openstreetmap/josm/data/osm/Storage.java:556
↓ 62 callersMethodassumeWorkingEqualsVerifier
Use to assume that EqualsVerifier is working with the current JVM.
test/unit/org/openstreetmap/josm/TestUtils.java:494
↓ 62 callersMethodexecuteCommand
()
test/unit/org/openstreetmap/josm/command/SequenceCommandTest.java:61
↓ 62 callersMethodgetContentPane
Returns {@link MainApplication#contentPanePrivate} (not public). @return {@link MainApplication#contentPanePrivate}
test/unit/org/openstreetmap/josm/gui/MainApplicationTest.java:92
↓ 62 callersMethodgetPlatform
Returns the current platform hook. @return the current platform hook
src/org/openstreetmap/josm/tools/PlatformManager.java:23
↓ 62 callersMethodgetUrl
Replies the current URL. @return the current URL
src/org/openstreetmap/josm/gui/help/IHelpBrowser.java:14
↓ 62 callersMethodsetPreferredWidth
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 callersMethodensureThat
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 callersMethodgetDefault
Get the default value for the Enum @return The default value
src/org/openstreetmap/josm/data/sources/ICommonSource.java:18
↓ 61 callersMethodgetEditor
Get the current relation editor @return The relation editor object.
src/org/openstreetmap/josm/gui/dialogs/relation/actions/IRelationEditorActionAccess.java:64
↓ 61 callersMethodgetInViewY
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 callersMethodgetMemberTableModel
Get the model the member table is using. @return That model
src/org/openstreetmap/josm/gui/dialogs/relation/actions/IRelationEditorActionAccess.java:46
↓ 61 callersMethodgetSystemProperty
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 callersMethodprint
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 callersMethodcompareTo
(IPrimitive o)
src/org/openstreetmap/josm/data/osm/IWay.java:97
↓ 60 callersMethodget
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 callersMethodgetDescription
Returns the description of this category. @return the description of this category
src/org/openstreetmap/josm/data/sources/ISourceCategory.java:27
← previousnext →201–300 of 24,633, ranked by callers