GraphicsLayer.setRenderer(Renderer<Graphic>) vs Graphic(Geometry, Symbol)

Discussion created by mggl on Feb 1, 2012
Lets say I want to add a graphic on a graphics layer on the map. I do this by the code below

    GraphicsLayer gl = new GraphicsLayer();
    Geometry geometry = new Point(xPoint, yPoint);
    Graphic graphic = new Graphic(geometry, new SimpleMarkerSymbol(Color.BLUE, 15, STYLE.CIRCLE));

I have to give a symbol(for defining how to render the graphic) as an attribute to the graphic constructor. So, why is there a setRenderer function for graphics layer?