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)

Inherited Variables

Inherited Methods

Defined by Widget

draw ():Void

force redrawing of the widget; this is in normal circonstances handled automatically

getWidth ():Float

Returns:

the widget real width (in pixels), calculated from the width of the parent (or stage) and the relativeWidth

Defined by Sprite

startDrag (?lockCenter:Bool, ?bounds:Rectangle):Void

Defined by DisplayObjectContainer

Defined by InteractiveObject

Defined by DisplayObject

Defined by EventDispatcher