com.jrefinery.chart
Class IntervalMarker
java.lang.Object
|
+--com.jrefinery.chart.Marker
|
+--com.jrefinery.chart.IntervalMarker
- public class IntervalMarker
- extends Marker
Represents an interval to be highlighted in some way.
- Author:
- DG
Constructor Summary |
IntervalMarker(double start,
double end)
Constructs an interval marker. |
IntervalMarker(double start,
double end,
java.lang.String label,
java.awt.Paint outlinePaint,
java.awt.Stroke outlineStroke,
java.awt.Paint paint,
float alpha)
Constructs an interval marker. |
Method Summary |
double |
getEndValue()
Returns the end value for the interval. |
java.lang.String |
getLabel()
Returns the label for the interval (possibly null). |
double |
getStartValue()
Returns the start value for the interval. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntervalMarker
public IntervalMarker(double start,
double end)
- Constructs an interval marker.
- Parameters:
start
- the start of the interval.end
- the end of the interval.
IntervalMarker
public IntervalMarker(double start,
double end,
java.lang.String label,
java.awt.Paint outlinePaint,
java.awt.Stroke outlineStroke,
java.awt.Paint paint,
float alpha)
- Constructs an interval marker.
- Parameters:
start
- the start of the interval.end
- the end of the interval.label
- the interval label (null permitted).outlinePaint
- the outline paint.outlineStroke
- the outline stroke.paint
- the fill paint.alpha
- the alpha transparency.
getStartValue
public double getStartValue()
- Returns the start value for the interval.
- Returns:
- the start value.
getEndValue
public double getEndValue()
- Returns the end value for the interval.
- Returns:
- the end value.
getLabel
public java.lang.String getLabel()
- Returns the label for the interval (possibly null).
- Returns:
- the label.