public interface TextSource
| Modifier and Type | Interface and Description |
|---|---|
static interface |
TextSource.Factory
Factory interface.
|
static interface |
TextSource.Listener
Listener interface.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(TextSource.Listener listener)
Listener registration.
|
String |
getText()
Return the current text.
|
boolean |
isDirty()
Return whether the text has changed since the last call to
getText() or setText(java.lang.String). |
void |
setText(String text)
Set the text.
|
String getText()
void setText(String text)
text - The new text.boolean isDirty()
getText() or setText(java.lang.String).true => the text has changed.void addListener(TextSource.Listener listener)
listener - The listener.Copyright © 2000-2014. All Rights Reserved.