lt.monarch.chart.chart2D
Class VerticalMarkerRange
java.lang.Object
lt.monarch.chart.engine.AbstractChartObject<MarkerPaintTags>
lt.monarch.chart.AbstractChartMarker
lt.monarch.chart.chart2D.MarkerRange
lt.monarch.chart.chart2D.VerticalMarkerRange
- All Implemented Interfaces:
- java.io.Serializable, ChartObject, StyleEditorEntity
public class VerticalMarkerRange
extends MarkerRange
Vertical marker range, which draws specified marker range over the specified axis.
- See Also:
- Serialized Form
| Methods inherited from class lt.monarch.chart.engine.AbstractChartObject |
activate, chart, copy, deactivate, dispose, finalize, getChart, 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 |
VerticalMarkerRange
public VerticalMarkerRange(PlaneMapper mapper,
AxisMapper axisMapper)
- Constructs a new
HorizontalMarkerLine with the specified plane and axis
mappers. Be sure to set the text location, since 0 point location will be used.
- Parameters:
mapper - the plane mapperaxisMapper - the axis mapper
VerticalMarkerRange
public VerticalMarkerRange(Axis axis)
- Constructs a new
HorizontalMarkerLine with a new PlaneMapper2D
mapper and axis mapper of the specified axis.
- Parameters:
axis - the axis
getLabelBounds
protected Rectangle2D getLabelBounds(AbstractGraphics g,
double min,
double max,
Point2D left,
Point2D right,
TextPainter painter)
- Description copied from class:
MarkerRange
- Gets label bounds
- Specified by:
getLabelBounds in class MarkerRange
- Parameters:
g - graphics contextmin - minimum value [0..1]max - maximum value [0..1]left - left pointright - right pointpainter - painter
- Returns:
- bound rectangle
setBounds
protected Rectangle2D setBounds(double min,
double max)
- Description copied from class:
MarkerRange
- Sets normalized coordinates for the marker range
- Specified by:
setBounds in class MarkerRange
- Parameters:
min - minimum value [0..1]max - maximum value [0..1]
- Returns:
- rectangle bounds
drawRange
protected void drawRange(AbstractGraphics g,
Rectangle2D bounds)
- Specified by:
drawRange in class MarkerRange