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

Default implementation of WindowSettingsSheet. More...

Inheritance diagram for Dragengine.Gui.DefaultWindowSettingsSheet:
Dragengine.Gui.WindowSettingsSheet Dragengine.Gui.WSSEditBindings Dragengine.Gui.WSSModuleParameters

Public Member Functions

String getIdentifier ()
 Unique identifier of sheet. More...
 
String getTitle ()
 Title shown in toggle button. More...
 
DefaultWindowSettingsSheet new (String identifier, String title)
 Create DefaultWindowSettingsSheet. More...
 
void setTitle (String title)
 Set title shown in toggle button. More...
 
- Public Member Functions inherited from Dragengine.Gui.WindowSettingsSheet
Widget createWidget ()
 Create widget to display sheet. More...
 
void resetSettings (Widget widget)
 Reset all settings. More...
 
void saveSettings (Widget widget)
 Save all settings. More...
 

Public Attributes

String pIdentifier
 
String pTitle
 

Detailed Description

Default implementation of WindowSettingsSheet.

Subclass is required to implement createWidget(), saveSettings() and resetSettings().

Member Function Documentation

◆ getIdentifier()

String Dragengine.Gui.DefaultWindowSettingsSheet.getIdentifier ( )

Unique identifier of sheet.

Typically used to save settings in the game configuration.

Implements Dragengine.Gui.WindowSettingsSheet.

◆ getTitle()

String Dragengine.Gui.DefaultWindowSettingsSheet.getTitle ( )

Title shown in toggle button.

Implements Dragengine.Gui.WindowSettingsSheet.

◆ new()

DefaultWindowSettingsSheet Dragengine.Gui.DefaultWindowSettingsSheet.new ( String  identifier,
String  title 
)

◆ setTitle()

void Dragengine.Gui.DefaultWindowSettingsSheet.setTitle ( String  title)

Set title shown in toggle button.

Has no affect after the sheet button has been created.

Member Data Documentation

◆ pIdentifier

String Dragengine.Gui.DefaultWindowSettingsSheet.pIdentifier

◆ pTitle

String Dragengine.Gui.DefaultWindowSettingsSheet.pTitle

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