lt.monarch.chart.chart2D.series
Class AbstractRadarStrategy<ChartProjector extends Projector>

java.lang.Object
  extended by lt.monarch.chart.chart2D.series.AbstractRadarStrategy<ChartProjector>
All Implemented Interfaces:
java.io.Serializable, AbstractStrategy
Direct Known Subclasses:
PolarRadarStrategy, RadarStrategy

public abstract class AbstractRadarStrategy<ChartProjector extends Projector>
extends java.lang.Object
implements AbstractStrategy, java.io.Serializable

Base class for radar char series strategies.

See Also:
Serialized Form

Constructor Summary
Constructor and Description
AbstractRadarStrategy()
           
 
Method Summary
Modifier and Type Method and Description
 void draw(AbstractGraphics g, ChartProjector projector, AxisMapper mapper, HotSpotMap hotMap, Style style, RadarSeries series)
          Paints the radar series in the specified Graphics context.
 ArrayDataModel getModel()
          Gets strategy data model
abstract  Polygon2D getPolygon(ChartProjector projector, AbstractRadarMapper mapper, ChartDataModel model)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractRadarStrategy

public AbstractRadarStrategy()
Method Detail

getModel

public ArrayDataModel getModel()
Description copied from interface: AbstractStrategy
Gets strategy data model

Specified by:
getModel in interface AbstractStrategy
Returns:
strategy data model

draw

public void draw(AbstractGraphics g,
                 ChartProjector projector,
                 AxisMapper mapper,
                 HotSpotMap hotMap,
                 Style style,
                 RadarSeries series)
Paints the radar series in the specified Graphics context.

Parameters:
g - the Graphics context in which to paint radar series

getPolygon

public abstract Polygon2D getPolygon(ChartProjector projector,
                                     AbstractRadarMapper mapper,
                                     ChartDataModel model)