Changeset 12370 in josm for trunk/src/org/openstreetmap/josm/gui/io/UploadStrategySelectionPanel.java
- Timestamp:
- 2017-06-09T20:50:22+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/UploadStrategySelectionPanel.java
r10626 r12370 234 234 } 235 235 236 /** 237 * Sets the number of uploaded objects to display 238 * @param numUploadedObjects The number of objects 239 */ 236 240 public void setNumUploadedObjects(int numUploadedObjects) { 237 241 this.numUploadedObjects = Math.max(numUploadedObjects, 0); … … 239 243 } 240 244 245 /** 246 * Fills the inputs using a {@link UploadStrategySpecification} 247 * @param strategy The strategy 248 */ 241 249 public void setUploadStrategySpecification(UploadStrategySpecification strategy) { 242 250 if (strategy == null) … … 253 261 } 254 262 263 /** 264 * Gets the upload strategy the user chose 265 * @return The strategy 266 */ 255 267 public UploadStrategySpecification getUploadStrategySpecification() { 256 268 UploadStrategy strategy = getUploadStrategy(); … … 301 313 } 302 314 315 /** 316 * Load the panel contents from preferences 317 */ 303 318 public void initFromPreferences() { 304 319 UploadStrategy strategy = UploadStrategy.getFromPreferences(); … … 309 324 } 310 325 326 /** 327 * Stores the values that the user has input into the preferences 328 */ 311 329 public void rememberUserInput() { 312 330 UploadStrategy strategy = getUploadStrategy(); … … 376 394 } 377 395 396 /** 397 * Sets the focus on the chunk size field 398 */ 378 399 public void initEditingOfChunkSize() { 379 400 tfChunkSize.requestFocusInWindow();
Note:
See TracChangeset
for help on using the changeset viewer.