class TextSpinBox
package buw
extends SpinBox › Control › Widget › Sprite › DisplayObjectContainer › InteractiveObject › DisplayObject › EventDispatcher
Constructor
new (?listener:TextSpinBox ‑> Void, text:String, ?value:Int, ?minVal:Int, ?maxVal:Int, ?step:Int, ?digits:Int)
Parameters:
listener | what to do when < / > are clicked; defaults to null |
---|---|
text | the text associated to the spin box |
value | the initial value; defaults to 1 |
minVal | the minimum value; defaults to 1 |
maxVal | the maximum value; defaults to 99 |
step | the increase / decrease value; defaults to 1 |
digits | the number of digits to display; defaults to 2 (for 00..99) |