|
|||||||||
| 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.BaloonLabelMarker
public class BaloonLabelMarker extends AbstractTextMarker
Renders a balloon label marker. Balloon label markers are similar to callouts. ToolTipManager
uses the marker as default marker to display tool-tips.
| Modifier and Type | Field and Description |
|---|---|
protected Rectangle2D |
tipBounds
|
| 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 |
|---|
BaloonLabelMarker()
Constructs a new BaloonLabelMarker. |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Disposes object |
void |
draw(AbstractGraphics g,
SeriesPaintTags tag,
Style style)
Renders the marker on the Graphics context. |
Rectangle2D |
getBounds()
Gets bounds of this marker. |
void |
prepare(AbstractGraphics g)
Prepares the marker for drawing. |
void |
reset()
Resets the marker. |
void |
setEntity(ChartEntity entity)
References the entity object, for which the marker is being painted. |
void |
setTextAlignment(Alignment hAlign,
Alignment vAlign)
Sets horizontal and vertical text alignment for this marker. |
| Methods inherited from class lt.monarch.chart.marker.AbstractTextMarker |
|---|
applyConstraints, 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, setLocation, setMetaModel, setTransparencyValue, setVisible |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Rectangle2D tipBounds
| Constructor Detail |
|---|
public BaloonLabelMarker()
BaloonLabelMarker.
| Method Detail |
|---|
public void setTextAlignment(Alignment hAlign,
Alignment vAlign)
setTextAlignment in interface MarkersetTextAlignment in class AbstractMarkerhAlign - horizontal alignment. Possible alignments: Alignment.CENTER, Alignment.LEFT,
Alignment.RIGHT.vAlign - vertical alignment. Possible alignments: Alignment.CENTER, Alignment.TOP,
Alignment.BOTTOM.public void reset()
reset in interface Markerreset in class AbstractMarkerpublic void setEntity(ChartEntity entity)
setEntity in interface MarkersetEntity in class AbstractMarkerentity - the referenced chart entitypublic Rectangle2D getBounds()
public void prepare(AbstractGraphics g)
prepare in interface Markerprepare in class AbstractMarkerg - graphics context
public void draw(AbstractGraphics g,
SeriesPaintTags tag,
Style style)
Marker
g - graphics contexttag - painting tagstyle - drawing stylepublic void dispose()
AbstractMarker
dispose in interface Markerdispose in class AbstractMarker
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||