public/javascripts/yui/slider/slider-debug.js
function(source, newOffset, skipAnim, force, silent) {
        var t = this.thumb, newX, newY;

        if (!t.available) {
            this.logger.log("defer setValue until after onAvailble");
            this.deferredSetValue = arguments;
            return false;
        }

        if (this.isLocked() && !force) {
            this.logger.log("Can't set the value, the control is locked");
            return false;
        }

        if ( isNaN(newOffset) ) {
            this.logger.log("setValue, Illegal argument: " + newOffset);
            return false;
        }

        if (t._isRegion) {
            this.logger.log("Call to setValue for region Slider ignored. Use setRegionValue","warn");
            return false;
        }

        this.logger.log("setValue " + newOffset);

        this._silent = silent;
        this.valueChangeSource = source || Slider.SOURCE_SET_VALUE;

        t.lastOffset = [newOffset, newOffset];
        this.verifyOffset();

        this._slideStart();

        if (t._isHoriz) {
            newX = t.initPageX + newOffset + this.thumbCenterPoint.x;
            this.moveThumb(newX, t.initPageY, skipAnim);
        } else {
            newY = t.initPageY + newOffset + this.thumbCenterPoint.y;
            this.moveThumb(t.initPageX, newY, skipAnim);
        }

        return true;
    }
function(source, newOffset, skipAnim, force, silent) {
        var t = this.thumb, newX, newY;

        if (!t.available) {
            this.logger.log("defer setValue until after onAvailble");
            this.deferredSetValue = arguments;
            return false;
        }

        if (this.isLocked() && !force) {
            this.logger.log("Can't set the value, the control is locked");
            return false;
        }

        if ( isNaN(newOffset) ) {
            this.logger.log("setValue, Illegal argument: " + newOffset);
            return false;
        }

        if (t._isRegion) {
            this.logger.log("Call to setValue for region Slider ignored. Use setRegionValue","warn");
            return false;
        }

        this.logger.log("setValue " + newOffset);

        this._silent = silent;
        this.valueChangeSource = source || Slider.SOURCE_SET_VALUE;

        t.lastOffset = [newOffset, newOffset];
        this.verifyOffset();

        this._slideStart();

        if (t._isHoriz) {
            newX = t.initPageX + newOffset + this.thumbCenterPoint.x;
            this.moveThumb(newX, t.initPageY, skipAnim);
        } else {
            newY = t.initPageY + newOffset + this.thumbCenterPoint.y;
            this.moveThumb(t.initPageX, newY, skipAnim);
        }

        return true;
    }
function ( source , newOffset , skipAnim , force , silent ) { var t = this . thumb , newX , newY ; if ( ! t . available ) { this . logger . log ( "defer setValue until after onAvailble" ) ; this . deferredSetValue = arguments ; return false ; } if ( this . isLocked ( ) && ! force ) { this . logger . log ( "Can't set the value, the control is locked" ) ; return false ; } if ( isNaN ( newOffset ) ) { this . logger . log ( "setValue, Illegal argument: " + newOffset ) ; return false ; } if ( t . _isRegion ) { this . logger . log ( "Call to setValue for region Slider ignored. Use setRegionValue" , "warn" ) ; return false ; } this . logger . log ( "setValue " + newOffset ) ; this . _silent = silent ; this . valueChangeSource = source || Slider . SOURCE_SET_VALUE ; t . lastOffset = [ newOffset , newOffset ] ; this . verifyOffset ( ) ; this . _slideStart ( ) ; if ( t . _isHoriz ) { newX = t . initPageX + newOffset + this . thumbCenterPoint . x ; this . moveThumb ( newX , t . initPageY , skipAnim ) ; } else { newY = t . initPageY + newOffset + this . thumbCenterPoint . y ; this . moveThumb ( t . initPageX , newY , skipAnim ) ; } return true ; }
Worker function to execute the value set operation.  Accepts type of
set operation in addition to the usual setValue params.

@method _setValue
@param source {int} what triggered the set (e.g. Slider.SOURCE_SET_VALUE)
@param {int} newOffset the number of pixels the thumb should be
positioned away from the initial start point
@param {boolean} skipAnim set to true to disable the animation
for this move action (but not others).
@param {boolean} force ignore the locked setting and set value anyway
@param {boolean} silent when true, do not fire events
@return {boolean} true if the move was performed, false if it failed
@protected
Worker function to execute the value set operation . Accepts type of set operation in addition to the usual setValue params .