|
Drag[en]gine Script Module DragonScript 1.35
|
List of canvas creators for use with automatic gui theme creation. More...
Public Member Functions | |
| void | add (String name, CanvasCreator creator) |
| Add creator. | |
| void | addDefaultCreators () |
| Add default canvas creators. | |
| CanvasCreator | getNamed (String name) |
| Named creator or null if not found. | |
| CanvasCreators | new () |
| Create canvas creators. | |
| void | remove (String name) |
| Remove creator if present. | |
| void | removeAll () |
| Remove all factories. | |
List of canvas creators for use with automatic gui theme creation.
The creators in this list server as blue prints for creators to be used by automatic gui themes and must not be changed. For this reason call CanvasCreator.copyCanvasCreator() on received creators to create a new creator of the matching type and with appropriate configuration for modifying and using.
| void Dragengine.Gui.CanvasCreators.CanvasCreators.add | ( | String | name, |
| CanvasCreator | creator ) |
| void Dragengine.Gui.CanvasCreators.CanvasCreators.addDefaultCreators | ( | ) |
Add default canvas creators.
References add(), addDefaultCreators(), and removeAll().
Referenced by addDefaultCreators().
| CanvasCreator Dragengine.Gui.CanvasCreators.CanvasCreators.getNamed | ( | String | name | ) |
Named creator or null if not found.
Referenced by remove().
| CanvasCreators Dragengine.Gui.CanvasCreators.CanvasCreators.new | ( | ) |
| void Dragengine.Gui.CanvasCreators.CanvasCreators.remove | ( | String | name | ) |
Remove creator if present.
References getNamed().
| void Dragengine.Gui.CanvasCreators.CanvasCreators.removeAll | ( | ) |
Remove all factories.
Referenced by addDefaultCreators().