var AdfDhtmlSchedulingGanttPeer=AdfRichUIPeer.createPeerClass(A_P,"AdfDhtmlSchedulingGanttPeer",!1);A_a("AdfDhtmlSchedulingGanttPeer",AdfDhtmlSchedulingGanttPeer);AdfPage.PAGE.getLookAndFeel().registerPeerConstructor("oracle.dss.adf.gantt.SchedulingGantt","AdfDhtmlSchedulingGanttPeer");AdfDhtmlSchedulingGanttPeer.InitSubclass=function(){AdfObject.ensureClassInitialization(AdfDhtmlSchedulingGanttPeer)};
AdfDhtmlSchedulingGanttPeer.prototype.kb=function(a){A_wd(this,a);var b=a.getNativeEventTarget();"bg"==b.getAttribute("part")&&(b=b.parentNode);null!=b&&"IMG"==b.nodeName&&(b=b.parentNode);if(null!=b){var c=a.getNativeEvent(),b=A_J(this,b,"down");null!=b&&("srcot"==b.getAttribute("down")?this.Xz(c):(b=a.getNativeEventTarget(),"bg"==b.getAttribute("part")&&(b=b.parentNode)));null==b&&(b=a.getNativeEventTarget());b=A_J(this,b.parentNode,"down");if(null!=b)"sd"==b.getAttribute("down")&&this.startDrag(c);
else{var d=this.getComponent().getClientId()+AdfDhtmlBaseGanttPeer.D+AdfDhtmlBaseGanttPeer.sa,e=a.getSource().getClientId(),b=a.getNativeEventTarget();"bg"==b.getAttribute("part")&&(b=b.parentNode);a=b.getAttribute("id");b=b.getAttribute(AdfDhtmlBaseGanttPeer.l);null!=e&&-1!=e.indexOf(d)&&null==b&&null!=a&&-1==a.indexOf("scroller")&&this.Dt(c)}}};A_a("AdfDhtmlSchedulingGanttPeer.prototype.HandleComponentMouseDown",AdfDhtmlSchedulingGanttPeer.prototype.kb);
AdfDhtmlSchedulingGanttPeer.prototype.yt=function(a){this.dragger=A_L(a);if(null!=this.dragger){var b=A_ud(this,this.dragger.parentNode);-1<A_td(this,b)||AdfDhtmlSchedulingGanttPeer.superclass.yt.call(this,a)}};AdfDhtmlSchedulingGanttPeer.prototype.ot=function(a){if(null!=this.dragger){var b=A_ud(this,this.dragger.parentNode);-1<A_td(this,b)||AdfDhtmlSchedulingGanttPeer.superclass.ot.call(this,a)}};
A_P.prototype.Qe=function(a,b){var c=!1;switch(b.keyCode){case AdfKeyStroke.ARROWUP_KEY:if(!b.ctrlKey&&!b.altKey&&!b.shiftKey){var d=a.getPeer().getDomElement(),e=d.getAttribute("_leafcolclientids"),f=AdfDhtmlBaseGanttPeer.createSubId(this.getComponent().getClientId(),null,"dummy");try{d.setAttribute("_leafcolclientids","['"+f+"']"),this.Td(a,b),A_Gd(this),c=!0}finally{d.setAttribute("_leafcolclientids",e)}}break;case AdfKeyStroke.ARROWDOWN_KEY:if(!b.ctrlKey&&!b.altKey&&!b.shiftKey){d=a.getPeer().getDomElement();
e=d.getAttribute("_leafcolclientids");f=AdfDhtmlBaseGanttPeer.createSubId(this.getComponent().getClientId(),null,"dummy");try{d.setAttribute("_leafcolclientids","['"+f+"']"),this.Td(a,b),A_Hd(this),c=!0}finally{d.setAttribute("_leafcolclientids",e)}}break;case AdfKeyStroke.ARROWLEFT_KEY:b.ctrlKey||b.altKey||b.shiftKey||(c=!0,null!=this.cb&&A_Ad(this,this.cb.parentNode)==this.cb&&this.Td(a,b),A_Id(this));break;case AdfKeyStroke.ARROWRIGHT_KEY:A_Jd(this),c=!0}c?AdfAgent.AGENT.eatEvent(b):A_P.superclass.Qe.call(this,
a,b)};