var km=M.U(jg,"AdfDhtmlCommandTrainStopPeer");v("AdfDhtmlCommandTrainStopPeer",km);km.m=function(){M.ha(this,I.jb);M.$b(this,AdfRichCommandNavigationItem.SELECTED)};v("AdfDhtmlCommandTrainStopPeer.InitSubclass",km.m);km.prototype.q=function(a,b){km.f.q.call(this,a,b)};z.a("AdfDhtmlCommandTrainStopPeer.prototype.InitDomElement",{q:km.prototype.q});km.prototype.qma=ca();z.a("AdfDhtmlCommandTrainStopPeer.prototype.SetLinkAttributes",{qma:km.prototype.qma});
km.prototype.Xb=function(a,b){var d;if(d=km.Wwa(a)?H.qc(b,"a",1):b)return d=w.b.Mb(d),""==d?n:d;B.assert(p,"Unable to find the element containing the text")};z.a("AdfDhtmlCommandTrainStopPeer.prototype.GetComponentText",{Xb:km.prototype.Xb});km.prototype.Wka=function(){return lm(this)};z.a("AdfDhtmlCommandTrainStopPeer.prototype.GetComponentSelected",{Wka:km.prototype.Wka});km.prototype.C=function(a){lm(this)?a.dc():km.f.C.call(this,a)};
z.a("AdfDhtmlCommandTrainStopPeer.prototype.HandleComponentClick",{C:km.prototype.C});function lm(a){var b=a.h();a=a.d();return km.Wwa(a)&&(b=km.jYa(a)?H.TI(b,"TABLE"):H.ca(b))?H.ta(b,M.fma):p}km.Wwa=function(a){a=a.getParent();return w.fa().R().AdfRichTrain&&a instanceof AdfRichTrain?l:p};km.jYa=function(a){return"vertical"==a.getParent().getLayout()?l:p};