var rz=M.U(M,"AdfDhtmlTrainButtonBarPeer");v("AdfDhtmlTrainButtonBarPeer",rz);rz.prototype.Fd=function(a,b,d,e){a=a.e();b=xa.count(a,":");B.assert(0<=d.indexOf(a));d=d.substring(a.length+1);var f=d.indexOf(":");if(0<f){d=d.substring(0,f);switch(parseInt(d)){case 0:d="back";break;case 1:d="next";break;default:return D.i.warning("Invalid index:",d),a}e.push([b+1,d])}};z.a("AdfDhtmlTrainButtonBarPeer.prototype.ConvertClientIdToLocator",{Fd:rz.prototype.Fd});
rz.prototype.Jd=function(a,b){var d=a.e(),e=this.h(),f;if("back"==b)return e=H.Ua(e,"button"),f=d+":0",B.assert(e.id&&e.id.substring(0,f.length)==f,"Incorrect element found"),e.id;if("next"==b)return f=d+":1",e=H.e0(e,p,function(a){return"BUTTON"==a.tagName&&a.id&&a.id.substring(0,f.length)==f}),e.id;D.i.warning("Invalid index:",b);return n};z.a("AdfDhtmlTrainButtonBarPeer.prototype.convertLocatorToClientId",{Jd:rz.prototype.Jd});