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

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

Inheritance diagram for 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.

Roland Pl├╝ss

Member Function Documentation

§ add()

void add ( String  name,
DecorationFactory  factory 

Add factory.

§ addDefaultFactories()

void addDefaultFactories ( )

Add default factories.

§ getNamed()

DecorationFactory getNamed ( String  name)

Named factory or null if not found.

§ new()

Create decoration 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: