- Timestamp:
- 2013-04-20T22:41:13+02:00 (12 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/LayerListDialog.java
r5886 r5891 345 345 * on every {@link ListDataEvent}. 346 346 * 347 * @param listener 348 * @param list SelectionModelthe source emitting {@link ListDataEvent}s347 * @param listener the listener 348 * @param listModel the source emitting {@link ListDataEvent}s 349 349 */ 350 350 protected void adaptTo(final IEnabledStateUpdating listener, LayerListModel listModel) { … … 1564 1564 * context of this {@link LayerListDialog}. 1565 1565 * 1566 * @param layer the layer1567 1566 * @return the action 1568 1567 */ … … 1577 1576 * context of this {@link LayerListDialog}. 1578 1577 * 1579 * @param layer the layer1580 1578 * @return the action 1581 1579 */ -
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/TagEditHelper.java
r5886 r5891 467 467 * Create a focus handling adapter and apply in to the editor component of value 468 468 * autocompletion box. 469 * @param keys Box for keys entering and autocompletion470 * @param values Box for values entering and autocompletion471 469 * @param autocomplete Manager handling the autocompletion 472 470 * @param comparator Class to decide what values are offered on autocompletion -
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/MemberTable.java
r5630 r5891 39 39 40 40 /** 41 * constructor 42 * 43 * @param model44 * @param columnModel41 * constructor for relation member table 42 * 43 * @param layer the data layer of the relation 44 * @param model the table model 45 45 */ 46 46 public MemberTable(OsmDataLayer layer, MemberTableModel model) { -
trunk/src/org/openstreetmap/josm/gui/dialogs/validator/ValidatorTreePanel.java
r5783 r5891 54 54 private Set<OsmPrimitive> filter = null; 55 55 56 /** a counter to check if tree has been rebuild */ 56 57 private int updateCount; 57 58 … … 288 289 /** 289 290 * Clears the current error list and adds these errors to it 290 * @param errors The validation errors291 * @param newerrors The validation errors 291 292 */ 292 293 public void setErrors(List<TestError> newerrors) { … … 306 307 /** 307 308 * Returns the errors of the tree 308 * @return 309 * @return the errors of the tree 309 310 */ 310 311 public List<TestError> getErrors() { … … 312 313 } 313 314 315 /** 316 * Returns the filter list 317 * @return the list of primitives used for filtering 318 */ 314 319 public Set<OsmPrimitive> getFilter() { 315 320 return filter; 316 321 } 317 322 323 /** 324 * Set the filter list to a set of primitives 325 * @param filter the list of primitives used for filtering 326 */ 318 327 public void setFilter(Set<OsmPrimitive> filter) { 319 328 if (filter != null && filter.isEmpty()) { … … 329 338 /** 330 339 * Updates the current errors list 331 * @param errors The validation errors332 340 */ 333 341 public void resetErrors() { … … 337 345 338 346 /** 339 * Expands alltree347 * Expands complete tree 340 348 */ 341 349 @SuppressWarnings("unchecked") … … 359 367 } 360 368 369 /** 370 * Returns a value to check if tree has been rebuild 371 * @return the current counter 372 */ 361 373 public int getUpdateCount() { 362 374 return updateCount; -
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/CorrelateGpxWithImages.java
r5886 r5891 1069 1069 * Returns a list of images that fulfill the given criteria. 1070 1070 * Default setting is to return untagged images, but may be overwritten. 1071 * @param boolean all -- returns all available images 1072 * @param boolean noexif -- returns untagged images without EXIF-GPS coords 1073 * this parameter is irrelevant if <code>all</code> is true 1074 * @param boolean exif -- also returns images with exif-gps info 1075 * @param boolean tagged -- also returns tagged images 1076 * @return ArrayList<ImageEntry> matching images 1071 * @param exif also returns images with exif-gps info 1072 * @param tagged also returns tagged images 1073 * @return matching images 1077 1074 */ 1078 1075 private ArrayList<ImageEntry> getSortedImgList(boolean exif, boolean tagged) { -
trunk/src/org/openstreetmap/josm/gui/mappaint/MapPaintStyles.java
r5875 r5891 310 310 /** 311 311 * Move position of entries in the current list of StyleSources 312 * @param sel eThe indices of styles to be moved.312 * @param sel The indices of styles to be moved. 313 313 * @param delta The number of lines it should move. positive int moves 314 314 * down and negative moves up. -
trunk/src/org/openstreetmap/josm/gui/preferences/projection/ProjectionPreference.java
r5634 r5891 47 47 * - Search for official references and verify the parameter values. These 48 48 * documents are often available in the local language only. 49 * - Use {@link #registerProjectionChoice ()}, to make the entry known to JOSM.49 * - Use {@link #registerProjectionChoice}, to make the entry known to JOSM. 50 50 * 51 51 * In case there is no EPSG code: … … 405 405 * Handles all the work related to update the projection-specific 406 406 * preferences 407 * @param p roj407 * @param pc the choice class representing user selection 408 408 */ 409 409 private void selectedProjectionChanged(final ProjectionChoice pc) { … … 431 431 /** 432 432 * Sets up projection combobox with default values and action listener 433 * @return the choice class for user selection 433 434 */ 434 435 private ProjectionChoice setupProjectionCombo() { -
trunk/src/org/openstreetmap/josm/gui/progress/ProgressMonitor.java
r5890 r5891 36 36 } 37 37 38 /** Ticks count used, when no other value is supplied */ 38 39 public final int DEFAULT_TICKS = 10000; 39 40 … … 44 45 public final int ALL_TICKS = -1; 45 46 47 /** 48 * Starts this progress monitor. Must be called exactly once 49 * Ticks count is set to default value 50 * @param title title text of the task 51 */ 46 52 void beginTask(String title); 47 53 48 54 /** 49 55 * Starts this progress monitor. Must be called exactly once 50 * @param title 51 * @param ticks 56 * @param title title text of the task 57 * @param ticks number of work units (see {@link #setTicksCount(int ticks)}) 52 58 */ 53 59 void beginTask(String title, int ticks); … … 58 64 * then further calls are ignored) 59 65 */ 66 void finishTask(); 60 67 61 void finishTask();62 68 /** 63 69 * Can be used if method receive ProgressMonitor but it's not interested progress monitoring. … … 71 77 72 78 /** 73 * 79 * Set the total number of work units 74 80 * @param ticks Number of total work units 75 81 */ 76 82 void setTicksCount(int ticks); 83 77 84 /** 78 * 85 * Get the total number of work units 86 * @return Number of total work units 87 */ 88 int getTicksCount(); 89 90 /** 91 * Set the current number of work units 79 92 * @param ticks Number of work units already done 80 93 */ 81 94 void setTicks(int ticks); 82 95 96 /** 97 * Get the current number of work units 98 * @return Number of work units already done 99 */ 83 100 int getTicks(); 84 int getTicksCount();85 101 86 102 /** 87 103 * Increase number of already done work units by ticks 88 * @param ticks 104 * @param ticks number of ticks to add 89 105 */ 90 106 void worked(int ticks); … … 92 108 /** 93 109 * Subtask that will show progress running back and forth 94 * @param title Can be null, in that case task title is not changed110 * @param title Can be {@code null}, in that case task title is not changed 95 111 */ 96 112 void indeterminateSubTask(String title); 113 97 114 /** 98 115 * Normal subtask 99 * @param title Can be null, in that case task title is not changed116 * @param title Can be {@code null}, in that case task title is not changed 100 117 */ 118 101 119 void subTask(String title); 102 120 /** 103 121 * Shows additional text 104 122 */ 123 105 124 void setCustomText(String text); 106 125 /** … … 118 137 ProgressMonitor createSubTaskMonitor(int ticks, boolean internal); 119 138 139 /** 140 * Returns the state of user aborts 141 * @return {@code true} if user aborted operation 142 */ 120 143 boolean isCanceled(); 144 145 /** 146 * Abort current operation, usually called when user somehow requested an abort 147 */ 121 148 void cancel(); 149 150 /** 151 * Add listener for user abort action 152 * @param listener the listener for cancel operation 153 */ 122 154 void addCancelListener(CancelListener listener); 155 156 /** 157 * Remove listener for user abort action 158 * @param listener the listener for cancel operation 159 */ 123 160 void removeCancelListener(CancelListener listener); 124 161 … … 131 168 132 169 /** 133 * Should be used only by PleaseWaitRunnable. If taskId <> null then "In background" button will be shown 134 * @param taskId 170 * Set the task ID of the progress dialog 171 * Should be used only by PleaseWaitRunnable. If taskId {@code <> null} then "In background" button will be shown 172 * @param taskId the task ID 135 173 */ 136 174 void setProgressTaskId(ProgressTaskId taskId); 137 175 138 176 /** 177 * Returns the task ID of the progress dialog 139 178 * Should be used only by PleaseWaitRunnable 140 * @ param taskId179 * @return the task ID 141 180 */ 142 181 ProgressTaskId getProgressTaskId(); 143 182 144 183 /** 145 * 184 * Return the parent windows of progress dialog 146 185 * @return component suitable as parent for dialogs that wants to be shown in front of progress dialog 147 186 */ -
trunk/src/org/openstreetmap/josm/gui/tagging/TagEditorModel.java
r5266 r5891 47 47 * for row selection and column selection. 48 48 * 49 * To create a {@link JTable} with this model:49 * To create a {@link javax.swing.JTable} with this model: 50 50 * <pre> 51 51 * TagEditorModel model = new TagEditorModel(); … … 359 359 360 360 /** 361 * initializes the model with the tags of an OSM primitive362 * 363 * @param primitive theOSM primitive361 * Initializes the model with the tags of an OSM primitive 362 * 363 * @param tags the tags of an OSM primitive 364 364 */ 365 365 public void initFromTags(Map<String,String> tags) {
Note:
See TracChangeset
for help on using the changeset viewer.