- Timestamp:
- 2015-10-22T16:20:56+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/DownloadAlongAction.java
r8926 r8929 10 10 import java.util.Collection; 11 11 import java.util.List; 12 import java.util.concurrent.CancellationException;13 import java.util.concurrent.ExecutionException;14 12 import java.util.concurrent.Future; 15 13 -
trunk/src/org/openstreetmap/josm/gui/progress/ProgressMonitor.java
r8512 r8929 134 134 * @param ticks Number of work units that should be done when subtask finishes 135 135 * @param internal If true then subtask can't modify task title/custom text 136 * @return subtasks monitor 136 137 */ 137 138 ProgressMonitor createSubTaskMonitor(int ticks, boolean internal); -
trunk/src/org/openstreetmap/josm/gui/util/GuiHelper.java
r8905 r8929 316 316 /** 317 317 * Gets the font used to display JOSM title in about dialog and splash screen. 318 * @return title font 318 319 * @since 5797 319 320 */ -
trunk/src/org/openstreetmap/josm/gui/util/HighlightHelper.java
r8510 r8929 23 23 * Highlight and remember given primitives 24 24 * @param prims - primitives to highlight/unhighlight 25 * @return {@code true} if a repaint is needed 25 26 */ 26 27 public boolean highlight(Collection<? extends OsmPrimitive> prims) { … … 32 33 * @param prims - primitives to highlight/unhighlight 33 34 * @param only - remove previous highlighting 35 * @return {@code true} if a repaint is needed 34 36 */ 35 37 public boolean highlight(Collection<? extends OsmPrimitive> prims, boolean only) { … … 56 58 * Highlight and remember given primitives, forgetting previously highlighted by this instance 57 59 * @param prims - primitives to highlight/unhighlight 60 * @return {@code true} if a repaint is needed 58 61 */ 59 62 public boolean highlightOnly(Collection<? extends OsmPrimitive> prims) { … … 64 67 * Highlight and remember given primitive, forgetting previously highlighted by this instance 65 68 * @param p - primitives to highlight/unhighlight 69 * @return {@code true} if a repaint is needed 66 70 */ 67 71 public boolean highlightOnly(OsmPrimitive p) { … … 73 77 * @param p - primitive to highlight/unhighlight 74 78 * @param flag - true to highlight 79 * @return {@code true} if a repaint is needed 75 80 */ 76 81 public boolean setHighlight(OsmPrimitive p, boolean flag) { -
trunk/src/org/openstreetmap/josm/gui/util/RotationAngle.java
r8624 r8929 15 15 */ 16 16 public abstract class RotationAngle { 17 17 18 /** 18 19 * Calculates the rotation angle depending on the primitive to displayed. 20 * @param p primitive 21 * @return rotation angle 19 22 */ 20 23 public abstract double getRotationAngle(OsmPrimitive p); … … 22 25 /** 23 26 * Always returns the fixed {@code angle}. 27 * @param angle angle 28 * @return rotation angle 24 29 */ 25 30 public static RotationAngle buildStaticRotation(final double angle) { … … 39 44 /** 40 45 * Parses the rotation angle from the specified {@code string}. 46 * @param string angle as string 47 * @return rotation angle 41 48 */ 42 49 public static RotationAngle buildStaticRotation(final String string) { … … 89 96 /** 90 97 * Computes the angle depending on the referencing way segment, or {@code 0} if none exists. 98 * @return rotation angle 91 99 */ 92 100 public static RotationAngle buildWayDirectionRotation() { -
trunk/src/org/openstreetmap/josm/gui/widgets/DisableShortcutsOnFocusGainedTextField.java
r8510 r8929 158 158 /** 159 159 * Returns true if the given shortcut has no modifier and is not an actions key. 160 * @param ks key stroke 161 * @return {@code true} if the given shortcut has to be disabled 160 162 * @see KeyEvent#isActionKey() 161 163 */ -
trunk/src/org/openstreetmap/josm/gui/widgets/QuadStateCheckBox.java
r8513 r8929 158 158 * selected and armed (grey) and NOT_SELECTED when the 159 159 * checkbox is deselected. 160 * @return current state 160 161 */ 161 162 private State getState() { -
trunk/src/org/openstreetmap/josm/io/BoundingBoxDownloader.java
r8926 r8929 114 114 /** 115 115 * Returns the name of the download task to be displayed in the {@link ProgressMonitor}. 116 * @return task name 116 117 */ 117 118 protected String getTaskName() { … … 121 122 /** 122 123 * Builds the request part for the bounding box. 124 * @param lon1 left 125 * @param lat1 bottom 126 * @param lon2 right 127 * @param lat2 top 128 * @return "map?bbox=left,bottom,right,top" 123 129 */ 124 130 protected String getRequestForBbox(double lon1, double lat1, double lon2, double lat2) { … … 128 134 /** 129 135 * Parse the given input source and return the dataset. 136 * @param source input stream 137 * @param progressMonitor progress monitor 138 * @return dataset 130 139 * @throws IllegalDataException if an error was found while parsing the OSM data 131 140 * -
trunk/src/org/openstreetmap/josm/io/CachedFile.java
r8846 r8929 351 351 * 2 resources that point to the same url, but that are to be stored in different 352 352 * directories will not share a cache file. 353 * @param url URL 354 * @param destDir destination directory 355 * @return Preference key 353 356 */ 354 357 private static String getPrefKey(URL url, String destDir) { -
trunk/src/org/openstreetmap/josm/io/Compression.java
r8470 r8929 54 54 /** 55 55 * Returns an un-compressing {@link InputStream} for {@code in}. 56 * @param in raw input stream 57 * @return un-compressing input stream 56 58 * 57 59 * @throws IOException if any I/O error occurs … … 73 75 /** 74 76 * Returns an un-compressing {@link InputStream} for the {@link File} {@code file}. 75 * 77 * @param file file 78 * @return un-compressing input stream 76 79 * @throws IOException if any I/O error occurs 77 80 */ … … 83 86 /** 84 87 * Returns an un-compressing {@link InputStream} for the {@link URL} {@code url}. 88 * @param url URL 89 * @return un-compressing input stream 85 90 * 86 91 * @throws IOException if any I/O error occurs … … 92 97 /** 93 98 * Returns a compressing {@link OutputStream} for {@code out}. 99 * @param out raw output stream 100 * @return compressing output stream 94 101 * 95 102 * @throws IOException if any I/O error occurs … … 111 118 /** 112 119 * Returns a compressing {@link OutputStream} for the {@link File} {@code file}. 120 * @param file file 121 * @return compressing output stream 113 122 * 114 123 * @throws IOException if any I/O error occurs -
trunk/src/org/openstreetmap/josm/io/FileImporter.java
r7596 r8929 142 142 * they are opened in the order of their priorities. 143 143 * Highest priority comes first. 144 * @return priority 144 145 */ 145 146 public double getPriority() { -
trunk/src/org/openstreetmap/josm/io/OsmImporter.java
r8926 r8929 113 113 * @param layerName name of generated layer 114 114 * @param progressMonitor handler for progress monitoring and canceling 115 * @return Utility class containing imported OSM layer, and a task to run after it is added to MapView 115 116 * @throws IllegalDataException if an error was found while parsing the OSM data 116 117 */ -
trunk/src/org/openstreetmap/josm/io/XmlWriter.java
r8510 r8929 43 43 * new JLabel("<html>&apos;</html>") 44 44 * literally as 6 character string, see #7558) 45 * @return XML1.0 string 45 46 */ 46 47 public static String encode(String unencoded, boolean keepApos) { -
trunk/src/org/openstreetmap/josm/io/auth/AbstractCredentialsAgent.java
r8388 r8929 96 96 * Provide the text for a checkbox that offers to save the 97 97 * username and password that has been entered by the user. 98 * @return checkbox text 98 99 */ 99 100 public abstract String getSaveUsernameAndPasswordCheckboxText(); -
trunk/src/org/openstreetmap/josm/io/auth/CredentialsAgent.java
r8509 r8929 44 44 45 45 /** 46 * 46 * Returns the credentials needed to to access host. 47 47 * @param requestorType the type of service. {@link RequestorType#SERVER} for the OSM API server, {@link RequestorType#PROXY} 48 48 * for a proxy server … … 50 50 * @param noSuccessWithLastResponse true, if the last request with the supplied credentials failed; false otherwise. 51 51 * If true, implementations of this interface are advised to prompt the user for new credentials. 52 * @return the credentials 52 53 * @throws CredentialsAgentException if a problem occurs in a implementation of this interface 53 54 54 */ 55 55 CredentialsAgentResponse getCredentials(RequestorType requestorType, String host, boolean noSuccessWithLastResponse) … … 73 73 void storeOAuthAccessToken(OAuthToken accessToken) throws CredentialsAgentException; 74 74 75 76 75 /** 77 76 * Provide a Panel that is shown below the API password / username fields 78 77 * in the JOSM Preferences. (E.g. a warning that password is saved unencrypted.) 78 * @return Panel 79 79 */ 80 80 Component getPreferencesDecorationPanel(); 81 82 81 } -
trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/AddWayHandler.java
r8846 r8929 120 120 121 121 /** 122 * Find the node with almost the same ccords in dataset or in already added nodes 122 * Find the node with almost the same coords in dataset or in already added nodes 123 * @param ll coordinates 124 * @return node with almost the same coords 123 125 * @since 5845 124 126 */ -
trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/RequestHandler.java
r8846 r8929 200 200 201 201 /** 202 * Returns the request parameters. 203 * @param uri URI as string 204 * @return map of request parameters 202 205 * @see <a href="http://blog.lunatech.com/2009/02/03/what-every-web-developer-must-know-about-url-encoding"> 203 206 * What every web developer must know about URL encoding</a> -
trunk/src/org/openstreetmap/josm/io/session/SessionReader.java
r8926 r8929 171 171 * - relativ to the .joz file: 172 172 * "../save/data.osm" ("../" steps out of the archive) 173 * @param uriStr URI as string 174 * @return the InputStream 173 175 * 174 176 * @throws IOException Thrown when no Stream can be opened for the given URI, e.g. when the linked file has been deleted. … … 246 248 /** 247 249 * Name of the layer that is currently imported. 250 * @return layer name 248 251 */ 249 252 public String getLayerName() { … … 253 256 /** 254 257 * Index of the layer that is currently imported. 258 * @return layer index 255 259 */ 256 260 public int getLayerIndex() { … … 261 265 * Dependencies - maps the layer index to the importer of the given 262 266 * layer. All the dependent importers have loaded completely at this point. 267 * @return layer dependencies 263 268 */ 264 269 public List<LayerDependency> getLayerDependencies() {
Note:
See TracChangeset
for help on using the changeset viewer.