Package com.bit101.components
Class public class HScrollBar
Inheritance HScrollBar InheritanceScrollBar InheritanceComponent Inheritance flash.display.Sprite

Constructor



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 lineSize : int
Sets / gets the amount the value will change when up or down buttons are pressed.
ScrollBar
  Inherited maximum : Number
Sets / gets the maximum value of this scroll bar.
ScrollBar
  Inherited minimum : Number
Sets / gets the minimum value of this scroll bar.
ScrollBar
  Inherited pageSize : int
Sets / gets the amount the value will change when the back is clicked.
ScrollBar
  Inherited tag : int
Sets/gets in integer that can identify the component.
Component
  Inherited value : Number
Sets / gets the current value of this scroll bar.
ScrollBar
  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 _delayTimer : Timer
ScrollBar
  Inherited _direction : String
ScrollBar
  Inherited _downButton : PushButton
ScrollBar
  Inherited _enabled : Boolean = true
Component
  Inherited _height : Number = 0
Component
  Inherited _lineSize : int = 1
ScrollBar
  Inherited _orientation : String
ScrollBar
  Inherited _repeatTimer : Timer
ScrollBar
  Inherited Ronda : Class
Component
  Inherited _scrollSlider : ScrollSlider
ScrollBar
  Inherited _shouldRepeat : Boolean = false
ScrollBar
  Inherited _tag : int = -1
Component
  Inherited _upButton : PushButton
ScrollBar
  Inherited _width : Number = 0
Component
Public Methods
  Method Defined By
   
HScrollBar(parent:DisplayObjectContainer = null, xpos:Number = 0, ypos:Number = 0, defaultHandler:Function = null)
HScrollBar
  Inherited
draw():void
[override] Draws the visual ui of the component.
ScrollBar
  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
  Inherited
setSliderParams(min:Number, max:Number, value:Number):void
Convenience method to set the three main parameters in one shot.
ScrollBar
  Inherited
setThumbPercent(value:Number):void
Sets the percentage of the size of the thumb button.
ScrollBar
Protected Methods
  Method Defined By
  Inherited
addChildren():void
[override] Creates and adds the child display objects of this component.
ScrollBar
  Inherited
getShadow(dist:Number, knockout:Boolean = false):DropShadowFilter
DropShadowFilter factory method, used in many of the components.
Component
  Inherited
goDown():void
ScrollBar
  Inherited
goUp():void
ScrollBar
  Inherited
init():void
[override] Initializes the component.
ScrollBar
  Inherited
invalidate():void
Marks the component to be redrawn on the next frame.
Component
  Inherited
onChange(event:Event):void
ScrollBar
  Inherited
onDelayComplete(event:TimerEvent):void
ScrollBar
  Inherited
onDownClick(event:MouseEvent):void
ScrollBar
  Inherited
onInvalidate(event:Event):void
Called one frame after invalidate is called.
Component
  Inherited
onMouseUp(event:MouseEvent):void
ScrollBar
  Inherited
onRepeat(event:TimerEvent):void
ScrollBar
  Inherited
onUpClick(event:MouseEvent):void
ScrollBar
Public Constants
  Constant Defined By
  Inherited DRAW : String = draw
[static]
Component
Protected Constants
  Constant Defined By
  Inherited DELAY_TIME : int = 500
ScrollBar
  Inherited DOWN : String = down
ScrollBar
  Inherited REPEAT_TIME : int = 100
ScrollBar
  Inherited UP : String = up
ScrollBar
Constructor Detail
HScrollBar () Constructor
public function HScrollBar(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)