Package org.geoforge.mdldsp.event.render.wwd

Examples of org.geoforge.mdldsp.event.render.wwd.GfrEvtMdlIdDspRndWwdEarthShpDimOnePoint


      GfrWrpBasPrsDspPrjRndWwdEarthShpDimOnePointCircle.getInstance().setKindAnnotation(strs, strValue);
     
      for (int i=0; i<strs.length; i++)
      {
        super.setChanged();
        Object objEvt = new GfrEvtMdlIdDspRndWwdEarthShpDimOnePoint(strs[i], EnuEvtDspRndWwdEarthShp.ANNOTATION, strValue);
        super.notifyObservers(objEvt);
      }
   }
View Full Code Here


      GfrWrpBasPrsDspPrjRndWwdEarthShpDimOnePointCircle.getInstance().setTooltip(strs, blnValue);
     
      for (int i=0; i<strs.length; i++)
      {
        super.setChanged();
        Object objEvt = new GfrEvtMdlIdDspRndWwdEarthShpDimOnePoint(strs[i], EnuEvtDspRndWwdEarthShp.TOOLTIP, boo);
        super.notifyObservers(objEvt);
      }
   }
View Full Code Here

    {
       // beg display
      
       if (objEvt instanceof GfrEvtMdlIdDspRndWwdEarthShpDimOnePoint)
       {
          GfrEvtMdlIdDspRndWwdEarthShpDimOnePoint evt = (GfrEvtMdlIdDspRndWwdEarthShpDimOnePoint) objEvt;
         
          String strId = evt.getId();
         
          if (strId.compareTo(super._strId) != 0)
             return;
         
          Object objWhat = evt.getWhat();
         
          if (objWhat == EnuEvtDspRndWwdEarthShp.TOOLTIP)
          {
             Boolean boo = (Boolean) evt.getValue();
             super.setValue(GfrKeysRnd.STR_HAS_TOOLTIP, boo.booleanValue());
             // memo: no need to send event to redraw!
             return;
          }
         
          if (objWhat == EnuEvtDspRndWwdEarthShpDimOne.COLOR)
          {
             Color col = (Color) evt.getValue();
            
             PointPlacemarkAttributes ppa = super.getAttributes();
             ppa.setLineMaterial(new Material(col));
             this.firePropertyChange(GfrShouldRedrawRnd.STR, null, null);
             return;
          }
         
          if (objWhat == EnuEvtDspRndWwdEarthShpDimOne.TRANSPARENCY)
          {
             Float flo = (Float) evt.getValue();
             float fltAlpha = flo.floatValue();
             fltAlpha *=100;
             fltAlpha *= 2.55;
             int intAlpha = Math.round(fltAlpha);
            
View Full Code Here

TOP

Related Classes of org.geoforge.mdldsp.event.render.wwd.GfrEvtMdlIdDspRndWwdEarthShpDimOnePoint

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.