{
// 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);