Component_NumberInput Class
The number-input component defines the logic for the number-input window of the default In-Game UI.
Item Index
Methods
action_addNumber
(
-
sender -
params
An action-method to add a single number/digit.
Parameters:
-
sendergs.Object_BaseThe sender of the action.
-
paramsObjectThe params-object which need a number-property containing the digit/number to add.
action_removeNumber
(
-
sender -
[params=null]
An action-method to clear the number at the current cursor position.
Parameters:
-
sendergs.Object_BaseThe sender of the action.
-
[params=null]Object optionalThe params-object. Can be null.
setNumber
(
-
number
Puts the specified number into the UI label-objects to make it visible on screen.
Parameters:
-
numberStringThe number to set.
setup
()
Initializes the number-input component.
Properties
digits
Number
The max. number of digits of the number.
digits
Number
protected
The number-cursor position.
number
String
The current number as text.
