Package com.bit101.components
Class public class VRangeSlider
Inheritance VRangeSlider InheritanceRangeSlider InheritanceComponent Inheritance flash.display.Sprite



Public Properties
  Property Defined By
  Inherited enabled : Boolean
Sets/gets whether this component is enabled or not.
Component
  Inherited height : Number
[override] Sets/gets the height of the component.
Component
  Inherited highValue : Number
Gets / sets the high value for this slider.
RangeSlider
  Inherited labelMode : String
Sets / gets when the labels will appear.
RangeSlider
  Inherited labelPosition : String
Sets / gets where the labels will appear.
RangeSlider
  Inherited labelPrecision : int
Sets / gets how many decimal points of precisions will be displayed on the labels.
RangeSlider
  Inherited lowValue : Number
Gets / sets the low value of this slider.
RangeSlider
  Inherited maximum : Number
Gets / sets the maximum value of the slider.
RangeSlider
  Inherited minimum : Number
Gets / sets the minimum value of the slider.
RangeSlider
  Inherited tag : int
Sets/gets in integer that can identify the component.
Component
  Inherited tick : Number
Gets / sets the tick value of this slider.
RangeSlider
  Inherited width : Number
[override] Sets/gets the width of the component.
Component
  Inherited x : Number
[override] [write-only] Overrides the setter for x to always place the component on a whole pixel.
Component
  Inherited y : Number
[override] [write-only] Overrides the setter for y to always place the component on a whole pixel.
Component
Protected Properties
  Property Defined By
  Inherited _back : Sprite
RangeSlider
  Inherited _enabled : Boolean = true
Component
  Inherited _height : Number = 0
Component
  Inherited _highLabel : Label
RangeSlider
  Inherited _highValue : Number = 100
RangeSlider
  Inherited _labelMode : String = always
RangeSlider
  Inherited _labelPosition : String
RangeSlider
  Inherited _labelPrecision : int = 0
RangeSlider
  Inherited _lowLabel : Label
RangeSlider
  Inherited _lowValue : Number = 0
RangeSlider
  Inherited _maxHandle : Sprite
RangeSlider
  Inherited _maximum : Number = 100
RangeSlider
  Inherited _minHandle : Sprite
RangeSlider
  Inherited _minimum : Number = 0
RangeSlider
  Inherited _orientation : String = vertical
RangeSlider
  Inherited Ronda : Class
Component
  Inherited _tag : int = -1
Component
  Inherited _tick : Number = 1
RangeSlider
  Inherited _width : Number = 0
Component
Public Methods
  Method Defined By
   
VRangeSlider(parent:DisplayObjectContainer = null, xpos:Number = 0, ypos:Number = 0, defaultHandler:Function = null)
VRangeSlider
  Inherited
draw():void
[override] Draws the visual ui of the component.
RangeSlider
  Inherited
initStage(stage:Stage):void
[static] Utility method to set up usual stage align and scaling.
Component
  Inherited
move(xpos:Number, ypos:Number):void
Moves the component to the specified position.
Component
  Inherited
setSize(w:Number, h:Number):void
Sets the size of the component.
Component
Protected Methods
  Method Defined By
  Inherited
addChildren():void
[override] Creates and adds the child display objects of this component.
RangeSlider
  Inherited
drawBack():void
Draws the back of the slider.
RangeSlider
  Inherited
drawHandles():void
Draws the handles of the slider.
RangeSlider
  Inherited
getLabelForValue(value:Number):String
Generates a label string for the given value.
RangeSlider
  Inherited
getShadow(dist:Number, knockout:Boolean = false):DropShadowFilter
DropShadowFilter factory method, used in many of the components.
Component
  Inherited
init():void
[override] Initializes the component.
RangeSlider
  Inherited
invalidate():void
Marks the component to be redrawn on the next frame.
Component
  Inherited
onDragMax(event:MouseEvent):void
Internal mouseDown handler for the high value handle.
RangeSlider
  Inherited
onDragMin(event:MouseEvent):void
Internal mouseDown handler for the low value handle.
RangeSlider
  Inherited
onDrop(event:MouseEvent):void
Internal mouseUp handler.
RangeSlider
  Inherited
onInvalidate(event:Event):void
Called one frame after invalidate is called.
Component
  Inherited
onMaxSlide(event:MouseEvent):void
Internal mouseMove handler for when the high value handle is being moved.
RangeSlider
  Inherited
onMinSlide(event:MouseEvent):void
Internal mouseMove handler for when the low value handle is being moved.
RangeSlider
  Inherited
Adjusts positions of handles when value, maximum or minimum have changed.
RangeSlider
  Inherited
updateLabels():void
Sets the text and positions the labels.
RangeSlider
Public Constants
  Constant Defined By
  Inherited ALWAYS : String = always
[static]
RangeSlider
  Inherited BOTTOM : String = bottom
[static]
RangeSlider
  Inherited DRAW : String = draw
[static]
Component
  Inherited HORIZONTAL : String = horizontal
[static]
RangeSlider
  Inherited LEFT : String = left
[static]
RangeSlider
  Inherited MOVE : String = move
[static]
RangeSlider
  Inherited NEVER : String = never
[static]
RangeSlider
  Inherited RIGHT : String = right
[static]
RangeSlider
  Inherited TOP : String = top
[static]
RangeSlider
  Inherited VERTICAL : String = vertical
[static]
RangeSlider
Constructor Detail
VRangeSlider () Constructor
public function VRangeSlider(parent:DisplayObjectContainer = null, xpos:Number = 0, ypos:Number = 0, defaultHandler:Function = null)



Parameters
parent:DisplayObjectContainer (default = null)
 
xpos:Number (default = 0)
 
ypos:Number (default = 0)
 
defaultHandler:Function (default = null)