Drag[en]gine Script Module DragonScript  1.23
Dragengine.Gui.Designers.WidgetDesigners Class Reference

List of widget designers for use with gui theme creation. More...

Inheritance diagram for Dragengine.Gui.Designers.WidgetDesigners:

Public Member Functions

void add (String name, WidgetDesigner designer)
 Add designer. More...
 
void addDefaultDesigners ()
 Add default factories. More...
 
WidgetDesigner getNamed (String name)
 Named designer or null if not found. More...
 
WidgetDesigners new ()
 Create widget designer factories. More...
 
void removeAll ()
 Remove all factories. More...
 
void removeNamed (String name)
 Remove designer if present. More...
 

Detailed Description

List of widget designers for use with gui theme creation.

The designers in this list server as blue prints for designers to be used by automatic gui themes and must not be changed. For this reason call copyDesigner() on received designers to create a new designer with appropriate configuration for modifying and using. If not modified designers can be directly assigned to widgets. Widget users have to keep in mind the used widget designers are shared.

Member Function Documentation

◆ add()

void Dragengine.Gui.Designers.WidgetDesigners.add ( String  name,
WidgetDesigner  designer 
)

Add designer.

◆ addDefaultDesigners()

void Dragengine.Gui.Designers.WidgetDesigners.addDefaultDesigners ( )

Add default factories.

◆ getNamed()

WidgetDesigner Dragengine.Gui.Designers.WidgetDesigners.getNamed ( String  name)

Named designer or null if not found.

◆ new()

WidgetDesigners Dragengine.Gui.Designers.WidgetDesigners.new ( )

Create widget designer factories.

◆ removeAll()

void Dragengine.Gui.Designers.WidgetDesigners.removeAll ( )

Remove all factories.

◆ removeNamed()

void Dragengine.Gui.Designers.WidgetDesigners.removeNamed ( String  name)

Remove designer if present.


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