Package | flexlib.controls |
Class | public class VSlider |
Inheritance | VSlider ![]() ![]() ![]() |
To use this control an enable the draggable regions between the thumbs you
need to set the thumbCount
to something greater than 1, otherwise
this control will work exactly like the original VSlider.
The <flexlib:VSlider>
tag inherits all of the tag attributes
of its superclass, and adds the following tag attribute:
<flexlib:VSlider Styles dataTipPlacement="top" />
See also
Method | Defined by | ||
---|---|---|---|
VSlider()
Constructor.
| VSlider | ||
![]() |
getThumbAt(index:int):SliderThumb
Returns the thumb object at the given index.
| SliderBase | |
![]() |
setThumbValueAt(index:int, value:Number):void
This method sets the value of a slider thumb, and updates the display.
| SliderBase |
Style | Description | Defined by | ||
---|---|---|---|---|
![]() | Type: uint Format: Color CSS Inheritance: no The color of the black section of the border. | SliderBase | ||
![]() | Type: Number Format: Length CSS Inheritance: no The offset, in pixels, of the data tip relative to the thumb. | SliderBase | ||
dataTipPlacement
| Type: String CSS Inheritance: no The location of the data tip relative to the thumb. Possible values are "left" , "right" ,
"top" , and "bottom" .
The default value is "left" . | VSlider | ||
![]() | Type: int CSS Inheritance: no Number of decimal places to use for the data tip text. | SliderBase | ||
![]() | Type: String CSS Inheritance: no The name of the style declaration to use for the data tip. | SliderBase | ||
![]() | Type: Array Format: Color CSS Inheritance: no Colors used to tint the slider thumb. | SliderBase | ||
![]() | Type: Boolean CSS Inheritance: no Invert the direction of the thumbs. | SliderBase | ||
![]() | Type: Number Format: Length CSS Inheritance: no The y-position offset (if direction is horizontal) or x-position offset (if direction is vertical) of the labels relative to the track. | SliderBase | ||
![]() | Type: String CSS Inheritance: no The name of the style to use for the slider label. | SliderBase | ||
![]() | Type: Boolean CSS Inheritance: no Specifies whether to enable track highlighting between thumbs (or a single thumb and the beginning of the track). | SliderBase | ||
![]() | Type: Number Format: Time CSS Inheritance: no Duration in milliseconds for the sliding animation when you click on the track to move a thumb. | SliderBase | ||
![]() | Type: Function CSS Inheritance: no Tweening function used by the sliding animation when you click on the track to move a thumb. | SliderBase | ||
![]() | Type: Class CSS Inheritance: no The skin for the slider thumb disabled state. | SliderBase | ||
![]() | Type: Class CSS Inheritance: no The skin for the slider thumb down state. | SliderBase | ||
![]() | Type: Number Format: Length CSS Inheritance: no The y-position offset (if direction is horizontal) or x-position offset (if direction is vertical) of the thumb relative to the track. | SliderBase | ||
![]() | Type: Class CSS Inheritance: no The skin for the slider thumb over state. | SliderBase | ||
![]() | Type: Class CSS Inheritance: no The skin for the slider thumb up state. | SliderBase | ||
![]() | Type: uint Format: Color CSS Inheritance: no The color of the tick marks. | SliderBase | ||
![]() | Type: Number Format: Length CSS Inheritance: no The length in pixels of the tick marks. | SliderBase | ||
![]() | Type: Number Format: Length CSS Inheritance: no The y-position offset (if direction is horizontal) or x-position offset (if direction is vertical) of the tick marks relative to the track. | SliderBase | ||
![]() | Type: Number Format: Length CSS Inheritance: no The thickness in pixels of the tick marks. | SliderBase | ||
![]() | Type: Array Format: Color CSS Inheritance: no The colors of the track, as an array of two colors. | SliderBase | ||
![]() | Type: Class CSS Inheritance: no The skin for the slider track when it is selected. | SliderBase | ||
![]() | Type: Number Format: Length CSS Inheritance: no The size of the track margins, in pixels. | SliderBase | ||
![]() | Type: Class CSS Inheritance: no The skin for the slider track. | SliderBase |