001// License: GPL. For details, see LICENSE file.
002package 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 */
009public interface ProgressRenderer {
010    void setTaskTitle(String taskTitle);
011
012    void setCustomText(String message);
013
014    void setIndeterminate(boolean indeterminate);
015
016    void setMaximum(int maximum);
017
018    void setValue(int value);
019}