|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.marker.AbstractMarker
lt.monarch.chart.marker.AbstractTextMarker
lt.monarch.chart.marker.LabeledMarker
lt.monarch.chart.marker.MiddleLineMarker
public class MiddleLineMarker extends LabeledMarker
Only for LineSeries
| Modifier and Type | Field and Description |
|---|
| Fields inherited from class lt.monarch.chart.marker.LabeledMarker |
|---|
horizontalLabelAlignment, labelBounds, nestedMarker, offsetX, offsetY, useLabelAlignWithOffset, verticalLabelAlignment |
| Fields inherited from class lt.monarch.chart.marker.AbstractTextMarker |
|---|
chart, defaultBackground, painter, textStyle |
| Fields inherited from class lt.monarch.chart.marker.AbstractMarker |
|---|
dirty, map, metaModel, paintStyle, projectedLocation, style |
| Constructor and Description |
|---|
MiddleLineMarker()
Constructs a new LabeledMarker. |
MiddleLineMarker(Marker marker,
MetaDataModel metaModel)
Constructs a new LabeledMarker with the specified nested marker. |
MiddleLineMarker(MetaDataModel metaModel)
Constructs a new LabeledMarker. |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(AbstractGraphics g,
SeriesPaintTags tag,
Style style)
Renders the marker on the Graphics context. |
void |
prepare(AbstractGraphics g)
Prepares the marker for drawing. |
void |
reset()
Resets the marker after use. |
void |
setEntity(ChartEntity entity)
References the entity object, for which the marker is being painted. |
void |
setLocation(Projector projector,
GeneralPoint npt)
Sets location of the marker. |
| Methods inherited from class lt.monarch.chart.marker.LabeledMarker |
|---|
applyConstraints, dispose, drawConnectionLine, drawMarkerText, drawNestedMarker, getBounds, getConnectionColor, getHorizontalLabelAlignment, getLabelBounds, getNestedMarker, getVerticalLabelAlignment, setConnectionColor, setLabelAlignment, setOffset, setText, setTextAlignment |
| Methods inherited from class lt.monarch.chart.marker.AbstractTextMarker |
|---|
getPainter, getParent, getStyle, getTextStyle, isAdjustingForNonFittingBars, setAdjustingForNonFittingBars |
| Methods inherited from class lt.monarch.chart.marker.AbstractMarker |
|---|
clearChartObjectsMap, draw, finalize, getChartObjectBounds, getMetaModel, getPaintStyle, getTransparencyValue, isVisible, mapChartObject, setChartObjectsMap, setMetaModel, setTransparencyValue, setVisible |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MiddleLineMarker()
LabeledMarker. A new NullMarker is used as
nested marker.
public MiddleLineMarker(MetaDataModel metaModel)
LabeledMarker. A new NullMarker is used as
nested marker.
metaModel - meta data model
public MiddleLineMarker(Marker marker,
MetaDataModel metaModel)
LabeledMarker with the specified nested marker.
marker - the nested markermetaModel - meta data model| Method Detail |
|---|
public void setEntity(ChartEntity entity)
setEntity in interface MarkersetEntity in class LabeledMarkerentity - the referenced chart entity
public void setLocation(Projector projector,
GeneralPoint npt)
setLocation in interface MarkersetLocation in class LabeledMarkerprojector - projector used to project the normalized pointnpt - normalized point that specifies marker positionpublic void reset()
reset in interface Markerreset in class LabeledMarkerpublic void prepare(AbstractGraphics g)
prepare in interface Markerprepare in class LabeledMarkerg - graphics context
public void draw(AbstractGraphics g,
SeriesPaintTags tag,
Style style)
Marker
draw in interface Markerdraw in class LabeledMarkerg - graphics contexttag - painting tagstyle - drawing style
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||