class flixel.addons.ui.FlxUINumericStepper extends FlxUIGroup implements IHasParams implements IFlxUIClickable implements IFlxUIWidget

Available on all platforms

... * @author

Class Fields

static var CHANGE_EVENT:String

static var CLICK_EVENT:String

static var EDIT_EVENT:String

static var STACK_VERTICAL:Int

Instance Fields

function new(?X:Float = 0, ?Y:Float = 0, ?StepSize:Float = 1, ?DefaultValue:Float = 0, ?Min:Float = -999, ?Max:Float = 999, ?Decimals:Int = 0, ?Stack:Int = 1, ?TextField:FlxText = null, ?ButtonPlus:FlxUITypedButton<FlxSprite> = null, ?ButtonMinus:FlxUITypedButton<FlxSprite> = null):Void

This creates a new dropdown menu. * *

X

x position of the dropdown menu *

Y

y position of the dropdown menu *

StepSize

How big is the step *

DefaultValue

Optional default numerical value for the stepper to display *

Min

Optional Minimum values for the stepper *

Max

Optional Maximum and Minimum values for the stepper *

Decimals

Optional # of decimal places *

Stack

Stacking method *

TextField

Optional text field *

ButtonPlus

Optional button to use for plus *

ButtonMinus

Optional button to use for minus