Drag[en]gine Script Module DragonScript
1.23
|
Default implementation of text model. More...
Public Member Functions | |
void | addListener (TextModelListener listener) |
Add listener. More... | |
String | getText () |
Text. More... | |
DefaultTextModel | new () |
Create text model with empty string. More... | |
DefaultTextModel | new (String text) |
Create text model with initial text. More... | |
void | removeListener (TextModelListener listener) |
Remove listener. More... | |
void | setText (String text) |
Set text. More... | |
Protected Member Functions | |
void | notifyTextChanged () |
Notify all that the text changed. More... | |
Default implementation of text model.
void Dragengine.Gui.DefaultTextModel.addListener | ( | TextModelListener | listener | ) |
Add listener.
Implements Dragengine.Gui.TextModel.
String Dragengine.Gui.DefaultTextModel.getText | ( | ) |
Text.
Implements Dragengine.Gui.TextModel.
DefaultTextModel Dragengine.Gui.DefaultTextModel.new | ( | ) |
Create text model with empty string.
DefaultTextModel Dragengine.Gui.DefaultTextModel.new | ( | String | text | ) |
Create text model with initial text.
|
protected |
Notify all that the text changed.
void Dragengine.Gui.DefaultTextModel.removeListener | ( | TextModelListener | listener | ) |
Remove listener.
Implements Dragengine.Gui.TextModel.
void Dragengine.Gui.DefaultTextModel.setText | ( | String | text | ) |