Drag[en]gine Script Module DragonScript  1.23
Dragengine.Gui.TextModel Interface Reference
Inheritance diagram for Dragengine.Gui.TextModel:
Dragengine.Gui.DefaultTextModel Dragengine.Gui.RangeTextModel

Public Member Functions

void addListener (TextModelListener listener)
 
String getText ()
 
void removeListener (TextModelListener listener)
 
void setText (String text)
 

Detailed Description

Manages a text string.

Member Function Documentation

◆ addListener()

void Dragengine.Gui.TextModel.addListener ( TextModelListener  listener)

Adds a text model listener.

Parameters
listenerListener to add

Implemented in Dragengine.Gui.DefaultTextModel.

◆ getText()

String Dragengine.Gui.TextModel.getText ( )

Retrieve the text string.

Returns
text string

Implemented in Dragengine.Gui.DefaultTextModel.

◆ removeListener()

void Dragengine.Gui.TextModel.removeListener ( TextModelListener  listener)

Removes a text model listener.

Parameters
listenerListener to remove

Implemented in Dragengine.Gui.DefaultTextModel.

◆ setText()

void Dragengine.Gui.TextModel.setText ( String  text)

Sets the text string.

Parameters
textText string

Implemented in Dragengine.Gui.RangeTextModel, and Dragengine.Gui.DefaultTextModel.


The documentation for this interface was generated from the following file: