a:11:{s:9:"#provides";s:31:"dojox.widget.gauge.BarIndicator";s:9:"#resource";s:28:"widget/gauge/BarIndicator.js";s:9:"#requires";a:1:{i:0;a:2:{i:0;s:6:"common";i:1;s:21:"dojox.widget.BarGauge";}}s:31:"dojox.widget.gauge.BarIndicator";a:4:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:35:"dojox.widget.gauge.BarLineIndicator";}s:4:"call";a:1:{i:0;s:35:"dojox.widget.gauge.BarLineIndicator";}}s:9:"classlike";b:1;s:7:"summary";s:0:"";}s:42:"dojox.widget.gauge.BarIndicator._getShapes";a:5:{s:9:"prototype";s:31:"dojox.widget.gauge.BarIndicator";s:4:"type";s:8:"Function";s:6:"source";s:899:" if(!this._gauge){ return null; } var v = this.value; if(v < this._gauge.min){v = this._gauge.min;} if(v > this._gauge.max){v = this._gauge.max;} var pos = this._gauge._getPosition(v); if(pos == this.dataX){pos = this.dataX+1;} var y = this._gauge.dataY + Math.floor((this._gauge.dataHeight - this.width)/2) + this.offset; var shapes = []; shapes[0] = this._gauge.surface.createRect({x:this._gauge.dataX, y:y, width:pos - this._gauge.dataX, height:this.width}); shapes[0].setStroke({color: this.color}); shapes[0].setFill(this.color); shapes[1] = this._gauge.surface.createLine({ x1:this._gauge.dataX, y1:y, x2:pos, y2:y }); shapes[1].setStroke({color: this.highlight}); if(this.highlight2){ y--; shapes[2] = this._gauge.surface.createLine({ x1:this._gauge.dataX, y1:y, x2:pos, y2:y }); shapes[2].setStroke({color: this.highlight2}); } return shapes;";s:7:"summary";s:52:"Override of dojox.widget.BarLineIndicator._getShapes";s:7:"private";b:1;}s:45:"dojox.widget.gauge.BarIndicator._createShapes";a:6:{s:9:"prototype";s:31:"dojox.widget.gauge.BarIndicator";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:3:"val";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:299:" for (var i in this.shapes) { i = this.shapes[i]; var newShape = {}; for(var j in i){ newShape[j] = i[j]; } if(i.shape.type == "line"){ newShape.shape.x2 = val+newShape.shape.x1; }else if(i.shape.type == "rect"){ newShape.width = val; } i.setShape(newShape); }";s:7:"summary";s:78:"Creates a shallow copy of the current shapes while adjusting for the new value";s:7:"private";b:1;}s:37:"dojox.widget.gauge.BarIndicator._move";a:6:{s:9:"prototype";s:31:"dojox.widget.gauge.BarIndicator";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:11:"dontAnimate";a:2:{s:8:"optional";b:1;s:4:"type";s:7:"Boolean";}}s:6:"source";s:519:" var changed = false; var c; var v = this.value ; if(v < this.min){v = this.min;} if(v > this.max){v = this.max;} c = this._gauge._getPosition(this.currentValue); this.currentValue = v; v = this._gauge._getPosition(v)-this._gauge.dataX; if(dontAnimate){ this._createShapes(v); }else{ if(c!=v){ var anim = new dojo._Animation({curve: [c, v], duration: this.duration, easing: this.easing}); dojo.connect(anim, "onAnimate", dojo.hitch(this, this._createShapes)); anim.play(); } }";s:7:"summary";s:89:"Override of dojox.widget.BarLineIndicator._move to resize the bar (rather than moving it)";s:7:"private";b:1;}s:44:"dojox.widget.gauge.BarIndicator.currentValue";a:2:{s:8:"instance";s:31:"dojox.widget.gauge.BarIndicator";s:7:"summary";s:0:"";}s:18:"dojox.widget.gauge";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:12:"dojox.widget";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:5:"dojox";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}}