|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.xinapse.util.Twiddler
public class Twiddler
Class to show a twiddly rotating line to indicate that some action is being performed in text-mode applications.
| Constructor Summary | |
|---|---|
Twiddler()
Creates a new Twiddler, writing twiddles to System.out. |
|
Twiddler(java.io.PrintStream s)
Creates a new Twiddler, writing twiddles the specified PrintStream. |
|
| Method Summary | |
|---|---|
void |
done()
Indicates that the operation for which this twiddler was created is finished. |
void |
done(java.lang.String message)
Indicates that the operation for which this twiddler was created is finished. |
void |
twiddle()
Twiddles the twiddler. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Twiddler()
public Twiddler(java.io.PrintStream s)
s - the PrintStream to which twiddles will be written.| Method Detail |
|---|
public void twiddle()
public void done()
public void done(java.lang.String message)
message - the message to print.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||