A vertical slider with two handles for selecting a range of values.

Constructor

new (?parent:DisplayObjectContainer, ?xpos:Float, ?ypos:Float, ?defaultHandler:Dynamic)

Inherited Variables

Defined by RangeSlider

highValue:Float

Gets / sets the high value for this slider.

labelMode:String

Sets / gets when the labels will appear. Can be "never", "move", or "always"

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.

lowValue:Float

Gets / sets the low value of this slider.

maximum:Float

Gets / sets the maximum value of the slider.

minimum:Float

Gets / sets the minimum value of the slider.

tick:Float

Gets / sets the tick value of this slider. This round the value to the nearest multiple of this number.

Defined by Component

enabled:Bool

Sets/gets whether this component is enabled or not.

tag:Int

Sets/gets in integer that can identify the component.

Inherited Methods

Defined by RangeSlider

draw ():Void

Draws the visual ui of the component.

get_highValue ():Float

get_labelMode ():String

get_lowValue ():Float

get_maximum ():Float

get_minimum ():Float

get_tick ():Float

set_highValue (value:Float):Float

set_labelMode (value:String):String

set_labelPosition (value:String):String

set_labelPrecision (value:Int):Int

set_lowValue (value:Float):Float

set_maximum (value:Float):Float

set_minimum (value:Float):Float

set_tick (value:Float):Float

Defined by Component

get_enabled ():Bool

get_height ():Float

get_tag ():Int

get_width ():Float

move (xpos:Float, ypos:Float):Void

Moves the component to the specified position.

Parameters:

xpos

the x position to move the component

ypos

the y position to move the component

setSize (w:Float, h:Float):Void

Sets the size of the component.

Parameters:

w

The width of the component.

h

The height of the component.

set_enabled (value:Bool):Bool

set_height (value:Float):Void

Sets/gets the height of the component.

set_tag (value:Int):Int

set_width (value:Float):Void

Sets/gets the width of the component.

set_x (value:Float):Void

Overrides the setter for x to always place the component on a whole pixel.

set_y (value:Float):Void

Overrides the setter for y to always place the component on a whole pixel.