|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.plugins.AbstractChartPlugin<AbstractChart<?,?>>
lt.monarch.chart.plugins.MarkerPainter
public class MarkerPainter extends AbstractChartPlugin<AbstractChart<?,?>>
| Modifier and Type | Field and Description |
|---|---|
protected LabelLayouter |
layouter
Marker label layouter. |
protected java.util.List<MarkerDecorableSeries<?,?>> |
markerDecoratedSeries
array of registered marker decorated series. |
| Constructor and Description |
|---|
MarkerPainter()
|
| Modifier and Type | Method and Description |
|---|---|
void |
activate()
Prepares the plug-in, when it is installed. |
void |
addMarkerDecorableSeries(MarkerDecorableSeries<?,?> series)
Adds series to marker decorated series array. |
void |
deactivate()
Cleanups the plug-in, when it is uninstalled. |
protected void |
draw(AbstractGraphics g)
|
protected java.util.ArrayList<java.util.ArrayList<MarkerConstraints>> |
getMarkerConstraints(MarkerDecorableSeries series)
|
java.util.List<MarkerDecorableSeries<?,?>> |
getMarkerDecorableSeriesList()
Returns list with registered MarkerDecorableSeries series objects |
void |
paint(AbstractGraphics g)
Does nothing- must be overridden in extending classes. |
boolean |
removeMarkerDecorableSeries(MarkerDecorableSeries<?,?> series)
Removes series from registered marker decorated series array. |
void |
setLabelLayouter(LabelLayouter layouter)
Sets label layouter for labeled markers. |
| Methods inherited from class lt.monarch.chart.plugins.AbstractChartPlugin |
|---|
adjustChart, chart, getChart, install, isActivated, uninstall |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.List<MarkerDecorableSeries<?,?>> markerDecoratedSeries
protected LabelLayouter layouter
| Constructor Detail |
|---|
public MarkerPainter()
| Method Detail |
|---|
public void activate()
AbstractChartPlugin
activate in class AbstractChartPlugin<AbstractChart<?,?>>public void deactivate()
AbstractChartPlugin
deactivate in class AbstractChartPlugin<AbstractChart<?,?>>public void paint(AbstractGraphics g)
AbstractChartPlugin
paint in interface ChartPlugin<AbstractChart<?,?>>paint in class AbstractChartPlugin<AbstractChart<?,?>>g - the Graphics context in which chart is paintedChartPlugin.paint(lt.monarch.chart.engine.AbstractGraphics)protected void draw(AbstractGraphics g)
protected java.util.ArrayList<java.util.ArrayList<MarkerConstraints>> getMarkerConstraints(MarkerDecorableSeries series)
public void addMarkerDecorableSeries(MarkerDecorableSeries<?,?> series)
series - Series that has to be registered in marker decorated series array.public boolean removeMarkerDecorableSeries(MarkerDecorableSeries<?,?> series)
series - Series that has to be removed from registered series array.public java.util.List<MarkerDecorableSeries<?,?>> getMarkerDecorableSeriesList()
public void setLabelLayouter(LabelLayouter layouter)
layouter - AbstractLabel layouter.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||