Drag[en]gine Script Module DragonScript
1.23
|
Command entry in EditBindingsListModel. More...
Classes | |
enum | InputSource |
Input source. More... | |
Public Member Functions | |
void | addAxisBinding (Binding binding) |
Add axis binding. More... | |
void | addButtonBinding (Binding binding) |
Add button binding. More... | |
void | forEachAxisBinding (Block ablock) |
Visit axis bindings with block with parameter Binding. More... | |
void | forEachButtonBinding (Block ablock) |
Visit button bindings with block with parameter Binding. More... | |
Binding | getAxisBindingAt (int index) |
Axis binding at index. More... | |
int | getAxisBindingCount () |
Number of axis bindings. More... | |
Binding | getButtonBindingAt (int index) |
Button binding at index. More... | |
int | getButtonBindingCount () |
Number of button bindings. More... | |
Command | getCommand () |
Command. More... | |
InputSource | getInputSource () |
Input source. More... | |
bool | hasAxisBinding (Binding binding) |
Axis binding is present. More... | |
bool | hasButtonBinding (Binding binding) |
Button binding is present. More... | |
EditBindingsListModelEntry | new (Command command, InputSource inputSource) |
Create command entry for EditBindingsListModel. More... | |
void | removeAllAxisBindings () |
Remove all axis bindings. More... | |
void | removeAllButtonBindings () |
Remove all button bindings. More... | |
void | removeAxisBinding (Binding binding) |
Remove axis binding. More... | |
void | removeButtonBinding (Binding binding) |
Remove button binding. More... | |
void | updateBindings (EditBindingsListModel model) |
Update bindings. More... | |
Public Attributes | |
Array | pAxisBindings |
Array | pButtonBindings |
Command | pCommand |
InputSource | pInputSource |
Command entry in EditBindingsListModel.
void Dragengine.Gui.EditBindingsListModelEntry.addAxisBinding | ( | Binding | binding | ) |
Add axis binding.
Call model.notifyContentChanged(int, int) to notifiy listeners about the change.
void Dragengine.Gui.EditBindingsListModelEntry.addButtonBinding | ( | Binding | binding | ) |
Add button binding.
Call model.notifyContentChanged(int, int) to notifiy listeners about the change.
void Dragengine.Gui.EditBindingsListModelEntry.forEachAxisBinding | ( | Block | ablock | ) |
Visit axis bindings with block with parameter Binding.
void Dragengine.Gui.EditBindingsListModelEntry.forEachButtonBinding | ( | Block | ablock | ) |
Visit button bindings with block with parameter Binding.
Binding Dragengine.Gui.EditBindingsListModelEntry.getAxisBindingAt | ( | int | index | ) |
Axis binding at index.
int Dragengine.Gui.EditBindingsListModelEntry.getAxisBindingCount | ( | ) |
Number of axis bindings.
Binding Dragengine.Gui.EditBindingsListModelEntry.getButtonBindingAt | ( | int | index | ) |
Button binding at index.
int Dragengine.Gui.EditBindingsListModelEntry.getButtonBindingCount | ( | ) |
Number of button bindings.
Command Dragengine.Gui.EditBindingsListModelEntry.getCommand | ( | ) |
Command.
InputSource Dragengine.Gui.EditBindingsListModelEntry.getInputSource | ( | ) |
Input source.
bool Dragengine.Gui.EditBindingsListModelEntry.hasAxisBinding | ( | Binding | binding | ) |
Axis binding is present.
bool Dragengine.Gui.EditBindingsListModelEntry.hasButtonBinding | ( | Binding | binding | ) |
Button binding is present.
EditBindingsListModelEntry Dragengine.Gui.EditBindingsListModelEntry.new | ( | Command | command, |
InputSource | inputSource | ||
) |
Create command entry for EditBindingsListModel.
List of bindings is empty. Use updateBindings() to update the list. The input source defines what kind of bindings can be ued. Only matching input device sources are allowed to be used.
command | Command to show. |
inputSource | Input source required for this command. |
void Dragengine.Gui.EditBindingsListModelEntry.removeAllAxisBindings | ( | ) |
Remove all axis bindings.
Call model.notifyContentChanged(int, int) to notifiy listeners about the change.
void Dragengine.Gui.EditBindingsListModelEntry.removeAllButtonBindings | ( | ) |
Remove all button bindings.
Call model.notifyContentChanged(int, int) to notifiy listeners about the change.
void Dragengine.Gui.EditBindingsListModelEntry.removeAxisBinding | ( | Binding | binding | ) |
Remove axis binding.
Call model.notifyContentChanged(int, int) to notifiy listeners about the change.
void Dragengine.Gui.EditBindingsListModelEntry.removeButtonBinding | ( | Binding | binding | ) |
Remove button binding.
Call model.notifyContentChanged(int, int) to notifiy listeners about the change.
void Dragengine.Gui.EditBindingsListModelEntry.updateBindings | ( | EditBindingsListModel | model | ) |
Update bindings.
Call after bindings affecting command changed in the bindings manager. Call model.notifyContentChanged(int, int) to notifiy listeners about the change.
Array Dragengine.Gui.EditBindingsListModelEntry.pAxisBindings |
Array Dragengine.Gui.EditBindingsListModelEntry.pButtonBindings |
Command Dragengine.Gui.EditBindingsListModelEntry.pCommand |
InputSource Dragengine.Gui.EditBindingsListModelEntry.pInputSource |