|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.chart2D.series.AbstractQuoteStrategy<ChartProjector>
public abstract class AbstractQuoteStrategy<ChartProjector extends Projector> extends java.lang.Object implements java.io.Serializable
Abstract quote strategy class. It defines what methods the quote strategies should implement and implements common methods for all strategies in it.
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Object |
baseValue
Base value of the series |
protected boolean |
dirty
True, if dirty, otherwise -false |
protected PlaneMapper |
mapper
Plane mapper |
protected MetaDataModel |
metaModel
Meta data model |
protected java.util.Map<DataColumnType,MinMaxValues> |
minMaxValues
Minimum and Maximum values |
protected ArrayDataModel |
model
Series data model |
protected PaintMode |
paintMode
Paint mode of the series |
protected Point2D |
planePoint
Template point for mapping plane |
protected Projector |
projector
Point projector |
protected Style |
style
Style of series |
protected GeneralPoint |
tempPoint
Template point for projecting points |
protected AxisMapper |
xMapper
X axis mapper |
protected AxisMapper |
yMapper
Y axis mapper |
protected double |
zoomMultiplier
Zoom multiplier |
| Constructor and Description |
|---|
AbstractQuoteStrategy()
|
| 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,
StockSeries series)
Draws the series in the chart area. |
protected void |
finalize()
|
protected java.util.Map<DataColumnType,MinMaxValues> |
getMinMaxValues()
Gets the minMaxValues value |
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 ArrayDataModel model
protected MetaDataModel metaModel
protected PlaneMapper mapper
protected Style style
protected double zoomMultiplier
protected GeneralPoint tempPoint
protected Point2D planePoint
protected java.lang.Object baseValue
protected Projector projector
protected PaintMode paintMode
protected boolean dirty
protected java.util.Map<DataColumnType,MinMaxValues> minMaxValues
| Constructor Detail |
|---|
public AbstractQuoteStrategy()
| Method Detail |
|---|
public void draw(AbstractGraphics g,
ChartProjector projector,
PlaneMapper mapper,
HotSpotMap hotMap,
Style style,
java.lang.Object baseValue,
StockSeries 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.Throwable
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 mapprotected java.util.Map<DataColumnType,MinMaxValues> getMinMaxValues()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||