"undefined"==typeof AdfDhtmlGaugePeer&&AdfRichUIPeer.createPeerClass(AdfDhtmlDvtToolkitPeer,"AdfDhtmlGaugePeer",!1);AdfDhtmlGaugePeer.InitSubclass=function(){AdfObject.ensureClassInitialization(AdfDhtmlGaugePeer);AdfRichUIPeer.addComponentPropertyChanges(this,A_R.EMPTY_TEXT,A_R.MAXIMUM,A_R.MINIMUM,A_R.SHORT_DESC,A_R.VALUE,A_R.WD);AdfRichUIPeer.addComponentEventHandlers(this,AdfUIInputEvent.CLICK_EVENT_TYPE)};A_a("AdfDhtmlGaugePeer.InitSubclass",AdfDhtmlGaugePeer.InitSubclass);
AdfDhtmlGaugePeer.prototype.HandleEvent=function(a){var b=this.getComponent();"valueChange"==a.type?a.complete?(this.zn=!0,b.setValue(a.newValue),this.zn=!1):(new A_Pd(b,a.newValue)).queue():AdfDhtmlGaugePeer.superclass.HandleEvent.call(this,a)};AdfDhtmlGaugePeer.prototype.HandleEvent=AdfDhtmlGaugePeer.prototype.HandleEvent;AdfDhtmlGaugePeer.prototype.ra=function(){if(this.getComponent().getProperty("_hasAction")){var a=new A_kb(this.getComponent(),"action");a.setPartial(!0);AdfPage.PAGE.queueEventToServer(a)}};
AdfDhtmlGaugePeer.prototype.HandleComponentClick=AdfDhtmlGaugePeer.prototype.ra;A_a("AdfDhtmlGaugePeer.prototype.HandleComponentClick",AdfDhtmlGaugePeer.prototype.ra);AdfDhtmlGaugePeer.prototype.Qo=function(a,b,c){A_m(this,{emptyText:c})};A_a("AdfDhtmlGaugePeer.prototype.ComponentEmptyTextChanged",AdfDhtmlGaugePeer.prototype.Qo);AdfDhtmlGaugePeer.prototype.fB=function(a,b,c){A_m(this,{max:c})};A_a("AdfDhtmlGaugePeer.prototype.ComponentMaximumChanged",AdfDhtmlGaugePeer.prototype.fB);
AdfDhtmlGaugePeer.prototype.gB=function(a,b,c){A_m(this,{min:c})};A_a("AdfDhtmlGaugePeer.prototype.ComponentMinimumChanged",AdfDhtmlGaugePeer.prototype.gB);AdfDhtmlGaugePeer.prototype.Ro=function(a,b,c){A_m(this,{shortDesc:c})};A_a("AdfDhtmlGaugePeer.prototype.ComponentShortDescChanged",AdfDhtmlGaugePeer.prototype.Ro);AdfDhtmlGaugePeer.prototype.GB=function(a,b,c){A_m(this,{value:c})};A_a("AdfDhtmlGaugePeer.prototype.ComponentValueChanged",AdfDhtmlGaugePeer.prototype.GB);
AdfDhtmlGaugePeer.prototype.HB=function(a,b,c){A_m(this,{visualEffects:c})};A_a("AdfDhtmlGaugePeer.prototype.ComponentVisualEffectsChanged",AdfDhtmlGaugePeer.prototype.HB);AdfDhtmlGaugePeer.prototype.xp=function(a){if(!a)return null;var b;a.metricLabel&&a.metricLabel.converter&&(b=A_lb.jk(a.metricLabel.converter),a.metricLabel.converter=b);a.tickLabel&&a.tickLabel.converter&&(b=A_lb.jk(a.tickLabel.converter),a.tickLabel.converter=b);return a};
AdfDhtmlGaugePeer.prototype.B=function(){return null==this.c?null:this.c.Vb()};AdfDhtmlGaugePeer.prototype.ProcessPushData=function(a){var b={};a.value&&(b.value=a.value);a.minimum&&(b.min=a.minimum);a.maximum&&(b.max=a.maximum);A_m(this,b);return!0};