qnx.ui.events.SliderEvent

SliderEvent

Properties | Methods | Constants


Packageqnx.ui.events
Classpublic class SliderEvent
InheritanceSliderEvent Inheritance flash.events.Event

The Slider class uses this event class to notify subscribers of slider events.

Class information:
PlayBook Tablet OS Version:   1.0.6

See also

qnx.ui.slider.Slider



Public Properties

 PropertyDefined By
  value : Number
Gets or sets the slider value.
SliderEvent

Public Methods

 MethodDefined By
  
SliderEvent(type:String, value:Number)
Constructs a SliderEvent object.
SliderEvent

Public Constants

 ConstantDefined By
  END : String = slider_drag_ended
[static] Dispatched when a drag event ends.
SliderEvent
  MOVE : String = slider_move
[static] Dispatched when the slider is moved by the user.
SliderEvent
  START : String = slider_drag_started
[static] Dispatched when a drag event starts.
SliderEvent

Property Detail

value


value:Number

Gets or sets the slider value.


Implementation

public function get value():Number
public function set value(value:Number):void

See also

qnx.ui.slider.Slider.value

Constructor Detail

SliderEvent()


public function SliderEvent(type:String, value:Number)

Constructs a SliderEvent object.

Parameters

type:String — The type of slider event.
value:Number — The value of slider event.

Constant Detail

END


public static const END:String = slider_drag_ended

Dispatched when a drag event ends.

MOVE


public static const MOVE:String = slider_move

Dispatched when the slider is moved by the user.

START


public static const START:String = slider_drag_started

Dispatched when a drag event starts.