Ignore:
Timestamp:
2017-06-09T20:50:22+02:00 (7 years ago)
Author:
michael2402
Message:

Document upload dialog classes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/io/UploadStrategySelectionPanel.java

    r10626 r12370  
    234234    }
    235235
     236    /**
     237     * Sets the number of uploaded objects to display
     238     * @param numUploadedObjects The number of objects
     239     */
    236240    public void setNumUploadedObjects(int numUploadedObjects) {
    237241        this.numUploadedObjects = Math.max(numUploadedObjects, 0);
     
    239243    }
    240244
     245    /**
     246     * Fills the inputs using a {@link UploadStrategySpecification}
     247     * @param strategy The strategy
     248     */
    241249    public void setUploadStrategySpecification(UploadStrategySpecification strategy) {
    242250        if (strategy == null)
     
    253261    }
    254262
     263    /**
     264     * Gets the upload strategy the user chose
     265     * @return The strategy
     266     */
    255267    public UploadStrategySpecification getUploadStrategySpecification() {
    256268        UploadStrategy strategy = getUploadStrategy();
     
    301313    }
    302314
     315    /**
     316     * Load the panel contents from preferences
     317     */
    303318    public void initFromPreferences() {
    304319        UploadStrategy strategy = UploadStrategy.getFromPreferences();
     
    309324    }
    310325
     326    /**
     327     * Stores the values that the user has input into the preferences
     328     */
    311329    public void rememberUserInput() {
    312330        UploadStrategy strategy = getUploadStrategy();
     
    376394    }
    377395
     396    /**
     397     * Sets the focus on the chunk size field
     398     */
    378399    public void initEditingOfChunkSize() {
    379400        tfChunkSize.requestFocusInWindow();
Note: See TracChangeset for help on using the changeset viewer.