A component allowing for entering a numeric value with the keyboard, or by pressing up/down buttons.
Constructor
new (?parent:DisplayObjectContainer, ?xpos:Float, ?ypos:Float, ?defaultHandler:Dynamic)
Constructor
Parameters:
parent | The parent DisplayObjectContainer on which to add this Slider. |
---|---|
xpos | The x position to place this component. |
ypos | The y position to place this component. |
defaultHandler | The event handling function to handle the default event for this component (change in this case). |
Variables
repeatTime:Int
Gets/sets the update rate that the stepper will change its value if a button is held down.
step:Float
Sets / gets the amount the value will change when the up or down button is pressed. Must be zero or positive.