|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.fh_mannheim.mm.dms.utils.Progress
Progress is a text only progressbar and can be used to extend gui progressbars.
| Constructor Summary | |
Progress()
Constructor. |
|
Progress(int nMax)
Constructor. |
|
| Method Summary | |
double |
getPercent()
Get the current percentage. |
java.lang.String |
getPercentText()
Get the current percentage as text. |
int |
getValue()
Get the current value. |
int |
next()
Increase the current value. |
void |
reset()
Reset the current value. |
void |
setMaximum(int nMax)
Set the maximum value. |
void |
setValue(int nPosition)
Set the current value. |
int |
showMaximum()
Increase the current value and show it as System.out. |
int |
showNext()
Increase the current value and show it as System.out. |
int |
showValue(int nPosition)
Set the current value and show it as System.out. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Progress()
public Progress(int nMax)
nMax - Maximum value| Method Detail |
public double getPercent()
public java.lang.String getPercentText()
public int getValue()
public int next()
public void reset()
public void setMaximum(int nMax)
nMax - Maximum valuepublic void setValue(int nPosition)
nPosition - Current valuepublic int showMaximum()
public int showNext()
public int showValue(int nPosition)
nPosition - Current value
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||