public void handleEvent( Event event ) { if ( event.widget.equals( iscMarkerSize ) ) { ( (LineSeries) series ).getMarker( ) .setSize( ( (Integer) event.data ).intValue( ) ); } else if ( event.widget.equals( liacLine ) ) { if ( event.type == LineAttributesComposite.VISIBILITY_CHANGED_EVENT ) { ( (LineSeries) series ).getLineAttributes( ) .setVisible( ( (Boolean) event.data ).booleanValue( ) ); } else if ( event.type == LineAttributesComposite.STYLE_CHANGED_EVENT ) { ( (LineSeries) series ).getLineAttributes( ) .setStyle( (LineStyle) event.data ); } else if ( event.type == LineAttributesComposite.WIDTH_CHANGED_EVENT ) { ( (LineSeries) series ).getLineAttributes( ) .setThickness( ( (Integer) event.data ).intValue( ) ); } else if ( event.type == LineAttributesComposite.COLOR_CHANGED_EVENT ) { ( (LineSeries) series ).getLineAttributes( ) .setColor( (ColorDefinition) event.data ); } } }
public void handleEvent(Event event) { if (event.widget.equals(iscMarkerSize)) { ((LineSeries) series).getMarker().setSize(((Integer) event.data).intValue()); } else if (event.widget.equals(liacLine)) { if (event.type == LineAttributesComposite.VISIBILITY_CHANGED_EVENT) { ((LineSeries) series).getLineAttributes().setVisible(((Boolean) event.data).booleanValue()); } else if (event.type == LineAttributesComposite.STYLE_CHANGED_EVENT) { ((LineSeries) series).getLineAttributes().setStyle((LineStyle) event.data); } else if (event.type == LineAttributesComposite.WIDTH_CHANGED_EVENT) { ((LineSeries) series).getLineAttributes().setThickness(((Integer) event.data).intValue()); } else if (event.type == LineAttributesComposite.COLOR_CHANGED_EVENT) { ((LineSeries) series).getLineAttributes().setColor((ColorDefinition) event.data); } } else if (event.widget.equals(fccShadow)) { ((LineSeries) series).setShadowColor((ColorDefinition) event.data); } }
	public void handleEvent( Event event )	{		if ( event.widget.equals( iscMarkerSize ) )		{			( (LineSeries) series ).getMarker( )					.setSize( ( (Integer) event.data ).intValue( ) );		}		else if ( event.widget.equals( liacLine ) )		{			if ( event.type == LineAttributesComposite.VISIBILITY_CHANGED_EVENT )			{				( (LineSeries) series ).getLineAttributes( )						.setVisible( ( (Boolean) event.data ).booleanValue( ) );			}			else if ( event.type == LineAttributesComposite.STYLE_CHANGED_EVENT )			{				( (LineSeries) series ).getLineAttributes( )						.setStyle( (LineStyle) event.data );			}			else if ( event.type == LineAttributesComposite.WIDTH_CHANGED_EVENT )			{				( (LineSeries) series ).getLineAttributes( )						.setThickness( ( (Integer) event.data ).intValue( ) );			}			else if ( event.type == LineAttributesComposite.COLOR_CHANGED_EVENT )			{				( (LineSeries) series ).getLineAttributes( )						.setColor( (ColorDefinition) event.data );			}		}	}