return Components.interfaces.nsIAccessibleProvider.XULThumb;
return Components.interfaces.nsIAccessibleProvider.XULScale;
if (!this._sliderElement)
this._sliderElement = document.getAnonymousElementByAttribute(this, "anonid", "slider");
return this._sliderElement;
0)
this.value = this.min;
else if (this.max < 0)
this.value = this.max;
]]>
var value = this._slider.getAttribute(aAttr);
var intvalue = parseInt(value, 10);
if (!isNaN(intvalue))
return intvalue;
return aDefaultValue;
this.max)
intvalue = this.max;
}
this._slider.setAttribute(aAttr, intvalue);
}
return aValue;
]]>
startpos) ? newpos : startpos;
]]>
startpos) ? newpos : startpos;
]]>
if (event.originalTarget != this._slider)
return;
switch (event.attrName) {
case "curpos":
this.setAttribute("value", event.newValue);
var changeEvent = document.createEvent("Events");
changeEvent.initEvent("change", true, true);
this.dispatchEvent(changeEvent);
break;
case "minpos":
this.setAttribute("min", event.newValue);
break;
case "maxpos":
this.setAttribute("max", event.newValue);
break;
}
return (this.dir == "reverse") ? this.increase() : this.decrease();
return (this.dir == "reverse") ? this.increase() : this.decrease();
return (this.dir == "reverse") ? this.decrease() : this.increase();
return (this.dir == "reverse") ? this.decrease() : this.increase();
return (this.dir == "reverse") ? this.increasePage() : this.decreasePage();
return (this.dir == "reverse") ? this.decreasePage() : this.increasePage();
this.value = (this.dir == "reverse") ? this.max : this.min;
this.value = (this.dir == "reverse") ? this.min : this.max;