MCPcopy Create free account

hub / github.com/JOSM/josm / functions

Functions24,633 in github.com/JOSM/josm

↓ 60 callersMethodgetSelectedRows
Replies a the list of indices of the selected rows. Never null, but may be empty. @return the list of indices of the selected rows. Never null, but
src/org/openstreetmap/josm/gui/dialogs/LayerListDialog.java:891
↓ 60 callersMethodlog
Log a formatted message. @param fmt format @param vars arguments @see String#format @since 12826
src/org/openstreetmap/josm/data/PreferencesUtils.java:45
↓ 60 callersMethodshowOptionDialog
Displays an option dialog which is aware of a help context. If <code>helpTopic</code> isn't null, the dialog includes a "Help" button and launches the
src/org/openstreetmap/josm/gui/HelpAwareOptionPane.java:245
↓ 59 callersMethodaddKeyword
Adds an example keyword label at the end of the row. Can be called several times. @param displayText displayed HTML text @param insertText optional: i
src/org/openstreetmap/josm/gui/dialogs/SearchDialog.java:515
↓ 59 callersMethodcontainsKey
Checks if this cascade has a value for given key @param key The key to check @return <code>true</code> if there is a value
src/org/openstreetmap/josm/gui/mappaint/Cascade.java:266
↓ 59 callersMethodgetLayer
Replies the {@link OsmDataLayer} in whose context this relation editor is open @return the {@link OsmDataLayer} in whose context this relation editor
src/org/openstreetmap/josm/gui/dialogs/relation/IRelationEditor.java:85
↓ 59 callersMethodparseInstant
Parses the given date string quickly, regardless of current locale. @param str the date string @return the parsed instant @throws UncheckedParseExcept
src/org/openstreetmap/josm/tools/date/DateUtils.java:80
↓ 59 callersMethodsetName
Sets the name of this data set. @param name the new name of this data set. Can be {@code null} to reset it @since 12718
src/org/openstreetmap/josm/data/osm/OsmData.java:51
↓ 58 callersMethodadd
Adds a tag to the tag collection. If <code>tag</code> is null, nothing is added. @param tag the tag to add
src/org/openstreetmap/josm/data/osm/TagCollection.java:206
↓ 58 callersMethodaddVisibilitySwitcher
Marks a component to be only visible when expert mode is enabled. The visibility of the component is changed automatically. @param c The component.
src/org/openstreetmap/josm/actions/ExpertToggleAction.java:82
↓ 58 callersMethodgetExtensions
Returns the extensions @return the extensions
src/org/openstreetmap/josm/data/gpx/IWithAttributes.java:72
↓ 57 callersMethodfirstNode
Returns the first node of this way. The result equals {@link #getNode getNode}{@code (0)}. @return the first node of this way @since 13922
src/org/openstreetmap/josm/data/osm/IWay.java:115
↓ 57 callersMethodfirstNode
()
src/org/openstreetmap/josm/data/osm/Way.java:515
↓ 57 callersMethodintercept
This should be called whenever you want to add more information to a given exception. @param t The throwable that was thrown. @return A {@link Reporte
src/org/openstreetmap/josm/tools/bugreport/BugReport.java:217
↓ 56 callersMethodaddSeparator
Appends a new separator at the end of the menu. @see JPopupMenu#addSeparator
src/org/openstreetmap/josm/gui/PopupMenuHandler.java:42
↓ 56 callersMethodgetActiveLayer
Replies the currently active layer @return the currently active layer (may be null)
src/org/openstreetmap/josm/gui/layer/MainLayerManager.java:417
↓ 56 callersMethodgetCause
()
test/unit/org/openstreetmap/josm/tools/bugreport/ReportedExceptionTest.java:23
↓ 56 callersMethodgetCenter
Returns center of the bounding box. @return Center of the bounding box.
src/org/openstreetmap/josm/data/IBounds.java:65
↓ 56 callersMethodgetDescriptionText
Provides a description text representing this command. @return description text representing this command
src/org/openstreetmap/josm/command/PseudoCommand.java:23
↓ 56 callersMethodgetDocument
Returns XML document. @return XML document
src/org/openstreetmap/josm/io/OsmChangeBuilder.java:149
↓ 56 callersMethodgetMessage
()
src/org/openstreetmap/josm/io/OsmApiException.java:176
↓ 56 callersMethodgetSelectedItem
()
src/org/openstreetmap/josm/gui/tagging/presets/items/Combo.java:210
↓ 55 callersMethodadd
Add a new imagery entry. @param info imagery entry to add
src/org/openstreetmap/josm/data/imagery/ImageryLayerInfo.java:346
↓ 55 callersMethodclamp
Clamp a value to the given range @param val The value @param min minimum value @param max maximum value @return the value @throws IllegalArgumentExcep
src/org/openstreetmap/josm/tools/Utils.java:1570
↓ 55 callersMethodgetFirstNode
Returns the first node of the way segment. @return the first node
src/org/openstreetmap/josm/data/osm/IWaySegment.java:80
↓ 55 callersMethodgetForView
Gets the MapViewPoint representation for a position in view coordinates. @param x The x coordinate inside the view. @param y The y coordinate inside t
src/org/openstreetmap/josm/gui/MapViewState.java:189
↓ 55 callersMethodgetPreferredSize
()
src/org/openstreetmap/josm/gui/tagging/TagTable.java:379
↓ 55 callersMethodgetSecondNode
Returns the second (last) node of the way segment. @return the second node
src/org/openstreetmap/josm/data/osm/IWaySegment.java:88
↓ 55 callersMethodgetX
Get the x coordinate @return The x coordinate
src/org/openstreetmap/josm/gui/util/imagery/Vector3D.java:91
↓ 55 callersMethodgetY
Get the y coordinate @return The y coordinate
src/org/openstreetmap/josm/gui/util/imagery/Vector3D.java:100
↓ 55 callersMethodisClosed
Determines if this way is closed. @return {@code true} if this way is closed, {@code false} otherwise
src/org/openstreetmap/josm/data/osm/IWay.java:95
↓ 55 callersMethodparseAngle
Convert an angle string to a double value @param angleStr The string. e.g. -1.1 or 50d10'3" @param parameterName Only for error message. @return The a
src/org/openstreetmap/josm/data/projection/CustomProjection.java:660
↓ 54 callersMethodlastNode
()
src/org/openstreetmap/josm/data/osm/Way.java:509
↓ 54 callersMethodputValue
(String key, Object value)
src/org/openstreetmap/josm/actions/ParameterizedActionDecorator.java:45
↓ 54 callersMethodsetButtonIcons
Allows decorating the buttons with icons. @param buttonIcons The button icons @return {@code this}
src/org/openstreetmap/josm/gui/IExtendedDialog.java:22
↓ 53 callersMethodassumeWorkingJMockit
Use to assume that JMockit is working with the current JVM.
test/unit/org/openstreetmap/josm/TestUtils.java:517
↓ 53 callersMethodfinishTask
Finish this progress monitor, close the dialog or inform the parent progress monitor that it can continue with other tasks. Must be called at least on
src/org/openstreetmap/josm/gui/progress/ProgressMonitor.java:75
↓ 53 callersMethodgetDisplayName
Returns a display name for this entry @return a display name for this entry
src/org/openstreetmap/josm/gui/layer/geoimage/ImageMetadata.java:81
↓ 53 callersMethodisOffline
Determines if the given online resource specified as URL is currently offline. @param url the online resource specified as URL @return {@code true} if
src/org/openstreetmap/josm/io/NetworkManager.java:82
↓ 52 callersMethodassertTagCounts
(TagCollection collection, int a, int b, int c, int d)
test/unit/org/openstreetmap/josm/data/osm/TagCollectionTest.java:38
↓ 52 callersMethodexecute
Execute the instruction in the given environment. @param env the environment
src/org/openstreetmap/josm/gui/mappaint/mapcss/Instruction.java:28
↓ 52 callersMethodinitialize
Initialize the projection using the provided parameters. @param params The projection parameters @throws ProjectionConfigurationException in case par
src/org/openstreetmap/josm/data/projection/proj/Proj.java:47
↓ 52 callersMethodsetStroke
(Stroke s)
test/unit/org/openstreetmap/josm/testutils/FakeGraphics.java:206
↓ 52 callersMethodupdate
Gives notification that there was an event. @param e the document event
src/org/openstreetmap/josm/gui/util/DocumentAdapter.java:18
↓ 51 callersMethodget
Gets the value for a given key with the given type @param <T> the expected type @param key the key @param def default value, can be null @param klass
src/org/openstreetmap/josm/gui/mappaint/Cascade.java:65
↓ 51 callersMethodgetInputStream
Get the image input stream @return The input stream of the image @throws IOException If something happens during image read. See implementation for de
src/org/openstreetmap/josm/gui/layer/geoimage/ImageMetadata.java:392
↓ 51 callersMethodisMultipolygon
()
src/org/openstreetmap/josm/data/osm/IRelation.java:104
↓ 50 callersMethodglue
This is a helper to easily create a glue with a minimum default value. @param x If higher than 0, this will be a horizontal glue with x as minimum
src/org/openstreetmap/josm/tools/GBC.java:129
↓ 50 callersMethodlastNode
Returns the last node of this way. The result equals <code>{@link #getNode getNode}({@link #getNodesCount getNodesCount} - 1)</code>. @return the last
src/org/openstreetmap/josm/data/osm/IWay.java:123
↓ 49 callersMethodclearSelection
Clear the selection of the layer
src/org/openstreetmap/josm/gui/layer/geoimage/IGeoImageLayer.java:17
↓ 49 callersMethodgetDisplaySettings
Gets the {@link TileSourceDisplaySettings} instance associated with this tile source. @return The tile source display settings @since 10568
src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java:249
↓ 49 callersMethodsetModified
Marks this primitive as being modified. @param modified true, if this primitive is to be modified
src/org/openstreetmap/josm/data/osm/IPrimitive.java:36
↓ 49 callersMethodsetValue
Sets the current progress @param value The progress, in range 0...maximum @see #setMaximum(int)
src/org/openstreetmap/josm/gui/progress/ProgressRenderer.java:38
↓ 48 callersMethodaddItemListener
(ItemListener l)
src/org/openstreetmap/josm/gui/widgets/QuadStateCheckBox.java:323
↓ 48 callersMethodcreate
Creates a new instance for the given URL and a {@code GET} request @param url the URL @return a new instance
src/org/openstreetmap/josm/tools/HttpClient.java:548
↓ 48 callersMethodcreateNode
Create and add a new test node. @param id the id @return The node.
test/unit/org/openstreetmap/josm/command/CommandTest.java:90
↓ 48 callersMethodgetNewValue
Returns the new preference value. @return the new preference value
src/org/openstreetmap/josm/spi/preferences/PreferenceChangeEvent.java:33
↓ 48 callersMethodgetParser
(String stringToParse)
test/unit/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSParserTest.java:57
↓ 48 callersMethodgetWays
Replies an unmodifiable collection of ways in this dataset @return an unmodifiable collection of ways in this dataset
src/org/openstreetmap/josm/data/osm/OsmData.java:151
↓ 48 callersMethodputAll
Add all key/value pairs. This <i>may</i> be more performant than {@link #put}, depending upon the implementation. By default, this calls {@link #put}
src/org/openstreetmap/josm/data/osm/Tagged.java:76
↓ 48 callersMethodsetProjection
Sets the current projection @param p the projection
src/org/openstreetmap/josm/data/projection/ProjectionRegistry.java:52
↓ 48 callersMethodwriteLock
()
src/org/openstreetmap/josm/data/osm/OsmPrimitive.java:215
↓ 47 callersMethodaddNode
Adds node with given id. @param id node id @return created node
test/unit/org/openstreetmap/josm/testutils/DatasetFactory.java:64
↓ 47 callersMethodbeginTask
Starts this progress monitor. Must be called exactly once Ticks count is set to default value @param title title text of the task
src/org/openstreetmap/josm/gui/progress/ProgressMonitor.java:61
↓ 47 callersMethodgetBBox
Fetches the bounding box of the primitive. Since 17752, the returned bounding box might be immutable, i.e., modifying calls throw an {@link Unsupporte
src/org/openstreetmap/josm/data/osm/IPrimitive.java:479
↓ 47 callersMethodgetInstance
Returns the unique instance. @return the unique instance
src/org/openstreetmap/josm/data/osm/OsmDataManager.java:31
↓ 47 callersMethodgetSimpleName
Returns a simple name describing this panel. This string can be used from other GUI parts of JOSM to save the user preferences related to the GUI sett
src/org/openstreetmap/josm/gui/download/AbstractDownloadSourcePanel.java:115
↓ 47 callersMethodupdateEnabledState
Called after the layer model has changed.
src/org/openstreetmap/josm/gui/dialogs/IEnabledStateUpdating.java:14
↓ 46 callersMethodauto
(Shortcut sc)
src/org/openstreetmap/josm/tools/PlatformHookOsx.java:306
↓ 46 callersMethodencode
Encode the given string in XML1.0 format. Optimized to fast pass strings that don't need encoding (normal case). @param unencoded the unencoded input
src/org/openstreetmap/josm/io/XmlWriter.java:43
↓ 46 callersMethodgetAffectedDataSet
Gets the data set this command affects. @return The data set. May be <code>null</code> if no layer was set and no edit layer was found. @since 10467
src/org/openstreetmap/josm/command/Command.java:191
↓ 46 callersMethodgetChangesetId
Replies the id of the changeset this primitive was last uploaded to. 0 if this primitive wasn't uploaded to a changeset yet or if the changeset isn't
src/org/openstreetmap/josm/data/osm/IPrimitive.java:340
↓ 46 callersMethodgetResponseCode
Gets the status code from an HTTP response message. For example, in the case of the following status lines: <PRE> HTTP/1.0 200 OK HTTP/1.0 401 Unautho
src/org/openstreetmap/josm/tools/HttpClient.java:290
↓ 46 callersMethodreverse
Reverse the items order.
src/org/openstreetmap/josm/data/SortableModel.java:19
↓ 45 callersMethodfilteredCollection
Filter a collection by (sub)class. This is an efficient read-only implementation. @param <S> Super type of items @param <T> type of items @param colle
src/org/openstreetmap/josm/tools/Utils.java:124
↓ 45 callersMethodgetLastErrorAndWarnings
Get the last error and warning messages in the order in which they were received. @return The last errors and warnings.
src/org/openstreetmap/josm/tools/Logging.java:471
↓ 45 callersMethodindexOf
(Object o)
src/org/openstreetmap/josm/gui/layer/markerlayer/MarkerLayer.java:800
↓ 45 callersMethodputInt
Set an integer value for a certain setting. @param key the unique identifier for the setting @param value The new value @return {@code true}, if somet
src/org/openstreetmap/josm/spi/preferences/IPreferences.java:115
↓ 45 callersMethodread
Reads the image represented by this entry in the given target dimension. @param target the desired dimension used for {@linkplain IIOParam#setSourceSu
src/org/openstreetmap/josm/data/imagery/street_level/IImageEntry.java:147
↓ 45 callersMethodsetTitle
Sets the title. @param title The dialog's title
src/org/openstreetmap/josm/gui/dialogs/ToggleDialog.java:804
↓ 45 callersMethodsize
()
src/org/openstreetmap/josm/gui/preferences/advanced/MapListEditor.java:115
↓ 45 callersMethodvalidate
Validates the user input for the given primitive. @param primitive the primitive @param validationLabel the label for validation errors
src/org/openstreetmap/josm/gui/tagging/presets/TaggingPresetValidation.java:60
↓ 44 callersMethodaccept
Makes the given visitor visit this primitive. @param visitor visitor
src/org/openstreetmap/josm/data/osm/IPrimitive.java:355
↓ 44 callersMethodaddAll
(Collection<? extends T> objects)
src/org/openstreetmap/josm/data/osm/QuadBuckets.java:416
↓ 44 callersMethodcompare
(Node n1, Node n2)
src/org/openstreetmap/josm/data/osm/NodePositionComparator.java:16
↓ 44 callersMethodgetActionMap
()
src/org/openstreetmap/josm/gui/widgets/SwingFileChooser.java:110
↓ 44 callersMethodgetMergeDecision
()
src/org/openstreetmap/josm/gui/conflict/pair/tags/TagMergeItem.java:82
↓ 44 callersMethodisTagged
Determines if this object is considered "tagged". To be "tagged", an object must have one or more "interesting" tags. "created_by" and "source" are ty
src/org/openstreetmap/josm/data/osm/IPrimitive.java:440
↓ 44 callersMethodnewRelation
Creates a new relation with the given tags (see {@link OsmUtils#createPrimitive(java.lang.String)}) and the members added @param tags the tags to se
test/unit/org/openstreetmap/josm/TestUtils.java:425
↓ 44 callersMethodsubList
(int fromIndex, int toIndex)
src/org/openstreetmap/josm/gui/layer/markerlayer/MarkerLayer.java:820
↓ 43 callersMethodaddFlagParameter
Adds an option that may be used as a flag, e.g. --debug @param optionName The parameter name @param handler The handler that is called when the flag i
src/org/openstreetmap/josm/tools/OptionParser.java:64
↓ 43 callersMethodawait
()
test/unit/org/openstreetmap/josm/data/osm/ChangesetCacheTest.java:50
↓ 43 callersMethodcheckOpeningHourSyntax
(final String key, final String value, final Locale... locales)
test/unit/org/openstreetmap/josm/data/validation/tests/OpeningHourTestTest.java:249
↓ 42 callersMethodanchor
Set the anchor of this GBC to a. @param a The new anchor, e.g. GBC.CENTER or GBC.EAST. @return This constraint for chaining.
src/org/openstreetmap/josm/tools/GBC.java:80
↓ 42 callersMethodgetActiveData
Gets the data set of the active data layer. The dataset can be read-only. @return That data set, <code>null</code> if there is no active data layer. @
src/org/openstreetmap/josm/gui/layer/MainLayerManager.java:474
↓ 42 callersMethodgetButton
Gets the button from the button list that is used to display this dialog. @return button The button for this dialog.
src/org/openstreetmap/josm/gui/dialogs/ToggleDialog.java:898
↓ 42 callersMethodgetEditLayer
Replies the current edit layer, if present and not readOnly @return the current edit layer. May be null. @see #getActiveDataLayer
src/org/openstreetmap/josm/gui/layer/MainLayerManager.java:435
↓ 42 callersMethodgreatCircleDistance
Computes the distance between this lat/lon and another point on the earth. Uses <a href="https://en.wikipedia.org/wiki/Haversine_formula">Haversine fo
src/org/openstreetmap/josm/data/coor/ILatLon.java:101
↓ 42 callersMethodreadLine
(String expectedName, String input)
test/unit/org/openstreetmap/josm/data/projection/ProjectionRegressionTest.java:129
↓ 42 callersMethodsetDeleted
Sets whether this primitive is deleted or not. <p> Also marks this primitive as modified if deleted is true. @param deleted true, if this primitive
src/org/openstreetmap/josm/data/osm/IPrimitive.java:84
← previousnext →301–400 of 24,633, ranked by callers