SCSliderBase an abstract superclass for various sliders


Inherits from: Object : SCView : SCControlView


Users will not normally directly create instances of SCSliderBase, but only use it through its subclasses. It provides a few methods common to various slider views.


See also: SCSlider, SCRangeSlider, SC2DSlider


Creation / Class Methods


Accessing Instance and Class Variables


step

step_ (stepSize)

The step size for changing a slider value. The subclasses tend to use this in their increment an decrement methods, among other things.

stepSize - A Number;


Customizing Appearance


knobColor

knobColor_ (color)

Set the knob Color for a slider-

color - An instance of Color.


Subclassing and Internal Methods

The following methods are usually not used directly or are called by a primitive. Programmers can still call or override these as needed.

properties

A list of properties to which this view responds. See SCView.

Returns:

[ \bounds, \visible, \enabled, \canFocus, \resize, \background, \minWidth, \maxWidth, \minHeight, \maxHeight, \knobColor, \step, \thumbSize ]


Examples


See SCSlider, SCRangeSlider, SC2DSlider