| Constructor and Description |
|---|
StringVar()
Initializes a new StringVar with a null initial value.
|
StringVar(String value)
Initializes a new StringVar with the given initial value.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
append(char c)
Appends the given char.
|
boolean |
append(String text)
Appends the given string.
|
StringVar |
appended(char c)
Appends the given char.
|
StringVar |
appended(String text)
Appends the given string.
|
boolean |
isEmpty()
Returns true if the wrapped string is either null or empty.
|
enterFrame, exitFrame, getLevel, getName, setName, toStringpublic StringVar()
public StringVar(String value)
value - the initial valuepublic boolean isEmpty()
public boolean append(String text)
text - the text to appendpublic StringVar appended(String text)
text - the text to appendpublic boolean append(char c)
c - the char to appendpublic StringVar appended(char c)
c - the char to append