|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.chart2D.series.AbstractVectorStrategy<ChartProjector>
public abstract class AbstractVectorStrategy<ChartProjector extends Projector> extends java.lang.Object implements AbstractStrategy, java.io.Serializable
Abstract drawing strategy. Should be used as a strategy patter in series for the series drawing customization.
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Object |
baseValue
Base value |
protected boolean |
dirty
True, if dirty, otherwise -false |
protected PlaneMapper |
mapper
Plane mapper (for polar, or Cartesian coordinates) |
protected MetaDataModel |
metaModel
Meta data model |
protected java.util.Map<DataColumnType,MinMaxValues> |
minMaxValues
Min Max values |
protected ArrayDataModel |
model
Chart data model |
protected Projector |
projector
Point projector |
protected Style |
style
Series style |
protected AxisMapper |
xMapper
X axis mapper |
protected AxisMapper |
yMapper
Y axis mapper |
protected double |
zoomMultiplier
Zoom multiplier |
| Constructor and Description |
|---|
AbstractVectorStrategy()
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
dispose()
Disposes the object |
void |
draw(AbstractGraphics g,
ChartProjector projector,
PlaneMapper mapper,
HotSpotMap hotMap,
Style style,
java.lang.Object baseValue,
VectorSeries series)
Draws the series in the chart area. |
protected void |
finalize()
|
protected java.util.Map<DataColumnType,MinMaxValues> |
getMinMaxValues()
Gets the minMaxValues value |
ArrayDataModel |
getModel()
Gets strategy data model |
protected Point2D |
projectPoint(Projector projector,
GeneralPoint ptt,
Point2D planePoint,
double x,
double y)
Projects the point |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected AxisMapper xMapper
protected AxisMapper yMapper
protected PlaneMapper mapper
protected ArrayDataModel model
protected MetaDataModel metaModel
protected Style style
protected double zoomMultiplier
protected java.lang.Object baseValue
protected java.util.Map<DataColumnType,MinMaxValues> minMaxValues
protected boolean dirty
protected Projector projector
| Constructor Detail |
|---|
public AbstractVectorStrategy()
| Method Detail |
|---|
public void draw(AbstractGraphics g,
ChartProjector projector,
PlaneMapper mapper,
HotSpotMap hotMap,
Style style,
java.lang.Object baseValue,
VectorSeries series)
g - graphics contextprojector - projector instancemapper - plane mapperhotMap - hot spot mapstyle - style objectbaseValue - base valueseries - scatter series instancepublic abstract void dispose()
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwableprotected java.util.Map<DataColumnType,MinMaxValues> getMinMaxValues()
public ArrayDataModel getModel()
AbstractStrategy
getModel in interface AbstractStrategy
protected Point2D projectPoint(Projector projector,
GeneralPoint ptt,
Point2D planePoint,
double x,
double y)
projector - projectorptt - template pointplanePoint - template point to map plane coordinatesx - x coordinate to mapy - y coordinate to map
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||