Changeset 11673 in josm for trunk/src/org


Ignore:
Timestamp:
2017-03-05T00:15:30+01:00 (8 years ago)
Author:
michael2402
Message:

Add more Javadoc for progress monitors.

Location:
trunk/src/org/openstreetmap/josm/gui
Files:
2 edited

Legend:

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

    r11672 r11673  
    213213     * Sets the maximum progress value.
    214214     * @param progressBarMax The value that represents the rightmost point of the progress bar (100%).
     215     * @since 11672
    215216     */
    216217    public void setMaximumProgress(int progressBarMax) {
  • trunk/src/org/openstreetmap/josm/gui/progress/PleaseWaitProgressMonitor.java

    r11672 r11673  
    2626        void setVisible(boolean visible);
    2727
     28        /**
     29         * Updates the progress value to the specified progress.
     30         * @param progress The progress as integer. Between 0 and {@link PleaseWaitProgressMonitor#PROGRESS_BAR_MAX}
     31         */
    2832        void updateProgress(int progress);
    2933
     
    3842    }
    3943
     44    /**
     45     * The maximum value the progress bar that displays the current progress should have.
     46     */
    4047    public static final int PROGRESS_BAR_MAX = 10_000;
    4148    private final Component dialogParent;
Note: See TracChangeset for help on using the changeset viewer.