class RangeSlider
package minimalcomps.components
extends Component
extended by HRangeSlider, VRangeSlider
Abstract base class for HRangeSlider and VRangeSlider.
Constructor
new (orientation:String, ?parent:DisplayObjectContainer, ?xpos:Float, ?ypos:Float, ?defaultHandler:Dynamic)
Constructor
Parameters:
orientation | Whether the slider will be horizontal or vertical. |
---|---|
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
labelPosition:String
Sets / gets where the labels will appear. "left" or "right" for vertical sliders, "top" or "bottom" for horizontal.
labelPrecision:Int
Sets / gets how many decimal points of precisions will be displayed on the labels.
tick:Float
Gets / sets the tick value of this slider. This round the value to the nearest multiple of this number.