|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.engine.AbstractChartObject<MarkerPaintTags>
lt.monarch.chart.AbstractChartMarker
public abstract class AbstractChartMarker extends AbstractChartObject<MarkerPaintTags>
Abstract chart marker class, which encompasses marker line and marker range classes.
| Modifier and Type | Field and Description |
|---|---|
protected AxisMapper |
axisMapper
axis mapper used to map level object |
protected java.lang.String |
label
The marker line label |
protected TextStyle<MarkerTextPaintTags> |
textStyle
Text style object |
| Fields inherited from class lt.monarch.chart.engine.AbstractChartObject |
|---|
AXIS_SORT_POSITION, BREAK_LINE_POSITION, DEFAULT_SORT_POSITION, GRID_SORT_POSITION, MARKER_SERIES_SORT_POSITION, MARKERS_SORT_POSITION, paintStyle, SERIES_SORT_POSITION, sortPosition, style |
| Constructor and Description |
|---|
AbstractChartMarker(AxisMapper axisMapper)
|
| Modifier and Type | Method and Description |
|---|---|
AxisMapper |
getAxisMapper()
Gets axis mapper used for mapping marker |
java.lang.String |
getLabel()
Get marker range label |
PaintMode |
getPaintMode()
Returns the paint mode of the grid |
java.lang.Object |
getParent()
Return the parent chart object |
int |
getSortPosition()
Returns chart object paint order index. |
AbstractStyle |
getStyle(StyleType styleType)
Gets style object for the stylesheet attributes specified by style type. |
TextStyle<MarkerTextPaintTags> |
getTextStyle()
Returns text style object |
protected boolean |
isLabelEmpty()
Checks if label is empty and if yes it won't be drawn |
void |
setLabel(java.lang.String label)
Sets the label of the marker line. |
void |
setPaintMode(PaintMode paintMode)
Sets grid painting mode. |
| Methods inherited from class lt.monarch.chart.engine.AbstractChartObject |
|---|
activate, chart, copy, deactivate, dispose, finalize, getChart, getChartObjectBounds, getPaintStyle, getStyle, invalidate, isVisible, layout, repaint, repaint, setChart, setVisible |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface lt.monarch.chart.engine.ChartObject |
|---|
draw |
| Field Detail |
|---|
protected final AxisMapper axisMapper
level object
protected java.lang.String label
protected TextStyle<MarkerTextPaintTags> textStyle
| Constructor Detail |
|---|
public AbstractChartMarker(AxisMapper axisMapper)
| Method Detail |
|---|
public int getSortPosition()
ChartObject
getSortPosition in interface ChartObjectgetSortPosition in class AbstractChartObject<MarkerPaintTags>public void setLabel(java.lang.String label)
label - labelpublic TextStyle<MarkerTextPaintTags> getTextStyle()
public java.lang.String getLabel()
public final void setPaintMode(PaintMode paintMode)
paintMode - The paintMode to set.public final PaintMode getPaintMode()
protected boolean isLabelEmpty()
public AxisMapper getAxisMapper()
public AbstractStyle getStyle(StyleType styleType)
ChartObject
getStyle in interface ChartObjectgetStyle in interface StyleEditorEntitygetStyle in class AbstractChartObject<MarkerPaintTags>styleType - style type attributespublic java.lang.Object getParent()
StyleEditorEntity
getParent in interface StyleEditorEntitygetParent in class AbstractChartObject<MarkerPaintTags>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||