KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sslexplorer > tasks > TaskProgressBar


1 package com.sslexplorer.tasks;
2
3 import org.apache.struts.action.ActionMessage;
4
5 import com.sslexplorer.core.BundleActionMessage;
6
7 public class TaskProgressBar {
8     private int minValue, maxValue, value;
9     private String JavaDoc id;
10     private BundleActionMessage note;
11
12     public TaskProgressBar(String JavaDoc id, int minValue, int maxValue, int value) {
13         super();
14         this.id = id;
15         this.minValue = minValue;
16         this.maxValue = maxValue;
17         this.value = value;
18     }
19     
20     public BundleActionMessage getNote() {
21         return note;
22     }
23     
24     public void setNote(BundleActionMessage note) {
25         this.note = note;
26     }
27
28     public int getMaxValue() {
29         return maxValue;
30     }
31
32     public void setMaxValue(int maxValue) {
33         this.maxValue = maxValue;
34     }
35
36     public int getMinValue() {
37         return minValue;
38     }
39
40     public void setMinValue(int minValue) {
41         this.minValue = minValue;
42     }
43
44     public int getValue() {
45         return value;
46     }
47
48     public void setValue(int value) {
49         this.value = value;
50     }
51
52     public String JavaDoc getId() {
53         return id;
54     }
55
56     public void setId(String JavaDoc id) {
57         this.id = id;
58     }
59     
60 }
61
Popular Tags