if (objWhat == EnuEvtDspRndWwdEarthDimTwo.COLOR_IN) // what about transparency?
{
Color col = (Color) evt.getValue();
BasicShapeAttributes bsa = (BasicShapeAttributes) super.getAttributes();
bsa.setInteriorMaterial(new Material(col));
this.firePropertyChange(GfrShouldRedrawRnd.STR, null, null);
return;
}
if (objWhat == EnuEvtDspRndWwdEarthDimTwo.TRANSPARENCY_IN)
{
Float flo = (Float) evt.getValue();
float fltAlpha = flo.floatValue();
BasicShapeAttributes bsa = (BasicShapeAttributes) super.getAttributes();
bsa.setInteriorOpacity((double) fltAlpha);
this.firePropertyChange(GfrShouldRedrawRnd.STR, null, null);
return;
}
if (objWhat == EnuEvtDspRndWwdEarthDimTwo.COLOR_OUT) // what about transparency?
{
Color col = (Color) evt.getValue();
BasicShapeAttributes bsa = (BasicShapeAttributes) super.getAttributes();
bsa.setOutlineMaterial(new Material(col));
this.firePropertyChange(GfrShouldRedrawRnd.STR, null, null);
return;
}
if (objWhat == EnuEvtDspRndWwdEarthDimTwo.TRANSPARENCY_OUT)