Drag[en]gine Script Module DragonScript  1.23
Dragengine.Utils.StyledText.StyledTextDocumentUpdater Class Reference

Styled text document updater. More...

Inheritance diagram for Dragengine.Utils.StyledText.StyledTextDocumentUpdater:

Classes

interface  Updater
 Updater. More...
 

Public Member Functions

void addUpdater (Updater updater)
 Add updater. More...
 
void dispose ()
 Dispose of styled text document updater. More...
 
StyledTextDocumentUpdater new ()
 Create styled text document. More...
 
void removeAllUpdater ()
 Remove all updaters. More...
 
void removeUpdater (Updater updater)
 Remove updater. More...
 
void update (float elapsed)
 Update elements. More...
 

Detailed Description

Styled text document updater.

Provides support for dynamic content in styled text documents. Updates certain canvas resources if called. To use dynamic content updating create an instance of this class and use it in a call to StyledTextDocument.addToCanvas(). Call update() on regular basis like for example using FrameUpdater or Element.think() .

Member Function Documentation

◆ addUpdater()

void Dragengine.Utils.StyledText.StyledTextDocumentUpdater.addUpdater ( Updater  updater)

Add updater.

◆ dispose()

void Dragengine.Utils.StyledText.StyledTextDocumentUpdater.dispose ( )

Dispose of styled text document updater.

◆ new()

StyledTextDocumentUpdater Dragengine.Utils.StyledText.StyledTextDocumentUpdater.new ( )

Create styled text document.

◆ removeAllUpdater()

void Dragengine.Utils.StyledText.StyledTextDocumentUpdater.removeAllUpdater ( )

Remove all updaters.

◆ removeUpdater()

void Dragengine.Utils.StyledText.StyledTextDocumentUpdater.removeUpdater ( Updater  updater)

Remove updater.

◆ update()

void Dragengine.Utils.StyledText.StyledTextDocumentUpdater.update ( float  elapsed)

Update elements.


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