001    // License: GPL. For details, see LICENSE file.
002    package org.openstreetmap.josm.gui.progress;
003    
004    /**
005     * Swing components can implement this interface and use a {@link SwingRenderingProgressMonitor}
006     * to render progress information.
007     *
008     */
009    public interface ProgressRenderer {
010        void setTaskTitle(String taskTitle);
011        void setCustomText(String message);
012        void setIndeterminate(boolean indeterminate);
013        void setMaximum(int maximum);
014        void setValue(int value);
015    }