|
|||||||||
| 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
lt.monarch.chart.chart2D.MarkerLine
public abstract class MarkerLine extends AbstractChartMarker
Draws a line with a label.
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Object |
level
Specifies marker line position on some axis |
protected PlaneMapper |
mapper
Mapper, used to map output to a plane in a n-dimensional space |
| Fields inherited from class lt.monarch.chart.AbstractChartMarker |
|---|
axisMapper, label, textStyle |
| 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 |
|---|
MarkerLine(PlaneMapper mapper,
AxisMapper axisMapper)
Constructs a new MarkerLine with the specified plane and axis mappers. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getLevel()
Gets the level where the marker line is mapped |
int |
getSortPosition()
Returns chart object paint order index. |
void |
setLabelPosition(double position,
Alignment align)
Sets the alignment and position of the label. |
void |
setLabelPosition(double position,
Alignment align,
Orientation orientation)
Sets the position, alignment and orientation of the label. |
void |
setLevel(java.lang.Object level)
Sets the marker line position. |
| Methods inherited from class lt.monarch.chart.AbstractChartMarker |
|---|
getAxisMapper, getLabel, getPaintMode, getParent, getStyle, getTextStyle, isLabelEmpty, setLabel, setPaintMode |
| 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 PlaneMapper mapper
protected java.lang.Object level
| Constructor Detail |
|---|
public MarkerLine(PlaneMapper mapper,
AxisMapper axisMapper)
MarkerLine with the specified plane and axis mappers.
mapper - the plane mapperaxisMapper - the axis mapper| Method Detail |
|---|
public void setLabelPosition(double position,
Alignment align)
position - label position on the line in range 0..1align - label alignment: below-of/left-of or on-top-of/right-of the line
public void setLabelPosition(double position,
Alignment align,
Orientation orientation)
position - label position on the line in range 0..1align - label alignment: below-of/left-of or on-top-of/right-of the lineorientation - label orientation: vertical or horizontalpublic void setLevel(java.lang.Object level)
level - line position in AxisMapper coordinatespublic java.lang.Object getLevel()
public int getSortPosition()
ChartObject
getSortPosition in interface ChartObjectgetSortPosition in class AbstractChartMarker
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||