Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
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.
void addDefaultCreators ()
 Add default canvas creators.
CanvasCreator getNamed (String name)
 Named creator or null if not found.
CanvasCreators new ()
 Create canvas creators.
void remove (String name)
 Remove creator if present.
void removeAll ()
 Remove all factories.

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.

References add().

Referenced by add(), and addDefaultCreators().

◆ addDefaultCreators()

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

Add default canvas creators.

References add(), addDefaultCreators(), and removeAll().

Referenced by addDefaultCreators().

◆ getNamed()

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

Named creator or null if not found.

Referenced by remove().

◆ new()

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

Create canvas creators.

References new().

Referenced by new().

◆ remove()

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

Remove creator if present.

References getNamed().

◆ removeAll()

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

Remove all factories.

Referenced by addDefaultCreators().


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