Package org.geoforge.guillcogc.panel

Examples of org.geoforge.guillcogc.panel.GfrPnlPrintableSctAwtDspSecTloImgLgdLyrOgc


   }
  
   @Override
   public boolean tabAboutToClose(int intIndex)
   {
      final GfrPnlPrintableSctAwtDspSecTloImgLgdLyrOgc pnl = (GfrPnlPrintableSctAwtDspSecTloImgLgdLyrOgc) super.getComponent(intIndex);
      _tabAboutToCloseInvokedLater_(pnl);
     
      return super.tabAboutToClose(intIndex);

      // CANNOT USE THIS FOR NOW COZ OF SERIALIZATION TBRLS
View Full Code Here


   protected GfrPnlPrintableSctAwtDspSecTloImgLgdLyrOgc _addLegend(
           String strIdTlo,
           String strIdLgd,
           String strTitleLgd) throws Exception
   {     
      GfrPnlPrintableSctAwtDspSecTloImgLgdLyrOgc pnlDsp = new GfrPnlPrintableSctAwtDspSecTloImgLgdLyrOgc(
              super._pnlStatusBar_,
              super._strIdViewer_,
              strIdTlo,
              strIdLgd);
           
      if (! pnlDsp.init())
      {
         String strError = "! pnlDsp.init()";
         GfrTabDspSecClsYesObjImgLgdLyrWms._LOGGER_.severe(strError);
         throw new Exception(strError);
      }
View Full Code Here

   {
      if (! bln)
      {
         for (int i=0; i<super.getComponentCount(); i++)
         {
            GfrPnlPrintableSctAwtDspSecTloImgLgdLyrOgc pnlCur = (GfrPnlPrintableSctAwtDspSecTloImgLgdLyrOgc) super.getComponent(i);
            String strIdCur = pnlCur.getIdLegendLayer();
           
            if (strIdCur.compareTo(strIdLgdToHandle) != 0)
               continue;
           
            super.remove(pnlCur);
            pnlCur.destroy();
           
            if (super.getComponentCount() == 0)
               super.setSize(super.getMinimumSize());
           
            return;
         }
        
         return;
      }
     
      // bln = true
      String[] strsIdLyrLeaf = GfrWrpBasTopSynOgcWmss.getInstance().getIdsLayerLeaf();
     
      if (strsIdLyrLeaf!=null && strsIdLyrLeaf.length>0)
      {
         for (String strIdLyrCur: strsIdLyrLeaf)
         {
            String strIdLgdCur = GfrWrpBasDatObjNameTloWms.s_getIdChildLegendFromIdOwnerLayer(strIdLyrCur);
           
            if (strIdLgdCur.compareTo(strIdLgdToHandle) != 0)
               continue;
           
            String strIdTlo = GfrWrpBasTopSynOgcWmss.getInstance().getIdTloOwnerFromLayerLeaf(strIdLyrCur);
            String strTitle = GfrWrpBasSynObjNameTloWms.getInstance().getNameImageLegendLayerLeaf(strIdLgdToHandle);
            GfrPnlPrintableSctAwtDspSecTloImgLgdLyrOgc pnlDsp = _addLegend(strIdTlo, strIdLgdToHandle, strTitle);
            super.setSelectedComponent(pnlDsp);
            return;
         } // end of for
      }
     
      String[] strsIdLyrFolder = GfrWrpBasTopSynOgcWmss.getInstance().getIdsLayerFolder();
     
      if (strsIdLyrFolder!=null && strsIdLyrFolder.length>0)
      {
         for (String strIdLyrCur: strsIdLyrFolder)
         {
            String strIdLgdCur = GfrWrpBasDatObjNameTloWms.s_getIdChildLegendFromIdOwnerLayer(strIdLyrCur);
           
            if (strIdLgdCur.compareTo(strIdLgdToHandle) != 0)
               continue;
           
            String strIdTlo = GfrWrpBasTopSynOgcWmss.getInstance().getIdTloOwnerFromLayerFolder(strIdLyrCur);
            String strTitle = GfrWrpBasSynObjNameTloWms.getInstance().getNameImageLegendLayerFolder(strIdLgdToHandle);
            GfrPnlPrintableSctAwtDspSecTloImgLgdLyrOgc pnlDsp = _addLegend(strIdTlo, strIdLgdToHandle, strTitle);
            super.setSelectedComponent(pnlDsp);
         } // end of for
      }
   }
View Full Code Here

   {
      ArrayList<Component> alt = new ArrayList<Component>();
        
      for (int i=0; i<super.getComponentCount(); i++)
      {
         GfrPnlPrintableSctAwtDspSecTloImgLgdLyrOgc pnlDspCur = (GfrPnlPrintableSctAwtDspSecTloImgLgdLyrOgc) super.getComponentAt(i);

         String strIdTLoCur = pnlDspCur.getIdTlo();

         if (strIdTLoCur.compareTo(strIdTlo) != 0)
            continue;

         alt.add(pnlDspCur);
View Full Code Here

TOP

Related Classes of org.geoforge.guillcogc.panel.GfrPnlPrintableSctAwtDspSecTloImgLgdLyrOgc

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.