AdfRichUIPeer.createPeerClass(AdfRichUIPeer,"AdfDhtmlResetButtonPeer");AdfDhtmlResetButtonPeer.InitSubclass=function(){this._reqCounter=0;this._invalidComponents=[];this._changedComponents=[];this._pendingRequests={};AdfRichUIPeer.addComponentPropertyChanges(this,AdfRichResetButton.TEXT);AdfRichUIPeer.addComponentPropertyGetters(this,AdfRichResetButton.TEXT);AdfRichUIPeer.addComponentEventHandlers(this,AdfUIInputEvent.CLICK_EVENT_TYPE)};
AdfDhtmlResetButtonPeer.prototype.InitDomElement=function(a,b){AdfDhtmlResetButtonPeer.superclass.InitDomElement.call(this,a,b);b.addEventListener("click",function(a){a.preventDefault()})};AdfDhtmlResetButtonPeer.prototype.ComponentTextChanged=AdfDomUtils.__componentTextChanged;AdfDhtmlResetButtonPeer.prototype.GetComponentText=function(a,b){return AdfAgent.AGENT.getTextContent(b)};
AdfDhtmlResetButtonPeer.prototype.HandleComponentClick=function(a){var b=this.getComponent();!b.getDisabled()&&a.isLeftButtonPressed()&&AdfResetEvent.queue(b,!0)};AdfDhtmlResetButtonPeer.prototype.GetInlineEditor=function(a){return AdfDhtmlSimpleTextEditor.getInlineEditor()};