var go=I.ea(fi,"AdfDhtmlCommandTrainStopPeer");m("AdfDhtmlCommandTrainStopPeer",go);go.C=function(){I.ra(this,D.wb);I.hc(this,AdfRichCommandNavigationItem.SELECTED)};m("AdfDhtmlCommandTrainStopPeer.InitSubclass",go.C);go.prototype.G=function(a,b){go.h.G.call(this,a,b)};r.a("AdfDhtmlCommandTrainStopPeer.prototype.InitDomElement",{G:go.prototype.G});go.prototype.qza=function(){};r.a("AdfDhtmlCommandTrainStopPeer.prototype.SetLinkAttributes",{qza:go.prototype.qza});
go.prototype.sc=function(a,b){var d;if(d=go.jW(a)?C.Ic(b,"a",1):b)return d=q.b.mc(d),""==d?null:d;u.assert(!1,"Unable to find the element containing the text")};r.a("AdfDhtmlCommandTrainStopPeer.prototype.GetComponentText",{sc:go.prototype.sc});go.prototype.dR=function(){return this.hW()};r.a("AdfDhtmlCommandTrainStopPeer.prototype.GetComponentSelected",{dR:go.prototype.dR});go.prototype.M=function(a){this.hW()?a.wc():go.h.M.call(this,a)};
r.a("AdfDhtmlCommandTrainStopPeer.prototype.HandleComponentClick",{M:go.prototype.M});go.prototype.hW=function(){var a=this.i(),b=this.f();return go.jW(b)&&(a=go.xib(b)?C.FH(a,"TABLE"):C.pa(a))?C.sa(a,I.Sq):!1};go.jW=function(a){a=a.getParent();return q.oa().Y().AdfRichTrain&&a instanceof AdfRichTrain?!0:!1};go.xib=function(a){return"vertical"==a.getParent().getLayout()?!0:!1};