001    package com.ochafik.util.progress;
002    
003    public interface ProgressModel {
004        public void setIndeterminate(boolean value);
005        public boolean isIndeterminate();
006        public void addProgress(long value);
007        public void setProgress(long value);
008        public long getProgress();
009        public void addMaximum(long value);
010        public void setMaximum(long max);
011        public long getMaximum();
012        public String getTitle();
013        public String getComment();
014        public void setTitle(String t);
015        public void setComment(String t);
016        public void setShowRemainingTime(boolean value);
017        public boolean getShowRemainingTime();
018    
019        public boolean isInterrupted();
020        public void setInterrupted(boolean value);
021    }