From: <mu...@us...> - 2007-12-18 11:11:27
|
Revision: 686 http://jfreechart.svn.sourceforge.net/jfreechart/?rev=686&view=rev Author: mungady Date: 2007-12-18 03:11:22 -0800 (Tue, 18 Dec 2007) Log Message: ----------- 2007-12-18 David Gilbert <dav...@ob...> * source/org/jfree/chart/plot/IntervalMarker.java (IntervalMarker(double, double, Paint)): New constructor. Modified Paths: -------------- branches/jfreechart-1.0.x-branch/ChangeLog branches/jfreechart-1.0.x-branch/source/org/jfree/chart/plot/IntervalMarker.java Modified: branches/jfreechart-1.0.x-branch/ChangeLog =================================================================== --- branches/jfreechart-1.0.x-branch/ChangeLog 2007-12-18 11:08:03 UTC (rev 685) +++ branches/jfreechart-1.0.x-branch/ChangeLog 2007-12-18 11:11:22 UTC (rev 686) @@ -1,3 +1,8 @@ +2007-12-18 David Gilbert <dav...@ob...> + + * source/org/jfree/chart/plot/IntervalMarker.java + (IntervalMarker(double, double, Paint)): New constructor. + 2007-12-05 David Gilbert <dav...@ob...> * source/org/jfree/chart/HashUtilities.java Modified: branches/jfreechart-1.0.x-branch/source/org/jfree/chart/plot/IntervalMarker.java =================================================================== --- branches/jfreechart-1.0.x-branch/source/org/jfree/chart/plot/IntervalMarker.java 2007-12-18 11:08:03 UTC (rev 685) +++ branches/jfreechart-1.0.x-branch/source/org/jfree/chart/plot/IntervalMarker.java 2007-12-18 11:11:22 UTC (rev 686) @@ -39,6 +39,7 @@ * 26-Mar-2003 : Implemented Serializable (DG); * ------------- JFREECHART 1.0.x --------------------------------------------- * 05-Sep-2006 : Added MarkerChangeEvent notification (DG); + * 18-Dec-2007 : Added new constructor (DG); * */ @@ -84,12 +85,26 @@ } /** + * Creates a new interval marker with the specified range and fill paint. + * The outline paint and stroke default to <code>null</code>. + * + * @param start the lower bound of the interval. + * @param end the upper bound of the interval. + * @param paint the fill paint (<code>null</code> not permitted). + * + * @since 1.0.9 + */ + public IntervalMarker(double start, double end, Paint paint) { + this(start, end, paint, new BasicStroke(0.5f), null, null, 0.8f); + } + + /** * Constructs an interval marker. * * @param start the start of the interval. * @param end the end of the interval. - * @param paint the paint. - * @param stroke the stroke. + * @param paint the paint (<code>null</code> not permitted). + * @param stroke the stroke (<code>null</code> not permitted). * @param outlinePaint the outline paint. * @param outlineStroke the outline stroke. * @param alpha the alpha transparency. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |