Drag[en]gine Script Module DragonScript Script API  1.0
CanvasCreatorFactories Class Reference

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

Inheritance diagram for CanvasCreatorFactories:

Public Member Functions

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

Detailed Description

List of canvas creator 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 CanvasCreatorFactory.copyFactory() on received factories to create a new factory of the matching type and with appropriate configuration for modifying and using.

Author
Roland Pl├╝ss
Version
1.0
Date
2015

Member Function Documentation

§ add()

void add ( String  name,
CanvasCreatorFactory  factory 
)

Add factory.

§ addDefaultFactories()

void addDefaultFactories ( )

Add default factories.

§ getNamed()

CanvasCreatorFactory getNamed ( String  name)

Named factory or null if not found.

§ new()

Create canvas creator factories.

§ remove()

void remove ( String  name)

Remove factory if present.

§ removeAll()

void removeAll ( )

Remove all factories.


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