lt.monarch.chart.marker
Class SimpleCrossMarker

java.lang.Object
  extended by lt.monarch.chart.marker.AbstractMarker
      extended by lt.monarch.chart.marker.SimpleCachableMarker
          extended by lt.monarch.chart.marker.SimpleCrossMarker
All Implemented Interfaces:
java.io.Serializable, Marker, StyleEditorEntity, SymetricMarker, StylesheetListener

public class SimpleCrossMarker
extends SimpleCachableMarker

Renders a cross shaped marker.

See Also:
Serialized Form

Nested Class Summary
Modifier and Type Class and Description
 
Nested classes/interfaces inherited from class lt.monarch.chart.marker.SimpleCachableMarker
SimpleCachableMarker.AWTImageFactory, SimpleCachableMarker.BufferedImageFactory, SimpleCachableMarker.ImageFactory
 
Field Summary
Modifier and Type Field and Description
 
Fields inherited from class lt.monarch.chart.marker.SimpleCachableMarker
cacheImage, cachingEnabled, imageFactory, markerSize
 
Fields inherited from class lt.monarch.chart.marker.AbstractMarker
dirty, map, metaModel, paintStyle, projectedLocation, style
 
Constructor Summary
Constructor and Description
SimpleCrossMarker()
          Constructs a new SimpleCrossMarker.
 
Method Summary
Modifier and Type Method and Description
 void draw(AbstractGraphics g, SeriesPaintTags tag, Style style)
          Renders the marker on the Graphics context.
 Rectangle2D getBounds()
          Gets bounds of this marker.
 
Methods inherited from class lt.monarch.chart.marker.SimpleCachableMarker
dispose, getMarkerSize, isCachingEnabled, resetCache, setCachingEnabled, setMarkerSize, stylesheetChanged, stylesheetKeyChanged
 
Methods inherited from class lt.monarch.chart.marker.AbstractMarker
clearChartObjectsMap, draw, finalize, getChartObjectBounds, getMetaModel, getPaintStyle, getParent, getStyle, 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
clearChartObjectsMap, draw, getMetaModel, getPaintStyle, getTransparencyValue, isVisible, prepare, reset, setChartObjectsMap, setEntity, setLocation, setMetaModel, setTextAlignment, setTransparencyValue
 
Methods inherited from interface lt.monarch.chart.engine.StyleEditorEntity
getChartObjectBounds, getParent, getStyle
 

Constructor Detail

SimpleCrossMarker

public SimpleCrossMarker()
Constructs a new SimpleCrossMarker.

Method Detail

getBounds

public Rectangle2D getBounds()
Gets bounds of this marker.

Returns:
A rectangle indicating this marker's bounds

draw

public void draw(AbstractGraphics g,
                 SeriesPaintTags tag,
                 Style style)
Description copied from interface: Marker
Renders the marker on the Graphics context. Uses style colors.

Parameters:
g - graphics context
tag - painting tag
style - drawing style