Class IntervalMarker

java.lang.Object
org.jfree.chart.plot.Marker
org.jfree.chart.plot.IntervalMarker
All Implemented Interfaces:
Serializable, Cloneable

public class IntervalMarker
extends Marker
implements Cloneable, Serializable
Represents an interval to be highlighted in some way.
See Also:
Serialized Form
  • Constructor Details

    • 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, Paint paint, Stroke stroke, Paint outlinePaint, Stroke outlineStroke, float alpha)
      Constructs an interval marker.
      Parameters:
      start - the start of the interval.
      end - the end of the interval.
      paint - the paint.
      stroke - the stroke.
      outlinePaint - the outline paint.
      outlineStroke - the outline stroke.
      alpha - the alpha transparency.
  • Method Details

    • 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.
    • clone

      public Object clone() throws CloneNotSupportedException
      Returns a clone of the marker.
      Returns:
      A clone.
      Throws:
      CloneNotSupportedException - Not thrown by this class, but the exception is declared for the use of subclasses.