Drag[en]gine Script Module DragonScript Script API  1.0
DefaultTextModel Class Reference
Inheritance diagram for DefaultTextModel:
TextModel

Public Member Functions

void addNotifier (TextModelNotifier notifier)
 
String getText ()
 
DefaultTextModel new ()
 
DefaultTextModel new (String text)
 
void removeNotifier (TextModelNotifier notifier)
 
void setText (String text)
 

Detailed Description

Manages a text string.

Member Function Documentation

void addNotifier ( TextModelNotifier  notifier)

Adds a text model notifier.

Parameters
notifierNotifier to add

Implements TextModel.

String getText ( )

Retrieve the text string.

Returns
text string

Implements TextModel.

Creates a new DefaultTextModel with the an empty string.

DefaultTextModel new ( String  text)

Creates a new DefaultTextModel with the given text string.

Parameters
textText string
void removeNotifier ( TextModelNotifier  notifier)

Removes a text model notifier.

Parameters
notifierNotifier to remove

Implements TextModel.

void setText ( String  text)

Sets the text string.

Parameters
textText string

Implements TextModel.


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