MCPcopy Create free account

hub / github.com/JOSM/josm / functions

Functions24,633 in github.com/JOSM/josm

↓ 164 callersMethodgetMessage
Get the validation message from a json object @param jsonObject The json object to parse @return The validator message
test/unit/org/openstreetmap/josm/data/validation/ValidatorCLITest.java:213
↓ 163 callersMethodbuild
Returns a new test error with the specified values @return a new test error with the specified values @throws IllegalArgumentException when {@link #m
src/org/openstreetmap/josm/data/validation/TestError.java:252
↓ 163 callersMethodgetErrors
Gets the validation errors accumulated until this moment. @return The list of errors
src/org/openstreetmap/josm/data/validation/Test.java:184
↓ 156 callersMethodgetProjection
Replies the current projection. @return the currently active projection
src/org/openstreetmap/josm/data/projection/ProjectionRegistry.java:43
↓ 156 callersMethodreplace
Replaces in {@code s} every {@code} target} substring by {@code replacement}. @param s The source string @param target The sequence of char values to
src/org/openstreetmap/josm/gui/mappaint/mapcss/Functions.java:1053
↓ 155 callersMethodgetInstance
Returns the unique instance. @return the unique instance @since 14134
src/org/openstreetmap/josm/data/UndoRedoHandler.java:51
↓ 155 callersMethodsubmit
Submit job for background fetch, and listener will be fed with value object @param listener cache loader listener @param force true if the load shoul
src/org/openstreetmap/josm/data/cache/ICachedLoaderJob.java:45
↓ 154 callersMethodgetInt
Gets an integer preference @param key The preference key @param def The default value to use @return The integer @since 12840
src/org/openstreetmap/josm/spi/preferences/IPreferences.java:106
↓ 154 callersMethodgetSelectionModel
Returns the selection model. @return the selection model (never null) @see JList#getSelectionModel() @see JTable#getSelectionModel()
src/org/openstreetmap/josm/gui/util/ReorderableTableModel.java:28
↓ 154 callersMethodgetY
()
src/org/openstreetmap/josm/data/coor/Coordinate.java:38
↓ 153 callersMethodadd
(int index, E element)
src/org/openstreetmap/josm/tools/CopyList.java:68
↓ 153 callersMethodgetX
()
src/org/openstreetmap/josm/data/coor/Coordinate.java:34
↓ 153 callersMethodshowMessageDialog
Displays an message in modal dialog with an OK button. Makes sure the dialog is always on top even if there are other open windows like detached dialo
src/org/openstreetmap/josm/gui/ConditionalOptionPaneUtil.java:202
↓ 152 callersMethodputBoolean
Set a boolean value for a certain setting. @param key the unique identifier for the setting @param value The new value @return {@code true}, if someth
src/org/openstreetmap/josm/spi/preferences/IPreferences.java:97
↓ 151 callersMethodtrim
Trim whitespaces from the string {@code s}. @param s The source string @return The resulting string @see Utils#strip @since 11756
src/org/openstreetmap/josm/gui/mappaint/mapcss/Functions.java:1116
↓ 150 callersMethodgetHeight
Returns height of the image this ImageMetadata represents. @return height of the image this ImageMetadata represents @since 18592 (interface), 13220 (
src/org/openstreetmap/josm/gui/layer/geoimage/ImageMetadata.java:40
↓ 150 callersMethodsetColor
Sets the color of this track. Not necessarily supported by all implementations. @param color color of this track @since 15496
src/org/openstreetmap/josm/data/gpx/IGpxTrack.java:47
↓ 147 callersMethodlog
Logs a throwable that happened. The stack trace is not added to the log. @param level The level. @param t The throwable that should be logged. @see #l
src/org/openstreetmap/josm/tools/Logging.java:324
↓ 146 callersMethodmatches
Attempts to match the given input against the pattern. @param input The character sequence to be matched @return {@code true} if the given input match
src/org/openstreetmap/josm/io/UrlPattern.java:34
↓ 144 callersMethodwrite
Write the plugin data to a stream @param outputStream The stream to write to
src/org/openstreetmap/josm/io/session/PluginSessionExporter.java:46
↓ 142 callersMethodgetValue
Get object value at given index. @param index index @return object value at given index
src/org/openstreetmap/josm/data/ReorderableModel.java:21
↓ 141 callersMethodcompile
Compiles the search expression. @param searchStr the search expression @return a {@link Match} object for the expression @throws SearchParseError if a
src/org/openstreetmap/josm/data/osm/search/SearchCompiler.java:2006
↓ 140 callersMethodeop
Create the constraint for the last elements on a line and on a paragraph. This is merely a shortcut for eol().insets(0,0,0,10) @return A constraint wh
src/org/openstreetmap/josm/tools/GBC.java:49
↓ 139 callersMethodactionPerformed
Load this bookmark
src/org/openstreetmap/josm/gui/layer/ImageryLayer.java:357
↓ 139 callersMethodgetEditDataSet
Gets the active edit data set (not read-only). @return That data set, <code>null</code>. @see #getActiveDataSet
src/org/openstreetmap/josm/data/osm/IOsmDataManager.java:31
↓ 139 callersMethodgetWay
Returns the relation member as a way. @return Member as a way @since 17862
src/org/openstreetmap/josm/data/osm/IRelationMember.java:75
↓ 138 callersMethodgetEastNorth
(Projecting projection)
src/org/openstreetmap/josm/data/osm/Node.java:89
↓ 137 callersMethodallPrimitives
Returns a collection containing all primitives of the dataset. @return A collection containing all primitives of the dataset. Data is not ordered
src/org/openstreetmap/josm/data/osm/OsmData.java:164
↓ 137 callersMethodgetPoint
Get the point for a vector @param vector the vector for which the corresponding point on the camera plane will be returned @return the point on the c
src/org/openstreetmap/josm/gui/util/imagery/CameraPlane.java:89
↓ 136 callersMethodisDeleted
Replies <code>true</code>, if the object has been deleted. @return <code>true</code>, if the object has been deleted. @see #setDeleted(boolean)
src/org/openstreetmap/josm/data/osm/IPrimitive.java:75
↓ 133 callersMethodaddActionListener
(ActionListener l)
src/org/openstreetmap/josm/gui/widgets/QuadStateCheckBox.java:315
↓ 132 callersMethodisEnabled
Determines the last state of the download type. @return The boolean indicating the last state of the download type
src/org/openstreetmap/josm/gui/download/IDownloadSourceType.java:54
↓ 132 callersMethodrepaint
Called when any repaint method is called (using default arguments if required). @param tm see {@link JComponent#repaint(long, int, int, int, int)} @pa
src/org/openstreetmap/josm/gui/MapView.java:866
↓ 131 callersMethodgetBytes
Get the raw bytes for this record @return The bytes
src/org/openstreetmap/josm/data/protobuf/ProtobufRecord.java:141
↓ 131 callersMethodtoList
()
src/org/openstreetmap/josm/gui/dialogs/properties/RecentTagCollection.java:65
↓ 128 callersMethodkeySet
Replies the set of keys @return the set of keys @see #keys()
src/org/openstreetmap/josm/data/osm/Tagged.java:216
↓ 128 callersMethodparseDataSet
Parse the given input source and return the dataset. @param source the source input stream. Must not be null. @param progressMonitor the progress mon
src/org/openstreetmap/josm/io/OsmReader.java:536
↓ 128 callersMethodsetCoor
(LatLon coor)
src/org/openstreetmap/josm/data/osm/Node.java:43
↓ 127 callersMethodgetSource
The changeset cache the change happened in. @return The {@link ChangesetCache}
src/org/openstreetmap/josm/data/osm/ChangesetCacheEvent.java:14
↓ 127 callersMethodgetType
Gets the type of object represented by this object. Note that this should return the base primitive type ({@link OsmPrimitiveType#NODE}, {@link OsmPri
src/org/openstreetmap/josm/data/osm/PrimitiveId.java:28
↓ 126 callersMethodvalues
Returns a collection of all value sets. @return a collection view of the values contained in this map @see Map#values()
src/org/openstreetmap/josm/tools/MultiMap.java:189
↓ 125 callersMethodgetTestDataRoot
Returns the path to test data root directory. @return path to test data root directory
test/unit/org/openstreetmap/josm/TestUtils.java:88
↓ 125 callersMethodisValid
<p>Checks if a field has a valid url address.</p> Note that the method calls #isValidAuthority() which checks that the domain is valid. @param value
src/org/openstreetmap/josm/data/validation/routines/UrlValidator.java:296
↓ 124 callersMethodisVisible
Checks if object is known to the server. Replies true if this primitive is either unknown to the server (i.e. its id is 0) or it is known to the serve
src/org/openstreetmap/josm/data/osm/IPrimitive.java:57
↓ 124 callersMethodsetBackground
(Color color)
test/unit/org/openstreetmap/josm/testutils/FakeGraphics.java:226
↓ 122 callersMethodgetString
Returns the String value to which the specified key is mapped, or {@code null} if this map contains no String mapping for the key. @param key the key
src/org/openstreetmap/josm/data/gpx/IWithAttributes.java:29
↓ 121 callersMethodbuild
()
test/unit/org/openstreetmap/josm/gui/mappaint/mapcss/FunctionsTest.java:71
↓ 121 callersMethodgetLayers
Get the layers for this vector tile @return A collection of layers
src/org/openstreetmap/josm/data/imagery/vectortile/VectorTile.java:18
↓ 119 callersMethodisModified
Replies true if there is at least one primitive in this dataset with {@link IPrimitive#isModified()} == <code>true</code>. @return true if there is a
src/org/openstreetmap/josm/data/osm/OsmData.java:494
↓ 118 callersMethodaddAll
(int index, Collection<? extends Marker> c)
src/org/openstreetmap/josm/gui/layer/markerlayer/MarkerLayer.java:764
↓ 118 callersMethodgetMembers
Returns members of the relation. @return Members of the relation. Changes made in returned list are not mapped back to the primitive, use {@link #setM
src/org/openstreetmap/josm/data/osm/IRelation.java:47
↓ 118 callersMethodparseDouble
(Map<String, String> parameters, String parameterName)
src/org/openstreetmap/josm/data/projection/CustomProjection.java:636
↓ 117 callersMethodmax
(int a, int b, int c, int d)
src/org/openstreetmap/josm/gui/mappaint/styleelement/NodeElement.java:352
↓ 117 callersMethodmyprintln
(String s)
scripts/SyncEditorLayerIndex.java:304
↓ 116 callersMethodisStripEmpty
Determines if the given String would be empty if stripped. This is an efficient alternative to {@code strip(s).isEmpty()} that avoids to create useles
src/org/openstreetmap/josm/tools/Utils.java:716
↓ 115 callersMethodindexOf
Find the index of the first item that matches the predicate. @param <T> The iterable type @param collection The iterable to iterate over. @param predi
src/org/openstreetmap/josm/tools/Utils.java:136
↓ 115 callersMethodset
Set the value of the property for the object. @param obj the object for that the property should be set @param value the value the property is set to
src/org/openstreetmap/josm/tools/Property.java:23
↓ 114 callersMethodgetSize
Get the size that was requested for this memory area. @return the size
src/org/openstreetmap/josm/tools/MemoryManager.java:127
↓ 114 callersMethodlat
Returns the latitude, i.e., the north-south position in degrees. @return the latitude or NaN if {@link #isLatLonKnown()} returns false
src/org/openstreetmap/josm/data/coor/ILatLon.java:44
↓ 114 callersMethodsetFont
Sets the table font size based on the font scaling from the preferences @param table the table @param parent the parent component used for determining
src/org/openstreetmap/josm/gui/util/TableHelper.java:159
↓ 113 callersMethodlon
Returns the longitude, i.e., the east-west position in degrees. @return the longitude or NaN if {@link #isLatLonKnown()} returns false
src/org/openstreetmap/josm/data/coor/ILatLon.java:38
↓ 112 callersMethodcompile
Compile a regex into a pattern. This may return a {@link Pattern} used elsewhere. This is safe. @param regex The regex to compile @return The immutabl
src/org/openstreetmap/josm/tools/PatternUtils.java:44
↓ 112 callersMethodgetKeys
Replies the map of key/value pairs. Never null, but may be the empty map. @return the map of key/value pairs
src/org/openstreetmap/josm/data/osm/Tagged.java:39
↓ 112 callersMethodhasKey
Replies true if there is a tag with key <code>key</code>. The value could however be empty. See {@link #hasTag(String)} to check for non-empty tags.
src/org/openstreetmap/josm/data/osm/Tagged.java:113
↓ 110 callersMethodtrc
Translates some text in a context for the current locale. There can be different translations for the same text within different contexts. @param con
src/org/openstreetmap/josm/tools/I18n.java:228
↓ 109 callersMethodgetVersion
Replies the API version this dataset was created from. May be null. @return the API version this dataset was created from. May be null.
src/org/openstreetmap/josm/data/osm/OsmData.java:37
↓ 109 callersMethodgetWays
()
src/org/openstreetmap/josm/data/osm/DataSet.java:420
↓ 108 callersMethodgetRole
Returns role of the member at given index. @param idx member index @return role of the member at given index
src/org/openstreetmap/josm/data/osm/IRelation.java:67
↓ 108 callersMethodsetEnabled
(boolean b)
src/org/openstreetmap/josm/actions/ParameterizedActionDecorator.java:55
↓ 108 callersMethodsort
Sort the items.
src/org/openstreetmap/josm/data/SortableModel.java:14
↓ 107 callersMethodcreateSubTaskMonitor
Creates subtasks monitor. @param ticks Number of work units that should be done when subtask finishes @param internal If true then subtask can't modif
src/org/openstreetmap/josm/gui/progress/ProgressMonitor.java:147
↓ 106 callersMethodrunInEDT
Executes asynchronously a runnable in <a href="https://docs.oracle.com/javase/tutorial/uiswing/concurrency/dispatch.html">Event Dispatch Thread</a>, e
src/org/openstreetmap/josm/gui/util/GuiHelper.java:198
↓ 105 callersMethodapplies
Checks if the condition applies in the given MapCSS {@link Environment}. @param e The environment to check. May not be <code>null</code>. @return <cod
src/org/openstreetmap/josm/gui/mappaint/mapcss/Condition.java:20
↓ 105 callersMethodgetSelected
Replies an unmodifiable collection of primitives currently selected in this dataset, except deleted ones. May be empty, but not null. <p> When iterati
src/org/openstreetmap/josm/data/osm/OsmData.java:334
↓ 104 callersMethodnewWay
Creates a new way with the given tags (see {@link OsmUtils#createPrimitive(java.lang.String)}) and the nodes added @param tags the tags to set @para
test/unit/org/openstreetmap/josm/TestUtils.java:410
↓ 104 callersMethodsplit
Splits the way {@code way} at the nodes in {@code atNodes} and replies the result of this process in an instance of {@link SplitWayCommand}. <p> Note
src/org/openstreetmap/josm/command/SplitWayCommand.java:905
↓ 103 callersMethodapply
Call the function @param t The first argument @param u The second argument @param v The third argument @return The result of the function call
src/org/openstreetmap/josm/gui/mappaint/mapcss/ExpressionFactory.java:61
↓ 103 callersMethodget
()
src/org/openstreetmap/josm/data/osm/search/SearchCompiler.java:332
↓ 103 callersMethodmatch
(OsmPrimitive p, boolean cond)
test/unit/org/openstreetmap/josm/data/osm/search/SearchCompilerTest.java:90
↓ 102 callersMethodgetColor
Gets the color of this track. @return The color, <code>null</code> if not set or not supported by the implementation. @since 15496
src/org/openstreetmap/josm/data/gpx/IGpxTrack.java:38
↓ 101 callersMethodgetNodesCount
Replies the number of nodes in this way. @return the number of nodes in this way.
src/org/openstreetmap/josm/data/osm/IWay.java:18
↓ 101 callersMethodgetPrimitiveById
Returns a primitive with a given id from the data set. null, if no such primitive exists @param id uniqueId of the primitive. Might be &lt; 0 for new
src/org/openstreetmap/josm/data/osm/OsmData.java:118
↓ 100 callersMethodgetReferrers
Gets a list of all primitives in the current dataset that reference this primitive. @return The referrers @since 13764
src/org/openstreetmap/josm/data/osm/IPrimitive.java:487
↓ 98 callersMethodgetFont
(Cascade c, String s)
src/org/openstreetmap/josm/gui/mappaint/styleelement/StyleElement.java:205
↓ 98 callersMethodgetPrimitiveId
Replies the unique primitive id for this primitive. @return the unique primitive id for this primitive @see #getUniqueId
src/org/openstreetmap/josm/data/osm/IPrimitive.java:250
↓ 97 callersMethodgetKeyStroke
Returns the keystroke launching this action (F1 by default). @return the keystroke launching this action
src/org/openstreetmap/josm/gui/dialogs/properties/HelpAction.java:47
↓ 97 callersMethodmatches
Apply the selector to the primitive and check if it matches. @param env the Environment. env.mc and env.layer are read-only when matching a selector.
src/org/openstreetmap/josm/gui/mappaint/mapcss/Selector.java:98
↓ 97 callersMethodsetHelpId
(String helpId)
src/org/openstreetmap/josm/actions/relation/AbstractRelationAction.java:72
↓ 96 callersMethodadd
(E e)
src/org/openstreetmap/josm/gui/tagging/presets/TaggingPresetReader.java:120
↓ 96 callersMethodgetNode
Replies the node at position <code>index</code>. @param index the position @return the node at position <code>index</code> @throws ArrayIndexOutOfBo
src/org/openstreetmap/josm/data/osm/IWay.java:54
↓ 95 callersMethodaddListSelectionListener
Add a list selection listener to the conflicts list. @param listener the ListSelectionListener @since 5958
src/org/openstreetmap/josm/gui/dialogs/ConflictDialog.java:172
↓ 95 callersMethodgetBounds
Returns the track bounds. @return the track bounds
src/org/openstreetmap/josm/data/gpx/IGpxTrack.java:25
↓ 95 callersMethodgetId
Gets the ID of the subpart @param env The environment to get it from @return The id
src/org/openstreetmap/josm/gui/mappaint/mapcss/Subpart.java:19
↓ 95 callersMethodis
Matcher for a point at a given location. @param expected expected location @return matcher for a point at a given location
test/unit/org/CustomMatchers.java:107
↓ 95 callersMethodregisterSystemShortcut
FOR PLATFORMHOOK USE ONLY. <p> This registers a system shortcut. See PlatformHook for details. @param shortText an ID. re-use a {@code "system: "} ID
src/org/openstreetmap/josm/tools/Shortcut.java:458
↓ 94 callersMethodgetNode
(int index)
src/org/openstreetmap/josm/data/osm/Way.java:100
↓ 94 callersMethodgetPrimitiveById
(PrimitiveId primitiveId)
src/org/openstreetmap/josm/data/osm/DataSet.java:859
↓ 94 callersMethodgetRowCount
Returns the number of rows in the list/table. @return the number of rows in the list/table @see ListModel#getSize() @see TableModel#getRowCount()
src/org/openstreetmap/josm/gui/util/ReorderableTableModel.java:36
↓ 94 callersMethodparse
Parse the GPX data. @param tryToFinish true, if the reader should return at least part of the GPX data in case of an error. @return true if file was
src/org/openstreetmap/josm/io/IGpxReader.java:26
↓ 93 callersMethodremoveAll
Removes all tags
src/org/openstreetmap/josm/data/osm/Tagged.java:239
← previousnext →101–200 of 24,633, ranked by callers