com.partnersoft.v3x.apps.MapBrowser
Class MapPointRenderer

java.lang.Object
  extended by com.partnersoft.v3x.apps.MapBrowser.MapPointRenderer
All Implemented Interfaces:
MapDataRenderer

public class MapPointRenderer
extends java.lang.Object
implements MapDataRenderer

Renders a MapPointSource.


Constructor Summary
MapPointRenderer()
           
MapPointRenderer(MapPointSource source)
           
 
Method Summary
 MapDataSource getSource()
          Returns the MapDataSource this renderer is rendering.
 void render(RenderMold moldy, java.awt.Graphics g, ClickMap clickMap)
          Renders data from its MapDataSource onto the given Graphics object and ClickMap according to the given RenderMold.
 void setSource(MapPointSource newSource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapPointRenderer

public MapPointRenderer()

MapPointRenderer

public MapPointRenderer(MapPointSource source)
Method Detail

render

public void render(RenderMold moldy,
                   java.awt.Graphics g,
                   ClickMap clickMap)
Description copied from interface: MapDataRenderer
Renders data from its MapDataSource onto the given Graphics object and ClickMap according to the given RenderMold. N.B. the ClickMap may be null, and the renderer may ignore it even if it is not null.

Specified by:
render in interface MapDataRenderer

getSource

public MapDataSource getSource()
Description copied from interface: MapDataRenderer
Returns the MapDataSource this renderer is rendering.

Specified by:
getSource in interface MapDataRenderer

setSource

public void setSource(MapPointSource newSource)