Drag[en]gine Script Module DragonScript
1.21
|
List of decoration factories for use with automatic gui theme creation. More...
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... | |
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.
void Dragengine.Gui.Decorations.Factories.DecorationFactories.add | ( | String | name, |
DecorationFactory | factory | ||
) |
Add factory.
void Dragengine.Gui.Decorations.Factories.DecorationFactories.addDefaultFactories | ( | ) |
Add default factories.
DecorationFactory Dragengine.Gui.Decorations.Factories.DecorationFactories.getNamed | ( | String | name | ) |
Named factory or null if not found.
DecorationFactories Dragengine.Gui.Decorations.Factories.DecorationFactories.new | ( | ) |
Create decoration factories.
void Dragengine.Gui.Decorations.Factories.DecorationFactories.remove | ( | String | name | ) |
Remove factory if present.
void Dragengine.Gui.Decorations.Factories.DecorationFactories.removeAll | ( | ) |
Remove all factories.