Drag[en]gine Script Module DragonScript  1.3
Dragengine.Gui.Borders.Factories.BorderFactories Class Reference

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

Inheritance diagram for Dragengine.Gui.Borders.Factories.BorderFactories:

Public Member Functions

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

Detailed Description

List of border 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 BorderFactory.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.Borders.Factories.BorderFactories.add ( String  name,
BorderFactory  factory 
)

Add factory.

◆ addDefaultFactories()

void Dragengine.Gui.Borders.Factories.BorderFactories.addDefaultFactories ( )

Add default factories.

◆ getNamed()

BorderFactory Dragengine.Gui.Borders.Factories.BorderFactories.getNamed ( String  name)

Named factory or null if not found.

◆ new()

BorderFactories Dragengine.Gui.Borders.Factories.BorderFactories.new ( )

Create border factories.

◆ remove()

void Dragengine.Gui.Borders.Factories.BorderFactories.remove ( String  name)

Remove factory if present.

◆ removeAll()

void Dragengine.Gui.Borders.Factories.BorderFactories.removeAll ( )

Remove all factories.


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