|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.planeth.common.helper.WordReader
Helper to store strings, for excample from a character listener
| Constructor Summary | |
WordReader(int maxLetterTime)
Constructor for WordReader. |
|
| Method Summary | |
void |
deleteChar()
Deletes the last char of the word |
java.lang.String |
getWord()
returns the word |
void |
putChar(char chr)
Appends a char to the word |
void |
resetWord()
Resets (deletes) the word |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WordReader(int maxLetterTime)
maxLetterTime - max waitTime for the next letter. If exceeded, the word would be resetted| Method Detail |
public void putChar(char chr)
chr - public void deleteChar()
public java.lang.String getWord()
public void resetWord()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||