Drag[en]gine Script Module DragonScript  1.23
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. More...
 
BindingManager getBindingManager ()
 Binding manager to use. More...
 
CommandManager getCommandManager ()
 Command manager to use. More...
 
WSSEditBindings new ()
 Create window settings sheet. More...
 
WSSEditBindings new (BindingManager bindingManager, CommandManager commandManager)
 Create window settings sheet. More...
 
WSSEditBindings new (BindingManager bindingManager, CommandManager commandManager, String identifier, String title)
 
WSSEditBindings new (String identifier, String title)
 Create DefaultWindowSettingsSheet. More...
 
void resetSettings (Widget widget)
 
void saveSettings (Widget widget)
 
- Public Member Functions inherited from Dragengine.Gui.DefaultWindowSettingsSheet
String getIdentifier ()
 Unique identifier of sheet. More...
 
String getTitle ()
 Title shown in toggle button. More...
 
void setTitle (String title)
 Set title shown in toggle button. More...
 

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. More...
 
void modelAddAxis (Array list, String name)
 If command is present add EditBindingsListModelEntry for axis use. More...
 
void modelAddButton (Array list, String name)
 If command is present add EditBindingsListModelEntry for button use. More...
 

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.

◆ createWidget()

Widget Dragengine.Gui.WSSEditBindings.createWidget ( )

Create widget.

Creates instance of EditBindingsPanel.

Implements Dragengine.Gui.WindowSettingsSheet.

◆ getBindingManager()

BindingManager Dragengine.Gui.WSSEditBindings.getBindingManager ( )

Binding manager to use.

◆ getCommandManager()

CommandManager Dragengine.Gui.WSSEditBindings.getCommandManager ( )

Command manager to use.

◆ modelAddAxis()

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

If command is present add EditBindingsListModelEntry for axis use.

◆ modelAddButton()

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

If command is present add EditBindingsListModelEntry for button use.

◆ new() [1/4]

WSSEditBindings Dragengine.Gui.WSSEditBindings.new ( )

Create window settings sheet.

Uses binding manager from BaseGameWorld.

◆ 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 
)

◆ 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.

◆ saveSettings()

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

Save settings.

Implements Dragengine.Gui.WindowSettingsSheet.

Member Data Documentation

◆ pBindingManager

BindingManager Dragengine.Gui.WSSEditBindings.pBindingManager

◆ pCommandManager

CommandManager Dragengine.Gui.WSSEditBindings.pCommandManager

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