Libraries.Interface.DefaultInputSets Documentation

Inherits from: Libraries.Language.Object

Actions Documentation

AddAltModifier(Libraries.Game.InputSet set)

AddControlModifier(Libraries.Game.InputSet set)

AddMetaModifier(Libraries.Game.InputSet set)

AddShiftModifier(Libraries.Game.InputSet set)

Compare(Libraries.Language.Object object)

This action compares two object hash codes and returns an integer. The result is larger if this hash code is larger than the object passed as a parameter, smaller, or equal. In this case, -1 means smaller, 0 means equal, and 1 means larger. This action was changed in Quorum 7 to return an integer, instead of a CompareResult object, because the previous implementation was causing efficiency issues.

Parameters

Return

integer: The Compare result, Smaller, Equal, or Larger.

Example

Object o
Object t
integer result = o:Compare(t) //1 (larger), 0 (equal), or -1 (smaller)

Equals(Libraries.Language.Object object)

This action determines if two objects are equal based on their hash code values.

Parameters

Return

boolean: True if the hash codes are equal and false if they are not equal.

Example

use Libraries.Language.Object
use Libraries.Language.Types.Text
Object o
Text t
boolean result = o:Equals(t)

GetDownArrowKey()

GetEnterKey()

GetHashCode()

This action gets the hash code for an object.

Return

integer: The integer hash code of the object.

Example

Object o
integer hash = o:GetHashCode()

GetLeftArrowKey()

GetLeftClick()

GetRightArrowKey()

GetRightClick()

GetTextInputSet()

GetUpArrowKey()

SetupBlockEditorInput(Libraries.Game.GameInput gameInput)

This needs builds off the textbox and text field input tables so make sure those are added before this one

Parameters

SetupButtonGroupInput(Libraries.Game.GameInput gameInput)

SetupButtonInput(Libraries.Game.GameInput gameInput)

SetupChartInput(Libraries.Game.GameInput gameInput)

find dialog

Parameters

SetupDialogInput(Libraries.Game.GameInput gameInput)

SetupFlowChartInput(Libraries.Game.GameInput gameInput)

palette item

Parameters

SetupGutterInput(Libraries.Game.GameInput gameInput)

SetupListInput(Libraries.Game.GameInput gameInput)

SetupMenuInput(Libraries.Game.GameInput gameInput)

The table for the TabViewArea makes it possible to escape from TabPane content to focus on the TabBar.

Parameters

SetupSceneEditorInput(Libraries.Game.GameInput gameInput)

Selection

Parameters

SetupScrollBarControlInput(Libraries.Game.GameInput gameInput)

undo/redo

Parameters

SetupScrollPaneInput(Libraries.Game.GameInput gameInput)

Giving the scroll bars an empty behavior for mouse click will make them intercept the mouse clicks even if it isn't going to do anything with them. Necessary for e.g. TextBox to ensure attempts to use the scroll bars don't propagate down as clicks in the text area.

Parameters

SetupSpreadsheetInput(Libraries.Game.GameInput gameInput)

On Windows, Shift-F10 opens context menus just like right-clicking.

Parameters

SetupTabPaneInput(Libraries.Game.GameInput gameInput)

SetupTextBoxInput(Libraries.Game.GameInput gameInput)

SetupTextFieldInput(Libraries.Game.GameInput gameInput)

first do copy paste

Parameters

SetupToolbarInput(Libraries.Game.GameInput gameInput)

SetupTreeInput(Libraries.Game.GameInput gameInput)

SetupTreeTableInput(Libraries.Game.GameInput gameInput)

first do copy paste

Parameters