var A_Ni=AdfRichUIPeer.createPeerClass(AdfRichUIPeer,"AdfDhtmlAreaLayerPeer",!1);A_a("AdfDhtmlAreaLayerPeer",A_Ni);AdfPage.PAGE.getLookAndFeel().registerPeerConstructor("oracle.dss.adf.thematicMap.AreaLayer","AdfDhtmlAreaLayerPeer");A_Ni.prototype.Init=function(a,b){A_Ni.superclass.Init.call(this,a,b);var c=a.getDropTarget();c&&a.setDropTarget(new A_A(c))};A_Ni.prototype.Init=A_Ni.prototype.Init;
A_Ni.prototype.InitDomElement=function(a,b){A_Ni.superclass.InitDomElement.call(this,a,b);var c=a.getProperty("tmapId");AdfPage.PAGE.findComponent(c).getPeer().gh(a.getDragSource(),a.getDropTarget())};A_Ni.prototype.InitDomElement=A_Ni.prototype.InitDomElement;A_Ni.InitSubclass=function(){AdfObject.ensureClassInitialization(A_Ni)};A_a("AdfDhtmlAreaLayerPeer.InitSubclass",A_Ni.InitSubclass);
A_Ni.prototype.XL=function(){for(var a=this.getComponent().getDescendantComponents(),b="",c=0;c<a.length;c++){var d=a[c];"oracle.dss.adf.thematicMap.AreaDataLayer"==d.getComponentType()&&"immediate"==d.getContentDelivery()&&(b+=d.getPeer().loadLayer())}return b};A_Ni.prototype.initLayerData=A_Ni.prototype.XL;
A_Ni.prototype.wf=function(){var a=this.getComponent().getDescendantComponents();if(a)for(var b=0;b<a.length;b++){var c=a[b];if(("oracle.dss.adf.thematicMap.AreaDataLayer"==c.getComponentType()||"oracle.dss.adf.thematicMap.PointDataLayer"==c.getComponentType())&&(c=c.getPeer())&&c.wf())return!0}return!1};