Drag[en]gine Script Module DragonScript  1.21
Dragengine.Gui.MousePointers.Factories.MousePointerFactories Class Reference

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

Inheritance diagram for Dragengine.Gui.MousePointers.Factories.MousePointerFactories:

Public Member Functions

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

Detailed Description

List of mouse pointer 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 MousePointerFactory.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.MousePointers.Factories.MousePointerFactories.add ( String  name,
MousePointerFactory  factory 
)

Add factory.

◆ addDefaultFactories()

void Dragengine.Gui.MousePointers.Factories.MousePointerFactories.addDefaultFactories ( )

Add default factories.

◆ getNamed()

MousePointerFactory Dragengine.Gui.MousePointers.Factories.MousePointerFactories.getNamed ( String  name)

Named factory or null if not found.

◆ new()

MousePointerFactories Dragengine.Gui.MousePointers.Factories.MousePointerFactories.new ( )

Create mouse pointer factories.

◆ remove()

void Dragengine.Gui.MousePointers.Factories.MousePointerFactories.remove ( String  name)

Remove factory if present.

◆ removeAll()

void Dragengine.Gui.MousePointers.Factories.MousePointerFactories.removeAll ( )

Remove all factories.


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