|
|||||||||
| 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
public abstract class AbstractTextMarker extends AbstractMarker
An abstract adapter class for creating text/labeled markers.
| Modifier and Type | Field and Description |
|---|---|
protected Chart<Projector2D> |
chart
Chart pointer |
protected static java.awt.Color |
defaultBackground
|
protected AbstractTextPainter |
painter
Text3D painter |
protected TextStyle<MarkerTextPaintTags> |
textStyle
Text3D style |
| Fields inherited from class lt.monarch.chart.marker.AbstractMarker |
|---|
dirty, map, metaModel, paintStyle, projectedLocation, style |
| Constructor and Description |
|---|
AbstractTextMarker()
Default constructor. |
| Modifier and Type | Method and Description |
|---|---|
void |
applyConstraints(MarkerConstraints[] mc,
AbstractGraphics g,
Projector projector)
Apply marker constraints |
AbstractTextPainter |
getPainter()
Gets text painter. |
java.lang.Object |
getParent()
Return the parent chart object |
AbstractStyle |
getStyle(StyleType styleType)
Gets style object for the stylesheet attributes specified by style type. |
TextStyle<MarkerTextPaintTags> |
getTextStyle()
Gets text style object. |
boolean |
isAdjustingForNonFittingBars()
Get if non fitting centered markers should be placed on top of bars |
void |
setAdjustingForNonFittingBars(boolean value)
Set if non fitting centered markers should be placed on top of bars |
| Methods inherited from class lt.monarch.chart.marker.AbstractMarker |
|---|
clearChartObjectsMap, dispose, draw, finalize, getChartObjectBounds, getMetaModel, getPaintStyle, getTransparencyValue, isVisible, mapChartObject, prepare, reset, setChartObjectsMap, setEntity, setLocation, setMetaModel, setTextAlignment, setTransparencyValue, 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.Marker |
|---|
draw, getBounds |
| Field Detail |
|---|
protected static final java.awt.Color defaultBackground
protected TextStyle<MarkerTextPaintTags> textStyle
protected AbstractTextPainter painter
protected Chart<Projector2D> chart
| Constructor Detail |
|---|
public AbstractTextMarker()
| Method Detail |
|---|
public TextStyle<MarkerTextPaintTags> getTextStyle()
public AbstractTextPainter getPainter()
public AbstractStyle getStyle(StyleType styleType)
StyleEditorEntity
getStyle in interface StyleEditorEntitygetStyle in class AbstractMarkerstyleType - style type attributespublic java.lang.Object getParent()
StyleEditorEntity
getParent in interface StyleEditorEntitygetParent in class AbstractMarker
public void applyConstraints(MarkerConstraints[] mc,
AbstractGraphics g,
Projector projector)
mc - marker constraintsg - graphicsprojector - projectorpublic boolean isAdjustingForNonFittingBars()
public void setAdjustingForNonFittingBars(boolean value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||