Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.Gui.WSSEditBindings Class Reference

WindowSettingsSheet editing input bindings. More...

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

Public Member Functions

Widget createWidget ()
 Create widget.
BindingManager getBindingManager ()
 Binding manager to use.
CommandManager getCommandManager ()
 Command manager to use.
WSSEditBindings new ()
 Create window settings sheet.
WSSEditBindings new (BindingManager bindingManager, CommandManager commandManager)
 Create window settings sheet.
WSSEditBindings new (BindingManager bindingManager, CommandManager commandManager, String identifier, String title)
WSSEditBindings new (String identifier, String title)
 Create DefaultWindowSettingsSheet.
void resetSettings (Widget widget)
void saveSettings (Widget widget)
Public Member Functions inherited from Dragengine.Gui.DefaultWindowSettingsSheet
String getIdentifier ()
 Unique identifier of sheet.
String getTitle ()
 Title shown in toggle button.
void setTitle (String title)
 Set title shown in toggle button.

Public Attributes

BindingManager pBindingManager
CommandManager pCommandManager
Public Attributes inherited from Dragengine.Gui.DefaultWindowSettingsSheet
String pIdentifier
String pTitle

Protected Member Functions

void addCommands (EditBindingsPanel editBindings)
 Add commands to edit bindings panel.
void modelAddAxis (Array list, String name)
 If command is present add EditBindingsListModelEntry for axis use.
void modelAddButton (Array list, String name)
 If command is present add EditBindingsListModelEntry for button use.

Detailed Description

WindowSettingsSheet editing input bindings.

Member Function Documentation

◆ addCommands()

void Dragengine.Gui.WSSEditBindings.addCommands ( EditBindingsPanel editBindings)
protected

Add commands to edit bindings panel.

Default implementation adds all commands defined by the DragonScript module if present in the binding manager.

References addCommands(), createWidget(), and new().

Referenced by addCommands(), and modelAddAxis().

◆ createWidget()

Widget Dragengine.Gui.WSSEditBindings.createWidget ( )

Create widget.

Creates instance of EditBindingsPanel.

Implements Dragengine.Gui.WindowSettingsSheet.

References pCommandManager.

Referenced by addCommands().

◆ getBindingManager()

BindingManager Dragengine.Gui.WSSEditBindings.getBindingManager ( )

Binding manager to use.

References new().

Referenced by saveSettings().

◆ getCommandManager()

CommandManager Dragengine.Gui.WSSEditBindings.getCommandManager ( )

Command manager to use.

References new(), and pBindingManager.

Referenced by resetSettings().

◆ modelAddAxis()

void Dragengine.Gui.WSSEditBindings.modelAddAxis ( Array list,
String name )
protected

◆ modelAddButton()

void Dragengine.Gui.WSSEditBindings.modelAddButton ( Array list,
String name )
protected

If command is present add EditBindingsListModelEntry for button use.

Referenced by modelAddAxis().

◆ new() [1/4]

WSSEditBindings Dragengine.Gui.WSSEditBindings.new ( )

Create window settings sheet.

Uses binding manager from BaseGameWorld.

References new().

Referenced by addCommands(), getBindingManager(), getCommandManager(), modelAddAxis(), new(), new(), and new().

◆ new() [2/4]

WSSEditBindings Dragengine.Gui.WSSEditBindings.new ( BindingManager bindingManager,
CommandManager commandManager )

Create window settings sheet.

◆ new() [3/4]

WSSEditBindings Dragengine.Gui.WSSEditBindings.new ( BindingManager bindingManager,
CommandManager commandManager,
String identifier,
String title )

References new().

◆ new() [4/4]

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

◆ resetSettings()

void Dragengine.Gui.WSSEditBindings.resetSettings ( Widget widget)

Reset settings.

Implements Dragengine.Gui.WindowSettingsSheet.

References getCommandManager(), and pCommandManager.

Referenced by modelAddAxis().

◆ saveSettings()

void Dragengine.Gui.WSSEditBindings.saveSettings ( Widget widget)

Save settings.

Implements Dragengine.Gui.WindowSettingsSheet.

References getBindingManager(), and pBindingManager.

Referenced by modelAddAxis().

Member Data Documentation

◆ pBindingManager

BindingManager Dragengine.Gui.WSSEditBindings.pBindingManager

Referenced by getCommandManager(), and saveSettings().

◆ pCommandManager

CommandManager Dragengine.Gui.WSSEditBindings.pCommandManager

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