Drag[en]gine Script Module DragonScript  1.23
Dragengine.Gui.CanvasCreators.CanvasCreators Class Reference

List of canvas creators for use with automatic gui theme creation. More...

Inheritance diagram for Dragengine.Gui.CanvasCreators.CanvasCreators:

Public Member Functions

void add (String name, CanvasCreator creator)
 Add creator. More...
 
void addDefaultCreators ()
 Add default canvas creators. More...
 
CanvasCreator getNamed (String name)
 Named creator or null if not found. More...
 
CanvasCreators new ()
 Create canvas creators. More...
 
void remove (String name)
 Remove creator if present. More...
 
void removeAll ()
 Remove all factories. More...
 

Detailed Description

List of canvas creators for use with automatic gui theme creation.

The creators in this list server as blue prints for creators to be used by automatic gui themes and must not be changed. For this reason call CanvasCreator.copyCanvasCreator() on received creators to create a new creator of the matching type and with appropriate configuration for modifying and using.

Member Function Documentation

◆ add()

void Dragengine.Gui.CanvasCreators.CanvasCreators.add ( String  name,
CanvasCreator  creator 
)

Add creator.

◆ addDefaultCreators()

void Dragengine.Gui.CanvasCreators.CanvasCreators.addDefaultCreators ( )

Add default canvas creators.

◆ getNamed()

CanvasCreator Dragengine.Gui.CanvasCreators.CanvasCreators.getNamed ( String  name)

Named creator or null if not found.

◆ new()

CanvasCreators Dragengine.Gui.CanvasCreators.CanvasCreators.new ( )

Create canvas creators.

◆ remove()

void Dragengine.Gui.CanvasCreators.CanvasCreators.remove ( String  name)

Remove creator if present.

◆ removeAll()

void Dragengine.Gui.CanvasCreators.CanvasCreators.removeAll ( )

Remove all factories.


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