|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sadun.util.TextProgressBar
NOT FUNCTIONAL YET To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates. To enable and disable the creation of type comments go to Window>Preferences>Java>Code Generation.
Field Summary | |
static java.lang.String |
ANSI
|
Constructor Summary | |
TextProgressBar(java.lang.String terminalType)
|
|
TextProgressBar(java.lang.String terminalType,
int total)
|
Method Summary | |
int |
getProgress()
Returns the progress. |
int |
getTotal()
Returns the total. |
void |
inc()
|
void |
inc(int n)
|
static void |
main(java.lang.String[] args)
|
void |
setProgress(int progress)
Sets the progress. |
void |
setTotal(int total)
Sets the total. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String ANSI
Constructor Detail |
public TextProgressBar(java.lang.String terminalType)
public TextProgressBar(java.lang.String terminalType, int total)
Method Detail |
public void inc(int n)
public void inc()
public static void main(java.lang.String[] args) throws java.lang.InterruptedException
java.lang.InterruptedException
public int getTotal()
public void setTotal(int total)
total
- The total to setpublic int getProgress()
public void setProgress(int progress)
progress
- The progress to set
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |