View Javadoc

1   package com.ochafik.util.progress;
2   
3   public interface ProgressModel {
4       public void setIndeterminate(boolean value);
5       public boolean isIndeterminate();
6       public void addProgress(long value);
7       public void setProgress(long value);
8       public long getProgress();
9       public void addMaximum(long value);
10      public void setMaximum(long max);
11      public long getMaximum();
12      public String getTitle();
13      public String getComment();
14      public void setTitle(String t);
15      public void setComment(String t);
16      public void setShowRemainingTime(boolean value);
17      public boolean getShowRemainingTime();
18  
19      public boolean isInterrupted();
20      public void setInterrupted(boolean value);
21  }