Drag[en]gine Script Module DragonScript  1.21
Dragengine.Gui.Decorations.Factories.DecorationFactories Class Reference

List of decoration factories for use with automatic gui theme creation. More...

Inheritance diagram for Dragengine.Gui.Decorations.Factories.DecorationFactories:

Public Member Functions

void add (String name, DecorationFactory factory)
 Add factory. More...
 
void addDefaultFactories ()
 Add default factories. More...
 
DecorationFactory getNamed (String name)
 Named factory or null if not found. More...
 
DecorationFactories new ()
 Create decoration factories. More...
 
void remove (String name)
 Remove factory if present. More...
 
void removeAll ()
 Remove all factories. More...
 

Detailed Description

List of decoration factories for use with automatic gui theme creation.

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

Member Function Documentation

◆ add()

void Dragengine.Gui.Decorations.Factories.DecorationFactories.add ( String  name,
DecorationFactory  factory 
)

Add factory.

◆ addDefaultFactories()

void Dragengine.Gui.Decorations.Factories.DecorationFactories.addDefaultFactories ( )

Add default factories.

◆ getNamed()

DecorationFactory Dragengine.Gui.Decorations.Factories.DecorationFactories.getNamed ( String  name)

Named factory or null if not found.

◆ new()

DecorationFactories Dragengine.Gui.Decorations.Factories.DecorationFactories.new ( )

Create decoration factories.

◆ remove()

void Dragengine.Gui.Decorations.Factories.DecorationFactories.remove ( String  name)

Remove factory if present.

◆ removeAll()

void Dragengine.Gui.Decorations.Factories.DecorationFactories.removeAll ( )

Remove all factories.


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