MCPcopy Create free account

hub / github.com/JOSM/josm / functions

Functions24,633 in github.com/JOSM/josm

↓ 41 callersMethodassertSwitch
(Tag oldTag, Tag newTag)
test/unit/org/openstreetmap/josm/actions/corrector/ReverseWayTagCorrectorTest.java:98
↓ 41 callersMethodcancel
Abort current operation, usually called when user somehow requested an abort
src/org/openstreetmap/josm/gui/progress/ProgressMonitor.java:158
↓ 41 callersMethodgetConflicts
replies the map of conflicts @return the map of conflicts
src/org/openstreetmap/josm/data/osm/DataSetMerger.java:519
↓ 41 callersMethodgetEnvironment
(String key, String value)
test/unit/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSParserTest.java:53
↓ 41 callersMethodgetLayersOfType
Replies an unmodifiable list of layers of a certain type. <p> Example: <pre> List&lt;WMSLayer&gt; wmsLayers = getLayersOfType(WMSLayer.class); </p
src/org/openstreetmap/josm/gui/layer/LayerManager.java:375
↓ 41 callersMethodisDebugEnabled
Determines if debug log level is enabled. Useful to avoid costly construction of debug messages when not enabled. @return {@code true} if log level is
src/org/openstreetmap/josm/tools/Logging.java:405
↓ 41 callersMethodputPref
(String key, Object value)
src/org/openstreetmap/josm/gui/preferences/display/GPXSettingsPanel.java:330
↓ 40 callersMethodadd
Add new style records for the given node. @param osm node @param flags flags @since 13810 (signature)
src/org/openstreetmap/josm/data/osm/visitor/paint/ComputeStyleListWorker.java:157
↓ 40 callersMethodadd
(Action a)
src/org/openstreetmap/josm/gui/widgets/ListPopupMenu.java:26
↓ 40 callersMethodaddShortAlias
Adds an alias for the long option --optionName to the short version -name @param optionName The long option @param shortName The short version @return
src/org/openstreetmap/josm/tools/OptionParser.java:42
↓ 40 callersMethodappendText
Execute this template by generating text for a given data provider. @param result the {@link StringBuilder} to append the text to @param dataProvider
src/org/openstreetmap/josm/tools/template_engine/TemplateEntry.java:29
↓ 40 callersMethodcompare
(String s1, String s2)
src/org/openstreetmap/josm/tools/AlphanumComparator.java:216
↓ 40 callersMethodgetDouble
Gets a double preference @param key The preference key @param def The default value to use @return The double value or the default value if it could n
src/org/openstreetmap/josm/spi/preferences/IPreferences.java:139
↓ 40 callersMethodgetHost
Replies the host name of the server URL. @return the host name of the server URL, or null if the server URL is malformed.
src/org/openstreetmap/josm/io/OsmApi.java:199
↓ 40 callersMethodgetX
Returns the x position. @return the x position
src/org/openstreetmap/josm/gui/layer/imagery/TilePosition.java:39
↓ 40 callersMethodgetY
Returns the y position. @return the y position
src/org/openstreetmap/josm/gui/layer/imagery/TilePosition.java:47
↓ 40 callersMethodsetActiveLayer
Set the active layer, unless the layer is being uploaded. If the layer is an OsmDataLayer, the edit layer is also changed. @param layer The active lay
src/org/openstreetmap/josm/gui/layer/MainLayerManager.java:269
↓ 40 callersMethodsetEnabled
(JCheckBox cb)
src/org/openstreetmap/josm/gui/layer/geoimage/AdvancedCorrelationSettingsDialog.java:235
↓ 40 callersMethodsubTask
Normal subtask @param title Can be {@code null}, in that case task title is not changed
src/org/openstreetmap/josm/gui/progress/ProgressMonitor.java:127
↓ 40 callersMethodvalues
()
src/org/openstreetmap/josm/data/osm/Storage.java:492
↓ 39 callersMethodfillRect
(int x, int y, int width, int height)
test/unit/org/openstreetmap/josm/testutils/FakeGraphics.java:91
↓ 39 callersMethodfind
Finds the item that matches string. <p> Looks in the model for an element whose {@code toString()} matches {@code s}. @param s The string to match. @
src/org/openstreetmap/josm/gui/widgets/JosmComboBoxModel.java:248
↓ 39 callersMethodfrom
Determines the OSM primitive type of the given object. @param obj the OSM object to inspect @return the OSM primitive type of {@code obj} @throws Ille
src/org/openstreetmap/josm/data/osm/OsmPrimitiveType.java:90
↓ 39 callersMethodgetDeclaredField
(String name)
src/org/openstreetmap/josm/gui/widgets/JosmImageView.java:53
↓ 39 callersMethodgetDisplayName
(NameFormatter formatter)
src/org/openstreetmap/josm/data/osm/IWay.java:104
↓ 39 callersMethodgetInstant
Time of last modification to this object. This is not set by JOSM but read from the server and delivered back to the server unmodified. It is used to
src/org/openstreetmap/josm/data/osm/IPrimitive.java:299
↓ 39 callersMethodgetSelectedImages
Return the current selected images @return the selected images as list {@link ImageEntry} @since 15333
src/org/openstreetmap/josm/data/ImageData.java:132
↓ 39 callersMethodhasNext
()
src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSRuleIndex.java:49
↓ 39 callersMethoditerator
()
src/org/openstreetmap/josm/data/gpx/Line.java:83
↓ 39 callersMethodmax
Helper function to calculate maximum of 4 values. @param a First value @param b Second value @param c Third value @param d Fourth value @return maxim
src/org/openstreetmap/josm/data/osm/visitor/paint/WireframeMapRenderer.java:230
↓ 39 callersMethodtestgetCharactersForKeyE00
(String locale, Character... expected)
test/unit/org/openstreetmap/josm/tools/KeyboardUtilsTest.java:98
↓ 38 callersMethodcreate
Creates a new {@code TaggingPresetItemGuiSupport} @param presetInitiallyMatches whether the preset initially matched @param selected the selected pri
src/org/openstreetmap/josm/gui/tagging/presets/TaggingPresetItemGuiSupport.java:107
↓ 38 callersMethoddraw
(Shape s)
test/unit/org/openstreetmap/josm/testutils/FakeGraphics.java:333
↓ 38 callersMethodgetEditLayer
()
src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmTask.java:266
↓ 38 callersMethodgetPointFor
Gets the {@link MapViewPoint} for the given {@link EastNorth} coordinate. @param eastNorth the position. @return The point for that position.
src/org/openstreetmap/josm/gui/MapViewState.java:198
↓ 38 callersMethodgetRelation
Replies the currently edited relation @return the currently edited relation
src/org/openstreetmap/josm/gui/dialogs/relation/IRelationEditor.java:18
↓ 38 callersMethodisWay
Determines if this relation member is a way. @return True if member is way
src/org/openstreetmap/josm/data/osm/IRelationMember.java:46
↓ 38 callersMethodreadBytes
(InputStream in, byte[] b)
src/org/openstreetmap/josm/data/projection/datum/NTV2SubGrid.java:155
↓ 37 callersMethodgetFile
Returns associated file. @return associated file
src/org/openstreetmap/josm/data/imagery/street_level/IImageEntry.java:185
↓ 37 callersMethodgetInstance
Replies the unique instance of the cache @return the unique instance of the cache
src/org/openstreetmap/josm/data/osm/ChangesetCache.java:60
↓ 37 callersMethodgetOneImage
()
test/unit/org/openstreetmap/josm/data/ImageDataTest.java:36
↓ 37 callersMethodgetParentWays
Replies the list of referring ways. @return the list of referring ways @since 12031
src/org/openstreetmap/josm/data/osm/Node.java:365
↓ 37 callersMethodgetSegments
Returns the track segments. @return the track segments
src/org/openstreetmap/josm/data/gpx/IGpxTrack.java:19
↓ 37 callersMethodnewNode
Creates a new node with the given tags (see {@link OsmUtils#createPrimitive(java.lang.String)}) @param tags the tags to set @return a new node
test/unit/org/openstreetmap/josm/TestUtils.java:399
↓ 37 callersMethodpopulate
(Conflict<? extends OsmPrimitive> conflict)
src/org/openstreetmap/josm/gui/conflict/pair/IConflictResolver.java:16
↓ 37 callersMethodworked
Increase number of already done work units by ticks @param ticks number of ticks to add
src/org/openstreetmap/josm/gui/progress/ProgressMonitor.java:115
↓ 37 callersMethodwriteUnlock
(boolean locked)
src/org/openstreetmap/josm/data/osm/OsmPrimitive.java:223
↓ 36 callersMethodaddListener
Add a listener that listens to changes in the GPX track. @param l The listener
src/org/openstreetmap/josm/data/gpx/IGpxTrack.java:53
↓ 36 callersMethodevaluate
Evaluate this expression. @param env The environment @return the result of the evaluation, can be a {@link java.util.List}, String or any primitive ty
src/org/openstreetmap/josm/gui/mappaint/mapcss/Expression.java:22
↓ 36 callersMethodgetInstance
Get the instance to test @return The item to test
test/unit/org/openstreetmap/josm/gui/tagging/presets/TaggingPresetItemTest.java:21
↓ 36 callersMethodgetInstance
Replies the unique instance of the version information @return the unique instance of the version information
src/org/openstreetmap/josm/data/Version.java:33
↓ 36 callersMethodgetProperty
Get the color property @return The property that is used to access the color. @since 10874
src/org/openstreetmap/josm/data/osm/visitor/paint/PaintColors.java:120
↓ 36 callersMethodgetX
(final double x, final double y, final double z)
test/unit/org/openstreetmap/josm/gui/util/imagery/Vector3DTest.java:30
↓ 36 callersMethodgetY
(final double x, final double y, final double z)
test/unit/org/openstreetmap/josm/gui/util/imagery/Vector3DTest.java:37
↓ 36 callersMethodsize
Get the list size @return The list size
src/org/openstreetmap/josm/gui/mappaint/StyleElementList.java:69
↓ 36 callersMethodstartTest
Start the test using a given progress monitor @param progressMonitor the progress monitor
src/org/openstreetmap/josm/data/validation/Test.java:163
↓ 35 callersMethodaddArgumentParameter
Add a parameter that expects a string attribute. E.g.: --config=/path/to/file @param optionName The name of the parameter. @param count The number of
src/org/openstreetmap/josm/tools/OptionParser.java:87
↓ 35 callersMethodconnect
Opens the HTTP connection. @return HTTP response @throws IOException if any I/O error occurs
src/org/openstreetmap/josm/tools/HttpClient.java:124
↓ 35 callersMethodgetEditorComponent
Returns the editor component @return the editor component @see ComboBoxEditor#getEditorComponent() @since 9484
src/org/openstreetmap/josm/gui/widgets/JosmComboBox.java:134
↓ 35 callersMethodgetMin
Gets the point that has both the minimal lat and lon coordinate @return The point
src/org/openstreetmap/josm/data/IBounds.java:19
↓ 35 callersMethodgetTime
Get the time for this setting. @return the time for this setting @see #setTime(java.lang.Long)
src/org/openstreetmap/josm/spi/preferences/Setting.java:65
↓ 35 callersMethodhighlight
Sets the primitives to highlight when selecting this error. @param highlighted the primitives to highlight @return {@code this} @see ValidatorVisitor
src/org/openstreetmap/josm/data/validation/TestError.java:169
↓ 35 callersMethodisDisabled
Replies true, if this primitive is disabled. (E.g. a filter applies) @return {@code true} if this object has the "disabled" flag enabled @since 13662
src/org/openstreetmap/josm/data/osm/IPrimitive.java:130
↓ 35 callersMethodloadStyleSource
(boolean metadataOnly)
src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSStyleSource.java:154
↓ 35 callersMethodpaintSlippyMap
()
test/unit/org/openstreetmap/josm/gui/dialogs/MinimapDialogTest.java:172
↓ 35 callersMethodsetEnabled
Sets the enabled state of the {@code FileExporter}. When enabled, it is listed and usable in "File → Save" dialogs. @param enabled true to enable this
src/org/openstreetmap/josm/gui/io/importexport/FileExporter.java:83
↓ 35 callersMethodzoomTo
Zoom to the given coordinate and scale. @param newCenter The center x-value (easting) to zoom to. @param newScale The scale to use.
src/org/openstreetmap/josm/gui/NavigatableComponent.java:678
↓ 34 callersMethodaddAction
Registers an action and its shortcut @param action The action to add
src/org/openstreetmap/josm/gui/util/MultikeyActionsHandler.java:220
↓ 34 callersMethoddrawImage
(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor,
test/unit/org/openstreetmap/josm/testutils/FakeGraphics.java:128
↓ 34 callersMethodgetAreaText
Returns the text describing the given area in this system of measurement. @param area The area in square metres @return The text describing the given
src/org/openstreetmap/josm/data/SystemOfMeasurement.java:252
↓ 34 callersMethodgetMax
Gets the point that has both the maximum lat and lon coordinate @return The point
src/org/openstreetmap/josm/data/IBounds.java:42
↓ 34 callersMethodgetMembersCount
Returns the number of members. @return number of members
src/org/openstreetmap/josm/data/osm/IRelation.java:21
↓ 34 callersMethodgetRemovedLayer
Gets the layer that is about to be removed. @return The layer.
src/org/openstreetmap/josm/gui/layer/LayerManager.java:141
↓ 34 callersMethodindeterminateSubTask
Subtask that will show progress running back and forth @param title Can be {@code null}, in that case task title is not changed
src/org/openstreetmap/josm/gui/progress/ProgressMonitor.java:121
↓ 34 callersMethodlastIndexOf
(Object o)
src/org/openstreetmap/josm/gui/layer/markerlayer/MarkerLayer.java:805
↓ 34 callersMethodparseDouble
Returns a new {@code double} initialized to the value represented by the specified {@code String}, allowing both dot and comma decimal separators. @p
src/org/openstreetmap/josm/tools/JosmDecimalFormatSymbolsProvider.java:48
↓ 34 callersMethodsetSelectedImage
Select as the selected the given image @param image the selected image
src/org/openstreetmap/josm/data/ImageData.java:214
↓ 33 callersMethodcheckSimilarity
(String message, String name1, String name2, boolean expected)
test/unit/org/openstreetmap/josm/data/validation/tests/SimilarNamedWaysTest.java:16
↓ 33 callersMethoddecorate
Add the listener to a given text component. @param tc The text component.
src/org/openstreetmap/josm/gui/widgets/SelectAllOnFocusGainedDecorator.java:19
↓ 33 callersMethodgetCascade
Read-only version of {@link #getOrCreateCascade}. For convenience, it returns an empty cascade for non-existing layers. However this empty (read-only)
src/org/openstreetmap/josm/gui/mappaint/MultiCascade.java:65
↓ 33 callersMethodgetDistText
Returns the text describing the given distance in this system of measurement. @param dist The distance in metres @return The text describing the given
src/org/openstreetmap/josm/data/SystemOfMeasurement.java:224
↓ 33 callersMethodgetExpirationTime
Returns when the object expires in milliseconds from Epoch. @return when the object expires in milliseconds from Epoch
src/org/openstreetmap/josm/data/cache/CacheEntryAttributes.java:125
↓ 33 callersMethodgetInstance
Replies the instance of the dialog @return the instance of the dialog @throws IllegalStateException if the dialog is not created yet @see #createInst
src/org/openstreetmap/josm/gui/dialogs/LayerListDialog.java:131
↓ 33 callersMethodgetMembersCount
()
src/org/openstreetmap/josm/data/osm/Relation.java:67
↓ 33 callersMethodgetModel
Returns the layer list model. @return the layer list model
src/org/openstreetmap/josm/gui/dialogs/LayerListDialog.java:391
↓ 33 callersMethodisLocked
Determines if this is read-only/locked (thus it cannot be modified). @return {@code true} if this is read-only/locked
src/org/openstreetmap/josm/data/osm/Lockable.java:24
↓ 33 callersMethodload
Load the layer from xml meta-data. @param elem XML element @param support support class providing import utilities @param progressMonitor progress mon
src/org/openstreetmap/josm/io/session/SessionLayerImporter.java:29
↓ 33 callersMethodofEnv
Create a {@link Factory} for a function @param function The function to use @return The result of the function
src/org/openstreetmap/josm/gui/mappaint/mapcss/ExpressionFactory.java:185
↓ 33 callersMethodresolve
Try to resolve a conflict between a set of values for a Tag @param values the set of conflicting values for the Tag. @return the resolved value or nul
src/org/openstreetmap/josm/gui/conflict/tags/TagConflictResolutionUtil.java:200
↓ 33 callersMethodshowDialog
()
src/org/openstreetmap/josm/gui/ExtendedDialog.java:241
↓ 33 callersMethodsplit
Splits string {@code toSplit} at occurrences of the separator string {@code sep} and returns a list of matches. @param sep separator string @param toS
src/org/openstreetmap/josm/gui/mappaint/mapcss/Functions.java:185
↓ 33 callersMethodunlock
Disables the read-only/locked mode.
src/org/openstreetmap/josm/data/osm/Lockable.java:18
↓ 33 callersMethodzoomTo
Zooms the view to display the given set of primitives. @param sel The primitives to zoom to, e.g. the current selection.
src/org/openstreetmap/josm/actions/AutoScaleAction.java:147
↓ 32 callersMethodaddElement
Adds an element to the end of the model. Does nothing if max size is already reached.
src/org/openstreetmap/josm/gui/widgets/JosmComboBoxModel.java:86
↓ 32 callersMethodaddLayerChangeListener
Adds a layer change listener @param listener the listener. @throws IllegalArgumentException If the listener was added twice. @see #addAndFireLayerCha
src/org/openstreetmap/josm/gui/layer/LayerManager.java:407
↓ 32 callersMethodcreateStarted
Creates and starts a stopwatch @return the started stopwatch
src/org/openstreetmap/josm/tools/Stopwatch.java:24
↓ 32 callersMethodendTest
Notification of the end of the test. The tester may perform additional actions and destroy the used structures. <p> If you override this method, don't
src/org/openstreetmap/josm/data/validation/Test.java:195
↓ 32 callersMethodgetAttributes
Returns the attributes @return the attributes
src/org/openstreetmap/josm/data/gpx/IWithAttributes.java:57
↓ 32 callersMethodgetInstance
Returns the unique instance. @return the unique instance
src/org/openstreetmap/josm/data/osm/event/SelectionEventManager.java:40
↓ 32 callersMethodgetInstance
Replies the unique instance. @return The unique instance of {@code OAuthAccessTokenHolder}
src/org/openstreetmap/josm/data/oauth/OAuthAccessTokenHolder.java:31
← previousnext →401–500 of 24,633, ranked by callers