"undefined"==typeof AdfDhtmlGaugePeer&&AdfRichUIPeer.createPeerClass(AdfDhtmlDvtToolkitPeer,"AdfDhtmlGaugePeer",A_c);AdfDhtmlGaugePeer.InitSubclass=function(){AdfObject.ensureClassInitialization(AdfDhtmlGaugePeer);AdfRichUIPeer.addComponentPropertyChanges(this,A_V.EMPTY_TEXT,A_V.MAXIMUM,A_V.MINIMUM,A_V.SHORT_DESC,A_V.VALUE,A_V.bD);AdfRichUIPeer.addComponentEventHandlers(this,AdfUIInputEvent.CLICK_EVENT_TYPE)};A_h("AdfDhtmlGaugePeer.InitSubclass",AdfDhtmlGaugePeer.InitSubclass);
AdfDhtmlGaugePeer.prototype.HandleEvent=function(a){var b=this.getComponent();"valueChange"==a.type?a.complete?(this.Zm=A_b,b.setValue(a.newValue),this.Zm=A_c):(new A_Ud(b,a.newValue)).queue():AdfDhtmlGaugePeer.superclass.HandleEvent.call(this,a)};A_h("AdfDhtmlGaugePeer.prototype.HandleEvent",AdfDhtmlGaugePeer.prototype.HandleEvent);AdfDhtmlGaugePeer.prototype.ia=function(){if(this.getComponent().getProperty("_hasAction")){var a=new A_pb(this.getComponent(),"action");a.setPartial(A_b);AdfPage.PAGE.queueEventToServer(a)}};
A_h("AdfDhtmlGaugePeer.prototype.HandleComponentClick",AdfDhtmlGaugePeer.prototype.ia);A_h("AdfDhtmlGaugePeer.prototype.HandleComponentClick",AdfDhtmlGaugePeer.prototype.ia);AdfDhtmlGaugePeer.prototype.io=function(a,b,c){A_t(this,{emptyText:c})};A_h("AdfDhtmlGaugePeer.prototype.ComponentEmptyTextChanged",AdfDhtmlGaugePeer.prototype.io);AdfDhtmlGaugePeer.prototype.pA=function(a,b,c){A_t(this,{max:c})};A_h("AdfDhtmlGaugePeer.prototype.ComponentMaximumChanged",AdfDhtmlGaugePeer.prototype.pA);
AdfDhtmlGaugePeer.prototype.qA=function(a,b,c){A_t(this,{min:c})};A_h("AdfDhtmlGaugePeer.prototype.ComponentMinimumChanged",AdfDhtmlGaugePeer.prototype.qA);AdfDhtmlGaugePeer.prototype.jo=function(a,b,c){A_t(this,{shortDesc:c})};A_h("AdfDhtmlGaugePeer.prototype.ComponentShortDescChanged",AdfDhtmlGaugePeer.prototype.jo);AdfDhtmlGaugePeer.prototype.QA=function(a,b,c){A_t(this,{value:c})};A_h("AdfDhtmlGaugePeer.prototype.ComponentValueChanged",AdfDhtmlGaugePeer.prototype.QA);
AdfDhtmlGaugePeer.prototype.RA=function(a,b,c){A_t(this,{visualEffects:c})};A_h("AdfDhtmlGaugePeer.prototype.ComponentVisualEffectsChanged",AdfDhtmlGaugePeer.prototype.RA);AdfDhtmlGaugePeer.prototype.Ro=function(a){if(!a)return A_;var b;a.metricLabel&&a.metricLabel.converter&&(b=A_qb.Nj(a.metricLabel.converter),a.metricLabel.converter=b);a.tickLabel&&a.tickLabel.converter&&(b=A_qb.Nj(a.tickLabel.converter),a.tickLabel.converter=b);return a};
AdfDhtmlGaugePeer.prototype.s=function(){return this.c==A_?A_:this.c.Mb()};