You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(165) |
Nov
(296) |
Dec
(92) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(84) |
Feb
(20) |
Mar
(20) |
Apr
(42) |
May
(26) |
Jun
(30) |
Jul
(77) |
Aug
(151) |
Sep
(61) |
Oct
(259) |
Nov
(160) |
Dec
(76) |
2007 |
Jan
(159) |
Feb
(155) |
Mar
(183) |
Apr
(113) |
May
(110) |
Jun
(178) |
Jul
(56) |
Aug
(21) |
Sep
(50) |
Oct
(251) |
Nov
(218) |
Dec
(42) |
2008 |
Jan
(14) |
Feb
(37) |
Mar
(60) |
Apr
(77) |
May
(146) |
Jun
(256) |
Jul
(72) |
Aug
(51) |
Sep
(283) |
Oct
(22) |
Nov
(55) |
Dec
(53) |
2009 |
Jan
(56) |
Feb
(45) |
Mar
(56) |
Apr
(98) |
May
(84) |
Jun
(87) |
Jul
(32) |
Aug
(6) |
Sep
(19) |
Oct
|
Nov
(10) |
Dec
(6) |
2010 |
Jan
(2) |
Feb
(6) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(158) |
Nov
(17) |
Dec
(15) |
2012 |
Jan
(9) |
Feb
(3) |
Mar
(1) |
Apr
|
May
(1) |
Jun
(1) |
Jul
(22) |
Aug
(1) |
Sep
(29) |
Oct
(1) |
Nov
|
Dec
|
2013 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(259) |
Aug
(125) |
Sep
(24) |
Oct
(8) |
Nov
(132) |
Dec
(3) |
2014 |
Jan
(3) |
Feb
(26) |
Mar
(17) |
Apr
(8) |
May
|
Jun
(31) |
Jul
(126) |
Aug
(22) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
2015 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(21) |
Oct
|
Nov
(1) |
Dec
|
2016 |
Jan
(19) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: David G. <mu...@us...> - 2005-11-17 12:07:57
|
Update of /cvsroot/jfreechart/jfreechart/source/org/jfree/data/time In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12502/source/org/jfree/data/time Modified Files: Tag: STABLE_1-0-0 TimeSeries.java Log Message: 2005-11-17 David Gilbert <dav...@ob...> * source/org/jfree/data/time/TimeSeries.java (historyCount): Renamed maximumItemAge, (TimeSeries(String, String, String, Class)): Update for renamed field, (getMaximumItemCount): API doc update, (setMaximumItemCount): Added argument check, and remove surplus items in a way that fires a SeriesChangeEvent, (getHistoryCount): Renamed getMaximumItemAge(), (setHistoryCount): Renamed setMaxumumItemAge() and reimplemented, (add(TimeSeriesDataItem)): Update for refactored method, (addOrUpdate(RegularTimePeriod, Number)): Likewise, (ageHistoryCountItems): Renamed removeAgedItems and amended to generate change notification if requested, (ageHistoryCountItems(long)): Likewise, (equals): Updates for renamed method, (hashCode): Likewise. * source/org/jfree/data/time/junit/TimeSeriesTests.java (testEquals): Updated for renamed field. Index: TimeSeries.java =================================================================== RCS file: /cvsroot/jfreechart/jfreechart/source/org/jfree/data/time/TimeSeries.java,v retrieving revision 1.10.2.1 retrieving revision 1.10.2.2 diff -C2 -d -r1.10.2.1 -r1.10.2.2 *** TimeSeries.java 25 Oct 2005 21:35:24 -0000 1.10.2.1 --- TimeSeries.java 17 Nov 2005 12:07:45 -0000 1.10.2.2 *************** *** 63,66 **** --- 63,67 ---- * 15-Jun-2004 : Fixed NullPointerException in equals() method (DG); * 29-Nov-2004 : Fixed bug 1075255 (DG); + * 17-Nov-2005 : Renamed historyCount --> maximumItemAge (DG); * */ *************** *** 74,77 **** --- 75,79 ---- import org.jfree.data.general.Series; + import org.jfree.data.general.SeriesChangeEvent; import org.jfree.data.general.SeriesException; import org.jfree.util.ObjectUtilities; *************** *** 106,111 **** private int maximumItemCount; ! /** The history count. */ ! private int historyCount; /** --- 108,113 ---- private int maximumItemCount; ! /** The maximum age of items for the series. */ ! private int maximumItemAge; /** *************** *** 159,164 **** this.data = new java.util.ArrayList(); this.maximumItemCount = Integer.MAX_VALUE; ! this.historyCount = 0; ! } --- 161,166 ---- this.data = new java.util.ArrayList(); this.maximumItemCount = Integer.MAX_VALUE; ! this.maximumItemAge = Integer.MAX_VALUE; ! } *************** *** 227,234 **** /** * Returns the maximum number of items that will be retained in the series. ! * <P> ! * The default value is <code>Integer.MAX_VALUE</code>). * * @return The maximum item count. */ public int getMaximumItemCount() { --- 229,237 ---- /** * Returns the maximum number of items that will be retained in the series. ! * The default value is <code>Integer.MAX_VALUE</code>. * * @return The maximum item count. + * + * @see #setMaximumItemCount(int) */ public int getMaximumItemCount() { *************** *** 237,242 **** /** ! * Sets the maximum number of items that will be retained in the series. ! * <P> * If you add a new item to the series such that the number of items will * exceed the maximum item count, then the FIRST element in the series is --- 240,244 ---- /** ! * Sets the maximum number of items that will be retained in the series. * If you add a new item to the series such that the number of items will * exceed the maximum item count, then the FIRST element in the series is *************** *** 244,269 **** * exceeded. * ! * @param maximum the maximum. */ public void setMaximumItemCount(int maximum) { this.maximumItemCount = maximum; ! while (this.data.size() > this.maximumItemCount) { ! this.data.remove(0); } } /** ! * Returns the history count for the series. * ! * @return The history count. */ ! public int getHistoryCount() { ! return this.historyCount; } /** ! * Sets the number of time units in the 'history' for the series. ! * <P> ! * This provides one mechanism for automatically dropping old data from the * time series. For example, if a series contains daily data, you might set * the history count to 30. Then, when you add a new data item, all data --- 246,278 ---- * exceeded. * ! * @param maximum the maximum (requires >= 0). ! * ! * @see #getMaximumItemCount() */ public void setMaximumItemCount(int maximum) { + if (maximum < 0) { + throw new IllegalArgumentException("Negative 'maximum' argument."); + } this.maximumItemCount = maximum; ! int count = this.data.size(); ! if (count > maximum) { ! delete(0, count - maximum - 1); } } /** ! * Returns the maximum item age (in time periods) for the series. * ! * @return The maximum item age. ! * ! * @see #setMaximumItemAge(int) */ ! public int getMaximumItemAge() { ! return this.maximumItemAge; } /** ! * Sets the number of time units in the 'history' for the series. This ! * provides one mechanism for automatically dropping old data from the * time series. For example, if a series contains daily data, you might set * the history count to 30. Then, when you add a new data item, all data *************** *** 272,278 **** * * @param periods the number of time periods. */ ! public void setHistoryCount(int periods) { ! this.historyCount = periods; } --- 281,293 ---- * * @param periods the number of time periods. + * + * @see #getMaximumItemAge() */ ! public void setMaximumItemAge(int periods) { ! if (periods < 0) { ! throw new IllegalArgumentException("Negative 'periods' argument."); ! } ! this.maximumItemAge = periods; ! removeAgedItems(true); // remove old items and notify if necessary } *************** *** 506,512 **** } ! // check if there are any values earlier than specified by the ! // history count... ! ageHistoryCountItems(); fireSeriesChanged(); } --- 521,527 ---- } ! removeAgedItems(false); // remove old items if necessary, but ! // don't notify anyone, because that ! // happens next anyway... fireSeriesChanged(); } *************** *** 645,649 **** overwritten = (TimeSeriesDataItem) existing.clone(); existing.setValue(value); ! ageHistoryCountItems(); fireSeriesChanged(); } --- 660,666 ---- overwritten = (TimeSeriesDataItem) existing.clone(); existing.setValue(value); ! removeAgedItems(false); // remove old items if necessary, but ! // don't notify anyone, because that ! // happens next anyway... fireSeriesChanged(); } *************** *** 656,660 **** } ! ageHistoryCountItems(); fireSeriesChanged(); } --- 673,679 ---- } ! removeAgedItems(false); // remove old items if necessary, but ! // don't notify anyone, because that ! // happens next anyway... fireSeriesChanged(); } *************** *** 665,679 **** /** * Age items in the series. Ensure that the timespan from the youngest to ! * the oldest record in the series does not exceed history count. oldest ! * items will be removed if required. */ ! public void ageHistoryCountItems() { // check if there are any values earlier than specified by the history // count... ! if ((getItemCount() > 1) && (this.historyCount > 0)) { long latest = getTimePeriod(getItemCount() - 1).getSerialIndex(); while ((latest - getTimePeriod(0).getSerialIndex()) ! >= this.historyCount) { this.data.remove(0); } } --- 684,706 ---- /** * Age items in the series. Ensure that the timespan from the youngest to ! * the oldest record in the series does not exceed maximumItemAge time ! * periods. Oldest items will be removed if required. ! * ! * @param notify controls whether or not a {@link SeriesChangeEvent} is ! * sent to registered listeners IF any items are removed. */ ! public void removeAgedItems(boolean notify) { // check if there are any values earlier than specified by the history // count... ! if (getItemCount() > 1) { long latest = getTimePeriod(getItemCount() - 1).getSerialIndex(); + boolean removed = false; while ((latest - getTimePeriod(0).getSerialIndex()) ! >= this.maximumItemAge) { this.data.remove(0); + removed = true; + } + if (removed && notify) { + fireSeriesChanged(); } } *************** *** 686,696 **** * * @param latest the time to be compared against when aging data. */ ! public void ageHistoryCountItems(long latest) { // check if there are any values earlier than specified by the history // count... ! if ((getItemCount() > 1) && (this.historyCount > 0)) { while ((latest - getTimePeriod(0).getSerialIndex()) ! >= this.historyCount) { this.data.remove(0); } --- 713,725 ---- * * @param latest the time to be compared against when aging data. + * @param notify controls whether or not a {@link SeriesChangeEvent} is + * sent to registered listeners IF any items are removed. */ ! public void removeAgedItems(long latest, boolean notify) { // check if there are any values earlier than specified by the history // count... ! if (getItemCount() > 1) { while ((latest - getTimePeriod(0).getSerialIndex()) ! >= this.maximumItemAge) { this.data.remove(0); } *************** *** 855,859 **** } ! if (getHistoryCount() != s.getHistoryCount()) { return false; } --- 884,888 ---- } ! if (getMaximumItemAge() != s.getMaximumItemAge()) { return false; } *************** *** 888,892 **** result = 29 * result + this.data.hashCode(); result = 29 * result + this.maximumItemCount; ! result = 29 * result + this.historyCount; return result; } --- 917,921 ---- result = 29 * result + this.data.hashCode(); result = 29 * result + this.maximumItemCount; ! result = 29 * result + this.maximumItemAge; return result; } |
From: David G. <mu...@us...> - 2005-11-17 11:24:35
|
Update of /cvsroot/jfreechart/jfreechart/source/org/jfree/chart/renderer/category In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3916/source/org/jfree/chart/renderer/category Modified Files: MinMaxCategoryRenderer.java Log Message: 2005-11-17 David Gilbert <dav...@ob...> * source/org/jfree/chart/renderer/category/MinMaxCategoryRenderer.java (minValue): Removed, (maxValue): Removed, (isDrawLines): Updated API docs, (setDrawLines): Send RendererChangeEvent, (getGroupPaint): Updated API docs, (setGroupPaint): Check for null argument, send change event, (setGroupStroke): Likewise, (getObjectIcon): Updated API docs, (setObjectIcon): Check for null argument, send change event, (getMaxIcon): Updated API docs, (setMaxIcon): Check for null argument, send change event, (getMinIcon): Updated API docs, (setMinIcon): Check for null argument, send change event, (drawItem): Refactored (for removed fields). Index: MinMaxCategoryRenderer.java =================================================================== RCS file: /cvsroot/jfreechart/jfreechart/source/org/jfree/chart/renderer/category/MinMaxCategoryRenderer.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** MinMaxCategoryRenderer.java 15 Nov 2005 16:52:59 -0000 1.7 --- MinMaxCategoryRenderer.java 17 Nov 2005 11:24:08 -0000 1.8 *************** *** 52,55 **** --- 52,56 ---- * 29-Oct-2003 : Added workaround for font alignment in PDF output (DG); * 05-Nov-2004 : Modified drawItem() signature (DG); + * 17-Nov-2005 : Added change events and argument checks (DG); * */ *************** *** 80,83 **** --- 81,85 ---- import org.jfree.chart.entity.CategoryItemEntity; import org.jfree.chart.entity.EntityCollection; + import org.jfree.chart.event.RendererChangeEvent; import org.jfree.chart.labels.CategoryToolTipGenerator; import org.jfree.chart.plot.CategoryPlot; *************** *** 133,142 **** private double max; - /** The minimum number. */ - private Number minValue; - - /** The maximum number. */ - private Number maxValue; - /** * Default constructor. --- 135,138 ---- *************** *** 151,154 **** --- 147,152 ---- * @return boolean true if line will be drawn between sequenced categories, * otherwise false. + * + * @see #setDrawLines(boolean) */ public boolean isDrawLines() { *************** *** 157,174 **** /** ! * Sets whether or not lines are drawn between category points. * ! * @param drawLines if true, then line will be drawn between sequenced ! * categories. */ ! public void setDrawLines(boolean drawLines) { ! this.plotLines = drawLines; } /** ! * Gets the paint of the line between the minimum value and the maximum ! * value. * ! * @return The paint. */ public Paint getGroupPaint() { --- 155,181 ---- /** ! * Sets the flag that controls whether or not lines are drawn to connect ! * the items within a series and sends a {@link RendererChangeEvent} to ! * all registered listeners. * ! * @param draw the new value of the flag. ! * ! * @see #isDrawLines() */ ! public void setDrawLines(boolean draw) { ! if (this.plotLines != draw) { ! this.plotLines = draw; ! this.notifyListeners(new RendererChangeEvent(this)); ! } ! } /** ! * Returns the paint used to draw the line between the minimum and maximum ! * value items in each category. * ! * @return The paint (never <code>null</code>). ! * ! * @see #setGroupPaint(Paint) */ public Paint getGroupPaint() { *************** *** 177,194 **** /** ! * Sets the paint of the line between the minimum value and the maximum ! * value. * ! * @param groupPaint the new paint. */ ! public void setGroupPaint(Paint groupPaint) { ! this.groupPaint = groupPaint; } /** ! * Gets the stroke of the line between the minimum value and the maximum ! * value. * ! * @return Stroke The current stroke. */ public Stroke getGroupStroke() { --- 184,210 ---- /** ! * Sets the paint used to draw the line between the minimum and maximum ! * value items in each category and sends a {@link RendererChangeEvent} to ! * all registered listeners. * ! * @param paint the paint (<code>null</code> not permitted). ! * ! * @see #getGroupPaint() */ ! public void setGroupPaint(Paint paint) { ! if (paint == null) { ! throw new IllegalArgumentException("Null 'paint' argument."); ! } ! this.groupPaint = paint; ! notifyListeners(new RendererChangeEvent(this)); } /** ! * Returns the stroke used to draw the line between the minimum and maximum ! * value items in each category. * ! * @return The stroke (never <code>null</code>). ! * ! * @see #setGroupStroke(Stroke) */ public Stroke getGroupStroke() { *************** *** 207,213 **** /** ! * Gets the icon used to indicate the values. * ! * @return The icon. */ public Icon getObjectIcon() { --- 223,231 ---- /** ! * Returns the icon drawn for each data item. * ! * @return The icon (never <code>null</code>). ! * ! * @see #setObjectIcon(Icon) */ public Icon getObjectIcon() { *************** *** 216,231 **** /** ! * Sets the icon used to indicate the values. * ! * @param objectIcon the icon. */ ! public void setObjectIcon(Icon objectIcon) { ! this.objectIcon = objectIcon; } /** ! * Gets the icon used to indicate the maximum value. * ! * @return The icon */ public Icon getMaxIcon() { --- 234,258 ---- /** ! * Sets the icon drawn for each data item. * ! * @param icon the icon. ! * ! * @see #getObjectIcon() */ ! public void setObjectIcon(Icon icon) { ! if (icon == null) { ! throw new IllegalArgumentException("Null 'icon' argument."); ! } ! this.objectIcon = icon; ! notifyListeners(new RendererChangeEvent(this)); } /** ! * Returns the icon displayed for the maximum value data item within each ! * category. * ! * @return The icon (never <code>null</code>). ! * ! * @see #setMaxIcon(Icon) */ public Icon getMaxIcon() { *************** *** 234,249 **** /** ! * Sets the icon used to indicate the maximum value. * ! * @param maxIcon the max icon. */ ! public void setMaxIcon(Icon maxIcon) { ! this.maxIcon = maxIcon; } /** ! * Gets the icon used to indicate the minimum value. * ! * @return Icon */ public Icon getMinIcon() { --- 261,287 ---- /** ! * Sets the icon displayed for the maximum value data item within each ! * category and sends a {@link RendererChangeEvent} to all registered ! * listeners. * ! * @param icon the icon (<code>null</code> not permitted). ! * ! * @see #getMaxIcon() */ ! public void setMaxIcon(Icon icon) { ! if (icon == null) { ! throw new IllegalArgumentException("Null 'icon' argument."); ! } ! this.maxIcon = icon; ! notifyListeners(new RendererChangeEvent(this)); } /** ! * Returns the icon displayed for the minimum value data item within each ! * category. * ! * @return The icon (never <code>null</code>). ! * ! * @see #setMinIcon(Icon) */ public Icon getMinIcon() { *************** *** 252,261 **** /** ! * Sets the icon used to indicate the minimum value. * ! * @param minIcon the min icon. */ ! public void setMinIcon(Icon minIcon) { ! this.minIcon = minIcon; } --- 290,307 ---- /** ! * Sets the icon displayed for the minimum value data item within each ! * category and sends a {@link RendererChangeEvent} to all registered ! * listeners. * ! * @param icon the icon (<code>null</code> not permitted). ! * ! * @see #getMinIcon() */ ! public void setMinIcon(Icon icon) { ! if (icon == null) { ! throw new IllegalArgumentException("Null 'icon' argument."); ! } ! this.minIcon = icon; ! notifyListeners(new RendererChangeEvent(this)); } *************** *** 293,318 **** this.objectIcon.paintIcon(null, g2, (int) x1, (int) y1); if (this.lastCategory == column) { ! if (this.minValue.doubleValue() > value.doubleValue()) { ! this.min = y1; ! this.minValue = value; } ! if (this.maxValue.doubleValue() < value.doubleValue()) { ! this.max = y1; ! this.maxValue = value; } if (dataset.getRowCount() - 1 == row) { g2.setPaint(this.groupPaint); g2.setStroke(this.groupStroke); ! g2.draw(new Line2D.Double(x1, this.min, x1, this.max)); ! this.minIcon.paintIcon(null, g2, (int) x1, (int) this.min); ! this.maxIcon.paintIcon(null, g2, (int) x1, (int) this.max); } } ! else { this.lastCategory = column; ! this.min = y1; ! this.max = y1; ! this.minValue = value; ! this.maxValue = value; } // connect to the previous point --- 339,364 ---- this.objectIcon.paintIcon(null, g2, (int) x1, (int) y1); if (this.lastCategory == column) { ! if (this.min > value.doubleValue()) { ! this.min = value.doubleValue(); } ! if (this.max < value.doubleValue()) { ! this.max = value.doubleValue(); } if (dataset.getRowCount() - 1 == row) { g2.setPaint(this.groupPaint); g2.setStroke(this.groupStroke); ! double minY = rangeAxis.valueToJava2D(this.min, dataArea, ! plot.getRangeAxisEdge()); ! double maxY = rangeAxis.valueToJava2D(this.max, dataArea, ! plot.getRangeAxisEdge()); ! g2.draw(new Line2D.Double(x1, minY, x1, maxY)); ! this.minIcon.paintIcon(null, g2, (int) x1, (int) minY); ! this.maxIcon.paintIcon(null, g2, (int) x1, (int) maxY); } } ! else { // reset the min and max this.lastCategory = column; ! this.min = value.doubleValue(); ! this.max = value.doubleValue(); } // connect to the previous point |
From: David G. <mu...@us...> - 2005-11-17 11:24:35
|
Update of /cvsroot/jfreechart/jfreechart In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3916 Modified Files: ChangeLog Log Message: 2005-11-17 David Gilbert <dav...@ob...> * source/org/jfree/chart/renderer/category/MinMaxCategoryRenderer.java (minValue): Removed, (maxValue): Removed, (isDrawLines): Updated API docs, (setDrawLines): Send RendererChangeEvent, (getGroupPaint): Updated API docs, (setGroupPaint): Check for null argument, send change event, (setGroupStroke): Likewise, (getObjectIcon): Updated API docs, (setObjectIcon): Check for null argument, send change event, (getMaxIcon): Updated API docs, (setMaxIcon): Check for null argument, send change event, (getMinIcon): Updated API docs, (setMinIcon): Check for null argument, send change event, (drawItem): Refactored (for removed fields). Index: ChangeLog =================================================================== RCS file: /cvsroot/jfreechart/jfreechart/ChangeLog,v retrieving revision 1.51 retrieving revision 1.52 diff -C2 -d -r1.51 -r1.52 *** ChangeLog 16 Nov 2005 22:23:22 -0000 1.51 --- ChangeLog 17 Nov 2005 11:24:08 -0000 1.52 *************** *** 1,2 **** --- 1,20 ---- + 2005-11-17 David Gilbert <dav...@ob...> + + * source/org/jfree/chart/renderer/category/MinMaxCategoryRenderer.java + (minValue): Removed, + (maxValue): Removed, + (isDrawLines): Updated API docs, + (setDrawLines): Send RendererChangeEvent, + (getGroupPaint): Updated API docs, + (setGroupPaint): Check for null argument, send change event, + (setGroupStroke): Likewise, + (getObjectIcon): Updated API docs, + (setObjectIcon): Check for null argument, send change event, + (getMaxIcon): Updated API docs, + (setMaxIcon): Check for null argument, send change event, + (getMinIcon): Updated API docs, + (setMinIcon): Check for null argument, send change event, + (drawItem): Refactored (for removed fields). + 2005-11-16 David Gilbert <dav...@ob...> |
From: David G. <mu...@us...> - 2005-11-17 10:56:43
|
Update of /cvsroot/jfreechart/jfreechart/source/org/jfree/chart/renderer/category In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30813/source/org/jfree/chart/renderer/category Modified Files: Tag: STABLE_1-0-0 MinMaxCategoryRenderer.java Log Message: 2005-11-17 David Gilbert <dav...@ob...> * source/org/jfree/chart/renderer/category/MinMaxCategoryRenderer.java (minValue): Removed, (maxValue): Removed, (isDrawLines): Updated API docs, (setDrawLines): Send RendererChangeEvent, (getGroupPaint): Updated API docs, (setGroupPaint): Check for null argument, send change event, (setGroupStroke): Likewise, (getObjectIcon): Updated API docs, (setObjectIcon): Check for null argument, send change event, (getMaxIcon): Updated API docs, (setMaxIcon): Check for null argument, send change event, (getMinIcon): Updated API docs, (setMinIcon): Check for null argument, send change event, (drawItem): Refactored (for removed fields). ---------------------------------------------------------------------- Index: MinMaxCategoryRenderer.java =================================================================== RCS file: /cvsroot/jfreechart/jfreechart/source/org/jfree/chart/renderer/category/MinMaxCategoryRenderer.java,v retrieving revision 1.6.2.3 retrieving revision 1.6.2.4 diff -C2 -d -r1.6.2.3 -r1.6.2.4 *** MinMaxCategoryRenderer.java 15 Nov 2005 15:35:50 -0000 1.6.2.3 --- MinMaxCategoryRenderer.java 17 Nov 2005 10:56:31 -0000 1.6.2.4 *************** *** 52,55 **** --- 52,56 ---- * 29-Oct-2003 : Added workaround for font alignment in PDF output (DG); * 05-Nov-2004 : Modified drawItem() signature (DG); + * 17-Nov-2005 : Added change events and argument checks (DG); * */ *************** *** 80,83 **** --- 81,85 ---- import org.jfree.chart.entity.CategoryItemEntity; import org.jfree.chart.entity.EntityCollection; + import org.jfree.chart.event.RendererChangeEvent; import org.jfree.chart.labels.CategoryToolTipGenerator; import org.jfree.chart.plot.CategoryPlot; *************** *** 133,142 **** private double max; - /** The minimum number. */ - private Number minValue; - - /** The maximum number. */ - private Number maxValue; - /** * Default constructor. --- 135,138 ---- *************** *** 151,154 **** --- 147,152 ---- * @return boolean true if line will be drawn between sequenced categories, * otherwise false. + * + * @see #setDrawLines(boolean) */ public boolean isDrawLines() { *************** *** 157,174 **** /** ! * Sets whether or not lines are drawn between category points. * ! * @param drawLines if true, then line will be drawn between sequenced ! * categories. */ ! public void setDrawLines(boolean drawLines) { ! this.plotLines = drawLines; } /** ! * Gets the paint of the line between the minimum value and the maximum ! * value. * ! * @return The paint. */ public Paint getGroupPaint() { --- 155,181 ---- /** ! * Sets the flag that controls whether or not lines are drawn to connect ! * the items within a series and sends a {@link RendererChangeEvent} to ! * all registered listeners. * ! * @param draw the new value of the flag. ! * ! * @see #isDrawLines() */ ! public void setDrawLines(boolean draw) { ! if (this.plotLines != draw) { ! this.plotLines = draw; ! this.notifyListeners(new RendererChangeEvent(this)); ! } ! } /** ! * Returns the paint used to draw the line between the minimum and maximum ! * value items in each category. * ! * @return The paint (never <code>null</code>). ! * ! * @see #setGroupPaint(Paint) */ public Paint getGroupPaint() { *************** *** 177,213 **** /** ! * Sets the paint of the line between the minimum value and the maximum ! * value. * ! * @param groupPaint the new paint. */ ! public void setGroupPaint(Paint groupPaint) { ! this.groupPaint = groupPaint; } /** ! * Sets the stroke of the line between the minimum value and the maximum ! * value. * ! * @param groupStroke The new stroke */ ! public void setGroupStroke(Stroke groupStroke) { ! this.groupStroke = groupStroke; } /** ! * Gets the stroke of the line between the minimum value and the maximum * value. * ! * @return Stroke The current stroke. */ ! public Stroke getGroupStroke() { ! return this.groupStroke; } /** ! * Gets the icon used to indicate the values. * ! * @return The icon. */ public Icon getObjectIcon() { --- 184,231 ---- /** ! * Sets the paint used to draw the line between the minimum and maximum ! * value items in each category and sends a {@link RendererChangeEvent} to ! * all registered listeners. * ! * @param paint the paint (<code>null</code> not permitted). ! * ! * @see #getGroupPaint() */ ! public void setGroupPaint(Paint paint) { ! if (paint == null) { ! throw new IllegalArgumentException("Null 'paint' argument."); ! } ! this.groupPaint = paint; ! notifyListeners(new RendererChangeEvent(this)); } /** ! * Returns the stroke used to draw the line between the minimum and maximum ! * value items in each category. * ! * @return The stroke (never <code>null</code>). ! * ! * @see #setGroupStroke(Stroke) */ ! public Stroke getGroupStroke() { ! return this.groupStroke; } /** ! * Sets the stroke of the line between the minimum value and the maximum * value. * ! * @param groupStroke The new stroke */ ! public void setGroupStroke(Stroke groupStroke) { ! this.groupStroke = groupStroke; } /** ! * Returns the icon drawn for each data item. * ! * @return The icon (never <code>null</code>). ! * ! * @see #setObjectIcon(Icon) */ public Icon getObjectIcon() { *************** *** 216,231 **** /** ! * Sets the icon used to indicate the values. * ! * @param objectIcon the icon. */ ! public void setObjectIcon(Icon objectIcon) { ! this.objectIcon = objectIcon; } /** ! * Gets the icon used to indicate the maximum value. * ! * @return The icon */ public Icon getMaxIcon() { --- 234,258 ---- /** ! * Sets the icon drawn for each data item. * ! * @param icon the icon. ! * ! * @see #getObjectIcon() */ ! public void setObjectIcon(Icon icon) { ! if (icon == null) { ! throw new IllegalArgumentException("Null 'icon' argument."); ! } ! this.objectIcon = icon; ! notifyListeners(new RendererChangeEvent(this)); } /** ! * Returns the icon displayed for the maximum value data item within each ! * category. * ! * @return The icon (never <code>null</code>). ! * ! * @see #setMaxIcon(Icon) */ public Icon getMaxIcon() { *************** *** 234,249 **** /** ! * Sets the icon used to indicate the maximum value. * ! * @param maxIcon the max icon. */ ! public void setMaxIcon(Icon maxIcon) { ! this.maxIcon = maxIcon; } /** ! * Gets the icon used to indicate the minimum value. * ! * @return Icon */ public Icon getMinIcon() { --- 261,287 ---- /** ! * Sets the icon displayed for the maximum value data item within each ! * category and sends a {@link RendererChangeEvent} to all registered ! * listeners. * ! * @param icon the icon (<code>null</code> not permitted). ! * ! * @see #getMaxIcon() */ ! public void setMaxIcon(Icon icon) { ! if (icon == null) { ! throw new IllegalArgumentException("Null 'icon' argument."); ! } ! this.maxIcon = icon; ! notifyListeners(new RendererChangeEvent(this)); } /** ! * Returns the icon displayed for the minimum value data item within each ! * category. * ! * @return The icon (never <code>null</code>). ! * ! * @see #setMinIcon(Icon) */ public Icon getMinIcon() { *************** *** 252,261 **** /** ! * Sets the icon used to indicate the minimum value. * ! * @param minIcon the min icon. */ ! public void setMinIcon(Icon minIcon) { ! this.minIcon = minIcon; } --- 290,307 ---- /** ! * Sets the icon displayed for the minimum value data item within each ! * category and sends a {@link RendererChangeEvent} to all registered ! * listeners. * ! * @param icon the icon (<code>null</code> not permitted). ! * ! * @see #getMinIcon() */ ! public void setMinIcon(Icon icon) { ! if (icon == null) { ! throw new IllegalArgumentException("Null 'icon' argument."); ! } ! this.minIcon = icon; ! notifyListeners(new RendererChangeEvent(this)); } *************** *** 293,318 **** this.objectIcon.paintIcon(null, g2, (int) x1, (int) y1); if (this.lastCategory == column) { ! if (this.minValue.doubleValue() > value.doubleValue()) { ! this.min = y1; ! this.minValue = value; } ! if (this.maxValue.doubleValue() < value.doubleValue()) { ! this.max = y1; ! this.maxValue = value; } if (dataset.getRowCount() - 1 == row) { g2.setPaint(this.groupPaint); g2.setStroke(this.groupStroke); ! g2.draw(new Line2D.Double(x1, this.min, x1, this.max)); ! this.minIcon.paintIcon(null, g2, (int) x1, (int) this.min); ! this.maxIcon.paintIcon(null, g2, (int) x1, (int) this.max); } } ! else { this.lastCategory = column; ! this.min = y1; ! this.max = y1; ! this.minValue = value; ! this.maxValue = value; } // connect to the previous point --- 339,364 ---- this.objectIcon.paintIcon(null, g2, (int) x1, (int) y1); if (this.lastCategory == column) { ! if (this.min > value.doubleValue()) { ! this.min = value.doubleValue(); } ! if (this.max < value.doubleValue()) { ! this.max = value.doubleValue(); } if (dataset.getRowCount() - 1 == row) { g2.setPaint(this.groupPaint); g2.setStroke(this.groupStroke); ! double minY = rangeAxis.valueToJava2D(this.min, dataArea, ! plot.getRangeAxisEdge()); ! double maxY = rangeAxis.valueToJava2D(this.max, dataArea, ! plot.getRangeAxisEdge()); ! g2.draw(new Line2D.Double(x1, minY, x1, maxY)); ! this.minIcon.paintIcon(null, g2, (int) x1, (int) minY); ! this.maxIcon.paintIcon(null, g2, (int) x1, (int) maxY); } } ! else { // reset the min and max this.lastCategory = column; ! this.min = value.doubleValue(); ! this.max = value.doubleValue(); } // connect to the previous point |
From: David G. <mu...@us...> - 2005-11-17 10:56:42
|
Update of /cvsroot/jfreechart/jfreechart In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30813 Modified Files: Tag: STABLE_1-0-0 ChangeLog Log Message: 2005-11-17 David Gilbert <dav...@ob...> * source/org/jfree/chart/renderer/category/MinMaxCategoryRenderer.java (minValue): Removed, (maxValue): Removed, (isDrawLines): Updated API docs, (setDrawLines): Send RendererChangeEvent, (getGroupPaint): Updated API docs, (setGroupPaint): Check for null argument, send change event, (setGroupStroke): Likewise, (getObjectIcon): Updated API docs, (setObjectIcon): Check for null argument, send change event, (getMaxIcon): Updated API docs, (setMaxIcon): Check for null argument, send change event, (getMinIcon): Updated API docs, (setMinIcon): Check for null argument, send change event, (drawItem): Refactored (for removed fields). ---------------------------------------------------------------------- Index: ChangeLog =================================================================== RCS file: /cvsroot/jfreechart/jfreechart/ChangeLog,v retrieving revision 1.1.2.24 retrieving revision 1.1.2.25 diff -C2 -d -r1.1.2.24 -r1.1.2.25 *** ChangeLog 16 Nov 2005 22:17:38 -0000 1.1.2.24 --- ChangeLog 17 Nov 2005 10:56:31 -0000 1.1.2.25 *************** *** 1,2 **** --- 1,20 ---- + 2005-11-17 David Gilbert <dav...@ob...> + + * source/org/jfree/chart/renderer/category/MinMaxCategoryRenderer.java + (minValue): Removed, + (maxValue): Removed, + (isDrawLines): Updated API docs, + (setDrawLines): Send RendererChangeEvent, + (getGroupPaint): Updated API docs, + (setGroupPaint): Check for null argument, send change event, + (setGroupStroke): Likewise, + (getObjectIcon): Updated API docs, + (setObjectIcon): Check for null argument, send change event, + (getMaxIcon): Updated API docs, + (setMaxIcon): Check for null argument, send change event, + (getMinIcon): Updated API docs, + (setMinIcon): Check for null argument, send change event, + (drawItem): Refactored (for removed fields). + 2005-11-16 David Gilbert <dav...@ob...> |
From: David G. <mu...@us...> - 2005-11-16 22:23:29
|
Update of /cvsroot/jfreechart/jfreechart/source/org/jfree/data/statistics In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13342/source/org/jfree/data/statistics Modified Files: HistogramDataset.java Log Message: 2005-11-16 David Gilbert <dav...@ob...> * source/org/jfree/data/statistics/HistogramDataset.java (addSeries): Handle case where data value is smaller than the lower bound of the bin range. Index: HistogramDataset.java =================================================================== RCS file: /cvsroot/jfreechart/jfreechart/source/org/jfree/data/statistics/HistogramDataset.java,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** HistogramDataset.java 17 Jun 2005 09:06:44 -0000 1.10 --- HistogramDataset.java 16 Nov 2005 22:23:22 -0000 1.11 *************** *** 17,23 **** * License for more details. * ! * You should have received a copy of the GNU Lesser General Public License ! * along with this library; if not, write to the Free Software Foundation, ! * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * * [Java is a trademark or registered trademark of Sun Microsystems, Inc. --- 17,24 ---- * License for more details. * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, ! * USA. * * [Java is a trademark or registered trademark of Sun Microsystems, Inc. *************** *** 182,185 **** --- 183,189 ---- if (values[i] < maximum) { double fraction = (values[i] - minimum) / (maximum - minimum); + if (fraction < 0.0) { + fraction = 0.0; + } binIndex = (int) (fraction * bins); } |
From: David G. <mu...@us...> - 2005-11-16 22:23:29
|
Update of /cvsroot/jfreechart/jfreechart In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13342 Modified Files: ChangeLog Log Message: 2005-11-16 David Gilbert <dav...@ob...> * source/org/jfree/data/statistics/HistogramDataset.java (addSeries): Handle case where data value is smaller than the lower bound of the bin range. Index: ChangeLog =================================================================== RCS file: /cvsroot/jfreechart/jfreechart/ChangeLog,v retrieving revision 1.50 retrieving revision 1.51 diff -C2 -d -r1.50 -r1.51 *** ChangeLog 16 Nov 2005 17:06:53 -0000 1.50 --- ChangeLog 16 Nov 2005 22:23:22 -0000 1.51 *************** *** 1,4 **** --- 1,10 ---- 2005-11-16 David Gilbert <dav...@ob...> + * source/org/jfree/data/statistics/HistogramDataset.java + (addSeries): Handle case where data value is smaller than the lower + bound of the bin range. + + 2005-11-16 David Gilbert <dav...@ob...> + * source/org/jfree/chart/block/Arrangement.java (arrange): API doc comment update, |
From: David G. <mu...@us...> - 2005-11-16 22:17:46
|
Update of /cvsroot/jfreechart/jfreechart/source/org/jfree/data/statistics In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12048/source/org/jfree/data/statistics Modified Files: Tag: STABLE_1-0-0 HistogramDataset.java Log Message: 2005-11-16 David Gilbert <dav...@ob...> * source/org/jfree/data/statistics/HistogramDataset.java (addSeries): Handle case where data value is smaller than the lower bound of the bin range. ---------------------------------------------------------------------- Index: HistogramDataset.java =================================================================== RCS file: /cvsroot/jfreechart/jfreechart/source/org/jfree/data/statistics/HistogramDataset.java,v retrieving revision 1.9.2.2 retrieving revision 1.9.2.3 diff -C2 -d -r1.9.2.2 -r1.9.2.3 *** HistogramDataset.java 25 Oct 2005 21:34:46 -0000 1.9.2.2 --- HistogramDataset.java 16 Nov 2005 22:17:38 -0000 1.9.2.3 *************** *** 183,186 **** --- 183,189 ---- if (values[i] < maximum) { double fraction = (values[i] - minimum) / (maximum - minimum); + if (fraction < 0.0) { + fraction = 0.0; + } binIndex = (int) (fraction * bins); } |
From: David G. <mu...@us...> - 2005-11-16 22:17:46
|
Update of /cvsroot/jfreechart/jfreechart In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12048 Modified Files: Tag: STABLE_1-0-0 ChangeLog Log Message: 2005-11-16 David Gilbert <dav...@ob...> * source/org/jfree/data/statistics/HistogramDataset.java (addSeries): Handle case where data value is smaller than the lower bound of the bin range. ---------------------------------------------------------------------- Index: ChangeLog =================================================================== RCS file: /cvsroot/jfreechart/jfreechart/ChangeLog,v retrieving revision 1.1.2.23 retrieving revision 1.1.2.24 diff -C2 -d -r1.1.2.23 -r1.1.2.24 *** ChangeLog 15 Nov 2005 15:35:50 -0000 1.1.2.23 --- ChangeLog 16 Nov 2005 22:17:38 -0000 1.1.2.24 *************** *** 1,2 **** --- 1,8 ---- + 2005-11-16 David Gilbert <dav...@ob...> + + * source/org/jfree/data/statistics/HistogramDataset.java + (addSeries): Handle case where data value is smaller than the lower + bound of the bin range. + 2005-11-15 David Gilbert <dav...@ob...> |
Update of /cvsroot/jfreechart/jfreechart/source/org/jfree/chart/block In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23771/source/org/jfree/chart/block Modified Files: Arrangement.java BlockContainer.java BlockPanel.java BorderArrangement.java ColumnArrangement.java FlowArrangement.java Log Message: 2005-11-16 David Gilbert <dav...@ob...> * source/org/jfree/chart/block/Arrangement.java (arrange): API doc comment update, * source/org/jfree/chart/block/BlockContainer.java (arrangeOld): reformatting only, (arrange): Implemented RF and FR, (arrangeRR): Reformatted, (arrangeFR): Reformatted, (arrangeFN): Reformatted, (arrangeNF): Reformatted, (arrangeRF): Reformatted, * source/org/jfree/chart/block/BlockPanel.java (BlockPanel): Throw IllegalArgumentException if 'arrangeParams' is null, * source/org/jfree/chart/block/BorderArrangement.java (arrangeFR): Use new ArrangeParams() instead of null, (arrangeFN): Throw IllegalArgumentException for null params, * source/org/jfree/chart/block/ColumnArrangement.java (arrange): Updated API doc comments, * source/org/jfree/chart/block/FlowArrangement.java (arrange): Likewise. Index: BlockPanel.java =================================================================== RCS file: /cvsroot/jfreechart/jfreechart/source/org/jfree/chart/block/BlockPanel.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** BlockPanel.java 28 Oct 2005 12:33:23 -0000 1.2 --- BlockPanel.java 16 Nov 2005 17:06:54 -0000 1.3 *************** *** 74,79 **** --- 74,86 ---- * * @param block the block. + * @param arrangeParams the layout parameters (<code>null</code> not + * permitted). */ public BlockPanel(Block block, ArrangeParams arrangeParams) { + + if (arrangeParams == null) { + throw new IllegalArgumentException( + "Null 'arrangeParams' argument."); + } this.block = block; this.arrangeParams = arrangeParams; Index: BlockContainer.java =================================================================== RCS file: /cvsroot/jfreechart/jfreechart/source/org/jfree/chart/block/BlockContainer.java,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** BlockContainer.java 28 Oct 2005 10:57:21 -0000 1.15 --- BlockContainer.java 16 Nov 2005 17:06:54 -0000 1.16 *************** *** 179,184 **** * @return The block size (in Java2D units, never <code>null</code>). */ ! public ArrangeResult arrangeOld(Graphics2D g2, RectangleConstraint constraint, ! ArrangeParams params) { // the incoming constraint is for the overall size of the container // but the arrangement needs to constrain the contained blocks within --- 179,184 ---- * @return The block size (in Java2D units, never <code>null</code>). */ ! public ArrangeResult arrangeOld(Graphics2D g2, ! RectangleConstraint constraint, ArrangeParams params) { // the incoming constraint is for the overall size of the container // but the arrangement needs to constrain the contained blocks within *************** *** 194,198 **** * @param g2 the graphics device. * @param constraint the constraint (<code>null</code> not permitted). ! * @param params optional parameters. * * @return The block size (in Java2D units, never <code>null</code>). --- 194,198 ---- * @param g2 the graphics device. * @param constraint the constraint (<code>null</code> not permitted). ! * @param params arrangement parameters (<code>null</code> not permitted). * * @return The block size (in Java2D units, never <code>null</code>). *************** *** 225,229 **** } else if (h == LengthConstraintType.FIXED) { ! throw new RuntimeException("Not yet implemented."); } } --- 225,230 ---- } else if (h == LengthConstraintType.FIXED) { ! contentSize = arrangeRF(g2, cc.getWidthRange(), cc.getHeight(), ! params); } } *************** *** 233,237 **** } else if (h == LengthConstraintType.RANGE) { ! throw new RuntimeException("Not yet implemented."); } else if (h == LengthConstraintType.FIXED) { --- 234,239 ---- } else if (h == LengthConstraintType.RANGE) { ! contentSize = arrangeFR(g2, cc.getWidth(), cc.getHeightRange(), ! params); } else if (h == LengthConstraintType.FIXED) { *************** *** 291,316 **** Size2D naturalSize = arrangeNN(g2, params); if (!widthRange.contains(naturalSize.getWidth())) { ! return arrangeFR(g2, widthRange.getUpperBound(), heightRange, params); } else if (!heightRange.contains(naturalSize.getHeight())) { ! return arrangeRF(g2, widthRange, heightRange.getUpperBound(), params); } return naturalSize; } ! protected Size2D arrangeFR(Graphics2D g2, double fixedWidth, Range heightRange, ArrangeParams params) { ! return this.arrangement.arrange(this, g2, new RectangleConstraint(fixedWidth, heightRange), params).getSize(); } ! protected Size2D arrangeFN(Graphics2D g2, double fixedWidth, ArrangeParams params) { ! return this.arrangement.arrange(this, g2, new RectangleConstraint(fixedWidth, null), params).getSize(); } ! protected Size2D arrangeNF(Graphics2D g2, double fixedHeight, ArrangeParams params) { ! return this.arrangement.arrange(this, g2, new RectangleConstraint(null, fixedHeight), params).getSize(); } ! protected Size2D arrangeRF(Graphics2D g2, Range widthRange, double fixedHeight, ArrangeParams params) { ! return this.arrangement.arrange(this, g2, new RectangleConstraint(widthRange, fixedHeight), params).getSize(); } --- 293,341 ---- Size2D naturalSize = arrangeNN(g2, params); if (!widthRange.contains(naturalSize.getWidth())) { ! return arrangeFR(g2, widthRange.getUpperBound(), heightRange, ! params); } else if (!heightRange.contains(naturalSize.getHeight())) { ! return arrangeRF(g2, widthRange, heightRange.getUpperBound(), ! params); } return naturalSize; } ! /** ! * Arranges the container with the given constraints (a fixed width and a ! * range of heights) and returns the calculated size. ! * ! * @param g2 the graphics device. ! * @param fixedWidth the fixed width. ! * @param heightRange the height range. ! * @param params the params. ! * ! * @return The container size. ! */ ! protected Size2D arrangeFR(Graphics2D g2, double fixedWidth, ! Range heightRange, ArrangeParams params) { ! ArrangeResult r = this.arrangement.arrange(this, g2, ! new RectangleConstraint(fixedWidth, heightRange), params); ! return r.getSize(); } ! protected Size2D arrangeFN(Graphics2D g2, double fixedWidth, ! ArrangeParams params) { ! return this.arrangement.arrange(this, g2, ! new RectangleConstraint(fixedWidth, null), params).getSize(); } ! protected Size2D arrangeNF(Graphics2D g2, double fixedHeight, ! ArrangeParams params) { ! return this.arrangement.arrange(this, g2, new RectangleConstraint(null, ! fixedHeight), params).getSize(); } ! protected Size2D arrangeRF(Graphics2D g2, Range widthRange, ! double fixedHeight, ArrangeParams params) { ! ArrangeResult r = this.arrangement.arrange(this, g2, ! new RectangleConstraint(widthRange, fixedHeight), params); ! return r.getSize(); } Index: FlowArrangement.java =================================================================== RCS file: /cvsroot/jfreechart/jfreechart/source/org/jfree/chart/block/FlowArrangement.java,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** FlowArrangement.java 19 Jul 2005 14:27:02 -0000 1.16 --- FlowArrangement.java 16 Nov 2005 17:06:54 -0000 1.17 *************** *** 119,123 **** * @param constraint the size constraint. * @param g2 the graphics device. ! * @param params optional parameters. * * @return The size of the container's content. --- 119,123 ---- * @param constraint the size constraint. * @param g2 the graphics device. ! * @param params the layout parameters (<code>null</code> not permitted). * * @return The size of the container's content. Index: BorderArrangement.java =================================================================== RCS file: /cvsroot/jfreechart/jfreechart/source/org/jfree/chart/block/BorderArrangement.java,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** BorderArrangement.java 19 Jul 2005 14:27:01 -0000 1.16 --- BorderArrangement.java 16 Nov 2005 17:06:54 -0000 1.17 *************** *** 120,124 **** * @param g2 the graphics device. * @param constraint the constraint. ! * @param params optional parameters. * * @return The block size. --- 120,124 ---- * @param g2 the graphics device. * @param constraint the constraint. ! * @param params arrangement parameters (<code>null</code> not permitted). * * @return The block size. *************** *** 266,270 **** RectangleConstraint constraint, ArrangeParams params) { ! ArrangeResult r1 = arrangeFN(container, g2, constraint.getWidth(), null); Size2D size1 = r1.getSize(); if (constraint.getHeightRange().contains(size1.getHeight())) { --- 266,271 ---- RectangleConstraint constraint, ArrangeParams params) { ! ArrangeResult r1 = arrangeFN(container, g2, constraint.getWidth(), ! params); Size2D size1 = r1.getSize(); if (constraint.getHeightRange().contains(size1.getHeight())) { *************** *** 285,295 **** * @param g2 the graphics device. * @param width the fixed width. ! * @param params optional parameters. * * @return The container size after arranging the contents. */ protected ArrangeResult arrangeFN(BlockContainer container, Graphics2D g2, ! double width, ! ArrangeParams params) { double[] w = new double[5]; double[] h = new double[5]; --- 286,299 ---- * @param g2 the graphics device. * @param width the fixed width. ! * @param params arrangement parameters (<code>null</code> not permitted). * * @return The container size after arranging the contents. */ protected ArrangeResult arrangeFN(BlockContainer container, Graphics2D g2, ! double width, ArrangeParams params) { ! ! if (params == null) { ! throw new IllegalArgumentException("Null 'params' argument."); ! } double[] w = new double[5]; double[] h = new double[5]; Index: Arrangement.java =================================================================== RCS file: /cvsroot/jfreechart/jfreechart/source/org/jfree/chart/block/Arrangement.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Arrangement.java 17 Jun 2005 09:39:50 -0000 1.6 --- Arrangement.java 16 Nov 2005 17:06:54 -0000 1.7 *************** *** 70,74 **** * @param g2 the graphics device. * @param constraint the constraint. ! * @param params optional parameters. * * @return The container size after the arrangement. --- 70,74 ---- * @param g2 the graphics device. * @param constraint the constraint. ! * @param params arrangement parameters (<code>null</code> not permitted). * * @return The container size after the arrangement. Index: ColumnArrangement.java =================================================================== RCS file: /cvsroot/jfreechart/jfreechart/source/org/jfree/chart/block/ColumnArrangement.java,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** ColumnArrangement.java 28 Oct 2005 12:52:47 -0000 1.15 --- ColumnArrangement.java 16 Nov 2005 17:06:54 -0000 1.16 *************** *** 119,122 **** --- 119,123 ---- * @param g2 the graphics device. * @param constraint the size constraint. + * @param params the layout parameters (<code>null</code> not permitted). * * @return The size of the container after arrangement of the contents. |
From: David G. <mu...@us...> - 2005-11-16 17:07:04
|
Update of /cvsroot/jfreechart/jfreechart In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23771 Modified Files: ChangeLog Log Message: 2005-11-16 David Gilbert <dav...@ob...> * source/org/jfree/chart/block/Arrangement.java (arrange): API doc comment update, * source/org/jfree/chart/block/BlockContainer.java (arrangeOld): reformatting only, (arrange): Implemented RF and FR, (arrangeRR): Reformatted, (arrangeFR): Reformatted, (arrangeFN): Reformatted, (arrangeNF): Reformatted, (arrangeRF): Reformatted, * source/org/jfree/chart/block/BlockPanel.java (BlockPanel): Throw IllegalArgumentException if 'arrangeParams' is null, * source/org/jfree/chart/block/BorderArrangement.java (arrangeFR): Use new ArrangeParams() instead of null, (arrangeFN): Throw IllegalArgumentException for null params, * source/org/jfree/chart/block/ColumnArrangement.java (arrange): Updated API doc comments, * source/org/jfree/chart/block/FlowArrangement.java (arrange): Likewise. Index: ChangeLog =================================================================== RCS file: /cvsroot/jfreechart/jfreechart/ChangeLog,v retrieving revision 1.49 retrieving revision 1.50 diff -C2 -d -r1.49 -r1.50 *** ChangeLog 16 Nov 2005 16:49:20 -0000 1.49 --- ChangeLog 16 Nov 2005 17:06:53 -0000 1.50 *************** *** 1,4 **** --- 1,27 ---- 2005-11-16 David Gilbert <dav...@ob...> + * source/org/jfree/chart/block/Arrangement.java + (arrange): API doc comment update, + * source/org/jfree/chart/block/BlockContainer.java + (arrangeOld): reformatting only, + (arrange): Implemented RF and FR, + (arrangeRR): Reformatted, + (arrangeFR): Reformatted, + (arrangeFN): Reformatted, + (arrangeNF): Reformatted, + (arrangeRF): Reformatted, + * source/org/jfree/chart/block/BlockPanel.java + (BlockPanel): Throw IllegalArgumentException if 'arrangeParams' is + null, + * source/org/jfree/chart/block/BorderArrangement.java + (arrangeFR): Use new ArrangeParams() instead of null, + (arrangeFN): Throw IllegalArgumentException for null params, + * source/org/jfree/chart/block/ColumnArrangement.java + (arrange): Updated API doc comments, + * source/org/jfree/chart/block/FlowArrangement.java + (arrange): Likewise. + + 2005-11-16 David Gilbert <dav...@ob...> + * source/org/jfree/chart/plot/AxisPlotArrangement.java (arrange): Updated API doc comment, |
From: David G. <mu...@us...> - 2005-11-16 16:49:31
|
Update of /cvsroot/jfreechart/jfreechart/source/org/jfree/chart/plot In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19867/source/org/jfree/chart/plot Modified Files: AxisPlotArrangement.java CategoryPlotWrapper.java XYPlot.java XYPlotWrapper.java Log Message: 2005-11-16 David Gilbert <dav...@ob...> * source/org/jfree/chart/plot/AxisPlotArrangement.java (arrange): Updated API doc comment, * source/org/jfree/chart/plot/CategoryPlotWrapper.java (arrange): Likewise, * source/org/jfree/chart/plot/XYPlot.java (arrange): Use height calculator, * source/org/jfree/chart/plot/XYPlotWrapper.java (arrange): Updated API doc comment. Index: CategoryPlotWrapper.java =================================================================== RCS file: /cvsroot/jfreechart/jfreechart/source/org/jfree/chart/plot/CategoryPlotWrapper.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** CategoryPlotWrapper.java 19 Jul 2005 14:23:54 -0000 1.4 --- CategoryPlotWrapper.java 16 Nov 2005 16:49:20 -0000 1.5 *************** *** 137,141 **** * @param g2 the graphics device. * @param constraint the constraint (<code>null</code> not permitted). ! * @param params optional parameters. * * @return The result of the arrangement, including the size. --- 137,141 ---- * @param g2 the graphics device. * @param constraint the constraint (<code>null</code> not permitted). ! * @param params the layout parameters (<code>null</code> not permitted). * * @return The result of the arrangement, including the size. Index: XYPlot.java =================================================================== RCS file: /cvsroot/jfreechart/jfreechart/source/org/jfree/chart/plot/XYPlot.java,v retrieving revision 1.48 retrieving revision 1.49 diff -C2 -d -r1.48 -r1.49 *** XYPlot.java 19 Jul 2005 14:23:55 -0000 1.48 --- XYPlot.java 16 Nov 2005 16:49:20 -0000 1.49 *************** *** 196,199 **** --- 196,200 ---- import org.jfree.chart.block.ArrangeResult; import org.jfree.chart.block.Block; + import org.jfree.chart.block.BlockHeightCalculator; import org.jfree.chart.block.RectangleConstraint; import org.jfree.chart.event.ChartChangeEventType; *************** *** 212,215 **** --- 213,217 ---- import org.jfree.ui.RectangleEdge; import org.jfree.ui.RectangleInsets; + import org.jfree.ui.Size2D; import org.jfree.util.ObjectList; import org.jfree.util.ObjectUtilities; *************** *** 1985,1991 **** // there isn't any content to arrange, so we just need to return the // size for the given constraint ArrangeResult result = params.getRecyclableResult(); ! double w = constraint.calculateConstrainedWidth(getDefaultWidth()); ! double h = constraint.calculateConstrainedHeight(getDefaultHeight()); if (result != null) { result.setSize(w, h); --- 1987,2012 ---- // there isn't any content to arrange, so we just need to return the // size for the given constraint + double width = getDefaultWidth(); + if (width < 0.0) { + // TODO: if there is a width calculator, use it + width = 300.0; + } + + double height = getDefaultHeight(); + if (height < 0.0 && params != null) { + BlockHeightCalculator bhc = params.findHeightCalculator(this); + if (bhc != null) { + height = bhc.calculateHeight(this); + // TODO: this calculated height is for the content? Or the + // bounds? needs to be the bounds. + } + else { + height = 200.0; // default *total* height + } + } + ArrangeResult result = params.getRecyclableResult(); ! double w = constraint.calculateConstrainedWidth(width); ! double h = constraint.calculateConstrainedHeight(height); if (result != null) { result.setSize(w, h); Index: XYPlotWrapper.java =================================================================== RCS file: /cvsroot/jfreechart/jfreechart/source/org/jfree/chart/plot/XYPlotWrapper.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** XYPlotWrapper.java 19 Jul 2005 14:23:54 -0000 1.4 --- XYPlotWrapper.java 16 Nov 2005 16:49:20 -0000 1.5 *************** *** 125,129 **** * @param g2 the graphics device. * @param constraint the constraint (<code>null</code> not permitted). ! * @param params optional parameters. * * @return The block size (in Java2D units, never <code>null</code>). --- 125,129 ---- * @param g2 the graphics device. * @param constraint the constraint (<code>null</code> not permitted). ! * @param params the layout parameters (<code>null</code> not permitted). * * @return The block size (in Java2D units, never <code>null</code>). Index: AxisPlotArrangement.java =================================================================== RCS file: /cvsroot/jfreechart/jfreechart/source/org/jfree/chart/plot/AxisPlotArrangement.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** AxisPlotArrangement.java 19 Jul 2005 14:23:54 -0000 1.2 --- AxisPlotArrangement.java 16 Nov 2005 16:49:20 -0000 1.3 *************** *** 174,178 **** * @param constraint the constraint. * @param g2 the graphics device. ! * @param params optional parameters. * * @return The container size after the arrangement. --- 174,178 ---- * @param constraint the constraint. * @param g2 the graphics device. ! * @param params the layout parameters (<code>null</code> not permitted). * * @return The container size after the arrangement. |
From: David G. <mu...@us...> - 2005-11-16 16:49:28
|
Update of /cvsroot/jfreechart/jfreechart In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19867 Modified Files: ChangeLog Log Message: 2005-11-16 David Gilbert <dav...@ob...> * source/org/jfree/chart/plot/AxisPlotArrangement.java (arrange): Updated API doc comment, * source/org/jfree/chart/plot/CategoryPlotWrapper.java (arrange): Likewise, * source/org/jfree/chart/plot/XYPlot.java (arrange): Use height calculator, * source/org/jfree/chart/plot/XYPlotWrapper.java (arrange): Updated API doc comment. Index: ChangeLog =================================================================== RCS file: /cvsroot/jfreechart/jfreechart/ChangeLog,v retrieving revision 1.48 retrieving revision 1.49 diff -C2 -d -r1.48 -r1.49 *** ChangeLog 16 Nov 2005 16:36:22 -0000 1.48 --- ChangeLog 16 Nov 2005 16:49:20 -0000 1.49 *************** *** 1,4 **** --- 1,15 ---- 2005-11-16 David Gilbert <dav...@ob...> + * source/org/jfree/chart/plot/AxisPlotArrangement.java + (arrange): Updated API doc comment, + * source/org/jfree/chart/plot/CategoryPlotWrapper.java + (arrange): Likewise, + * source/org/jfree/chart/plot/XYPlot.java + (arrange): Use height calculator, + * source/org/jfree/chart/plot/XYPlotWrapper.java + (arrange): Updated API doc comment. + + 2005-11-16 David Gilbert <dav...@ob...> + * source/org/jfree/chart/title/AttributedTextTitle.java (equals): Use ACIUtilities in test, |
From: David G. <mu...@us...> - 2005-11-16 16:36:38
|
Update of /cvsroot/jfreechart/jfreechart/source/org/jfree/chart/title In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17744/source/org/jfree/chart/title Modified Files: AttributedTextTitle.java CompositeTitle.java Log Message: 2005-11-16 David Gilbert <dav...@ob...> * source/org/jfree/chart/title/AttributedTextTitle.java (equals): Use ACIUtilities in test, * source/org/jfree/chart/title/CompositeTitle.java (arrange): Update method signature and return value. ---------------------------------------------------------------------- Index: AttributedTextTitle.java =================================================================== RCS file: /cvsroot/jfreechart/jfreechart/source/org/jfree/chart/title/AttributedTextTitle.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** AttributedTextTitle.java 28 Oct 2005 10:35:26 -0000 1.4 --- AttributedTextTitle.java 16 Nov 2005 16:36:22 -0000 1.5 *************** *** 533,537 **** } AttributedTextTitle that = (AttributedTextTitle) obj; ! if (!ObjectUtilities.equal(this.content, that.content)) { return false; } --- 533,537 ---- } AttributedTextTitle that = (AttributedTextTitle) obj; ! if (!ACIUtilities.equal(this.content, that.content)) { return false; } Index: CompositeTitle.java =================================================================== RCS file: /cvsroot/jfreechart/jfreechart/source/org/jfree/chart/title/CompositeTitle.java,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** CompositeTitle.java 19 Jul 2005 14:21:33 -0000 1.16 --- CompositeTitle.java 16 Nov 2005 16:36:22 -0000 1.17 *************** *** 114,128 **** * @param g2 the graphics device. * @param constraint the constraint (<code>null</code> not permitted). * ! * @return The block size (in Java2D units, never <code>null</code>). */ ! public Size2D arrange(Graphics2D g2, RectangleConstraint constraint) { RectangleConstraint contentConstraint = toContentConstraint(constraint); ! ArrangeResult r = this.container.arrange(g2, contentConstraint, null); Size2D contentSize = r.getSize(); ! return new Size2D( ! calculateTotalWidth(contentSize.getWidth()), ! calculateTotalHeight(contentSize.getHeight()) ! ); } --- 114,129 ---- * @param g2 the graphics device. * @param constraint the constraint (<code>null</code> not permitted). + * @param params layout parameters (<code>null</code> not permitted). * ! * @return The layout result. */ ! public ArrangeResult arrange(Graphics2D g2, RectangleConstraint constraint, ! ArrangeParams params) { RectangleConstraint contentConstraint = toContentConstraint(constraint); ! ArrangeResult r = this.container.arrange(g2, contentConstraint, params); Size2D contentSize = r.getSize(); ! r.setSize(calculateTotalWidth(contentSize.getWidth()), ! calculateTotalHeight(contentSize.getHeight())); ! return r; } |
From: David G. <mu...@us...> - 2005-11-16 16:36:29
|
Update of /cvsroot/jfreechart/jfreechart In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17744 Modified Files: ChangeLog Log Message: 2005-11-16 David Gilbert <dav...@ob...> * source/org/jfree/chart/title/AttributedTextTitle.java (equals): Use ACIUtilities in test, * source/org/jfree/chart/title/CompositeTitle.java (arrange): Update method signature and return value. ---------------------------------------------------------------------- Index: ChangeLog =================================================================== RCS file: /cvsroot/jfreechart/jfreechart/ChangeLog,v retrieving revision 1.47 retrieving revision 1.48 diff -C2 -d -r1.47 -r1.48 *** ChangeLog 16 Nov 2005 11:03:57 -0000 1.47 --- ChangeLog 16 Nov 2005 16:36:22 -0000 1.48 *************** *** 1,4 **** --- 1,11 ---- 2005-11-16 David Gilbert <dav...@ob...> + * source/org/jfree/chart/title/AttributedTextTitle.java + (equals): Use ACIUtilities in test, + * source/org/jfree/chart/title/CompositeTitle.java + (arrange): Update method signature and return value. + + 2005-11-16 David Gilbert <dav...@ob...> + * source/org/jfree/chart/block/ACIUtilities.java (equal): New method, |
From: Taq <ta...@us...> - 2005-11-16 15:59:03
|
Update of /cvsroot/jfreechart/jcommon/source/org/jfree/date In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9555/source/org/jfree/date Modified Files: AnnualDateRule.java DateUtilities.java DayAndMonthRule.java DayOfWeekInMonthRule.java EasterSundayRule.java MonthConstants.java RelativeDayOfWeekRule.java SerialDateUtilities.java Log Message: Feeling pendantic: Added new-lines to the end of the files to make the Jikes compiler happy. Changed lowercase 'l' for long constants into uppercase 'L' for better readability (as the 'l' looks like a 1) Index: RelativeDayOfWeekRule.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/date/RelativeDayOfWeekRule.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** RelativeDayOfWeekRule.java 3 Nov 2005 09:24:45 -0000 1.5 --- RelativeDayOfWeekRule.java 16 Nov 2005 15:58:40 -0000 1.6 *************** *** 207,209 **** } ! } \ No newline at end of file --- 207,209 ---- } ! } Index: SerialDateUtilities.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/date/SerialDateUtilities.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** SerialDateUtilities.java 18 Oct 2005 13:15:08 -0000 1.5 --- SerialDateUtilities.java 16 Nov 2005 15:58:40 -0000 1.6 *************** *** 386,388 **** } ! } \ No newline at end of file --- 386,388 ---- } ! } Index: EasterSundayRule.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/date/EasterSundayRule.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** EasterSundayRule.java 18 Oct 2005 13:15:08 -0000 1.3 --- EasterSundayRule.java 16 Nov 2005 15:58:40 -0000 1.4 *************** *** 87,89 **** } ! } \ No newline at end of file --- 87,89 ---- } ! } Index: AnnualDateRule.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/date/AnnualDateRule.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** AnnualDateRule.java 18 Oct 2005 13:15:08 -0000 1.3 --- AnnualDateRule.java 16 Nov 2005 15:58:40 -0000 1.4 *************** *** 84,86 **** } ! } \ No newline at end of file --- 84,86 ---- } ! } Index: DayAndMonthRule.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/date/DayAndMonthRule.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** DayAndMonthRule.java 18 Oct 2005 13:15:08 -0000 1.5 --- DayAndMonthRule.java 16 Nov 2005 15:58:40 -0000 1.6 *************** *** 156,158 **** return SerialDate.createInstance(this.dayOfMonth, this.month, yyyy); } ! } \ No newline at end of file --- 156,158 ---- return SerialDate.createInstance(this.dayOfMonth, this.month, yyyy); } ! } Index: DateUtilities.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/date/DateUtilities.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** DateUtilities.java 18 Oct 2005 13:15:08 -0000 1.3 --- DateUtilities.java 16 Nov 2005 15:58:40 -0000 1.4 *************** *** 98,100 **** ! } \ No newline at end of file --- 98,100 ---- ! } Index: DayOfWeekInMonthRule.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/date/DayOfWeekInMonthRule.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** DayOfWeekInMonthRule.java 18 Oct 2005 13:15:08 -0000 1.4 --- DayOfWeekInMonthRule.java 16 Nov 2005 15:58:40 -0000 1.5 *************** *** 166,168 **** } ! } \ No newline at end of file --- 166,168 ---- } ! } Index: MonthConstants.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/date/MonthConstants.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** MonthConstants.java 18 Oct 2005 13:15:08 -0000 1.3 --- MonthConstants.java 16 Nov 2005 15:58:40 -0000 1.4 *************** *** 89,91 **** public static final int DECEMBER = 12; ! } \ No newline at end of file --- 89,91 ---- public static final int DECEMBER = 12; ! } |
From: Taq <ta...@us...> - 2005-11-16 15:59:03
|
Update of /cvsroot/jfreechart/jcommon/source/org/jfree/junit In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9555/source/org/jfree/junit Modified Files: JCommonTestSuite.java JavaTestSuite.java Log Message: Feeling pendantic: Added new-lines to the end of the files to make the Jikes compiler happy. Changed lowercase 'l' for long constants into uppercase 'L' for better readability (as the 'l' looks like a 1) Index: JavaTestSuite.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/junit/JavaTestSuite.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** JavaTestSuite.java 18 Oct 2005 13:16:37 -0000 1.2 --- JavaTestSuite.java 16 Nov 2005 15:58:40 -0000 1.3 *************** *** 75,77 **** } ! } \ No newline at end of file --- 75,77 ---- } ! } Index: JCommonTestSuite.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/junit/JCommonTestSuite.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** JCommonTestSuite.java 18 Oct 2005 13:16:37 -0000 1.3 --- JCommonTestSuite.java 16 Nov 2005 15:58:40 -0000 1.4 *************** *** 96,98 **** } ! } \ No newline at end of file --- 96,98 ---- } ! } |
From: Taq <ta...@us...> - 2005-11-16 15:59:03
|
Update of /cvsroot/jfreechart/jcommon/source/org/jfree/text/junit In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9555/source/org/jfree/text/junit Modified Files: TextBlockTests.java TextBoxTests.java TextFragmentTests.java TextLineTests.java Log Message: Feeling pendantic: Added new-lines to the end of the files to make the Jikes compiler happy. Changed lowercase 'l' for long constants into uppercase 'L' for better readability (as the 'l' looks like a 1) Index: TextFragmentTests.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/text/junit/TextFragmentTests.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** TextFragmentTests.java 18 Oct 2005 13:17:29 -0000 1.3 --- TextFragmentTests.java 16 Nov 2005 15:58:41 -0000 1.4 *************** *** 136,138 **** } ! } \ No newline at end of file --- 136,138 ---- } ! } Index: TextBlockTests.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/text/junit/TextBlockTests.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** TextBlockTests.java 18 Oct 2005 13:17:29 -0000 1.3 --- TextBlockTests.java 16 Nov 2005 15:58:41 -0000 1.4 *************** *** 120,122 **** } ! } \ No newline at end of file --- 120,122 ---- } ! } Index: TextBoxTests.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/text/junit/TextBoxTests.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** TextBoxTests.java 18 Oct 2005 13:17:29 -0000 1.4 --- TextBoxTests.java 16 Nov 2005 15:58:41 -0000 1.5 *************** *** 173,175 **** } ! } \ No newline at end of file --- 173,175 ---- } ! } Index: TextLineTests.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/text/junit/TextLineTests.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** TextLineTests.java 18 Oct 2005 13:17:29 -0000 1.3 --- TextLineTests.java 16 Nov 2005 15:58:41 -0000 1.4 *************** *** 116,118 **** } ! } \ No newline at end of file --- 116,118 ---- } ! } |
From: Taq <ta...@us...> - 2005-11-16 15:59:03
|
Update of /cvsroot/jfreechart/jcommon/source/org/jfree/text In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9555/source/org/jfree/text Modified Files: TextBox.java Log Message: Feeling pendantic: Added new-lines to the end of the files to make the Jikes compiler happy. Changed lowercase 'l' for long constants into uppercase 'L' for better readability (as the 'l' looks like a 1) Index: TextBox.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/text/TextBox.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** TextBox.java 18 Oct 2005 13:17:16 -0000 1.11 --- TextBox.java 16 Nov 2005 15:58:41 -0000 1.12 *************** *** 401,408 **** ? this.shadowPaint.hashCode() : 0); temp = this.shadowXOffset != +0.0d ! ? Double.doubleToLongBits(this.shadowXOffset) : 0l; result = 29 * result + (int) (temp ^ (temp >>> 32)); temp = this.shadowYOffset != +0.0d ! ? Double.doubleToLongBits(this.shadowYOffset) : 0l; result = 29 * result + (int) (temp ^ (temp >>> 32)); result = 29 * result + (this.textBlock != null --- 401,408 ---- ? this.shadowPaint.hashCode() : 0); temp = this.shadowXOffset != +0.0d ! ? Double.doubleToLongBits(this.shadowXOffset) : 0L; result = 29 * result + (int) (temp ^ (temp >>> 32)); temp = this.shadowYOffset != +0.0d ! ? Double.doubleToLongBits(this.shadowYOffset) : 0L; result = 29 * result + (int) (temp ^ (temp >>> 32)); result = 29 * result + (this.textBlock != null |
Update of /cvsroot/jfreechart/jcommon/source/org/jfree/date/junit In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9555/source/org/jfree/date/junit Modified Files: DatePackageTests.java SerialDateTests.java SerialDateUtilitiesTests.java SpreadsheetDateTests.java Log Message: Feeling pendantic: Added new-lines to the end of the files to make the Jikes compiler happy. Changed lowercase 'l' for long constants into uppercase 'L' for better readability (as the 'l' looks like a 1) Index: SpreadsheetDateTests.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/date/junit/SpreadsheetDateTests.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** SpreadsheetDateTests.java 18 Oct 2005 13:15:28 -0000 1.3 --- SpreadsheetDateTests.java 16 Nov 2005 15:58:40 -0000 1.4 *************** *** 313,315 **** } ! } \ No newline at end of file --- 313,315 ---- } ! } Index: SerialDateUtilitiesTests.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/date/junit/SerialDateUtilitiesTests.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** SerialDateUtilitiesTests.java 18 Oct 2005 13:15:28 -0000 1.3 --- SerialDateUtilitiesTests.java 16 Nov 2005 15:58:40 -0000 1.4 *************** *** 126,128 **** } ! } \ No newline at end of file --- 126,128 ---- } ! } Index: DatePackageTests.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/date/junit/DatePackageTests.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** DatePackageTests.java 18 Oct 2005 13:15:28 -0000 1.2 --- DatePackageTests.java 16 Nov 2005 15:58:40 -0000 1.3 *************** *** 77,79 **** } ! } \ No newline at end of file --- 77,79 ---- } ! } Index: SerialDateTests.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/date/junit/SerialDateTests.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** SerialDateTests.java 18 Oct 2005 13:15:28 -0000 1.5 --- SerialDateTests.java 16 Nov 2005 15:58:40 -0000 1.6 *************** *** 320,322 **** assertEquals(2004, d4.getYYYY()); } ! } \ No newline at end of file --- 320,322 ---- assertEquals(2004, d4.getYYYY()); } ! } |
From: Taq <ta...@us...> - 2005-11-16 15:58:59
|
Update of /cvsroot/jfreechart/jcommon/source/org/jfree/util In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9555/source/org/jfree/util Modified Files: ObjectUtilities.java PaintUtilities.java Rotation.java Log Message: Feeling pendantic: Added new-lines to the end of the files to make the Jikes compiler happy. Changed lowercase 'l' for long constants into uppercase 'L' for better readability (as the 'l' looks like a 1) Index: ObjectUtilities.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/util/ObjectUtilities.java,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** ObjectUtilities.java 6 Nov 2005 22:16:38 -0000 1.12 --- ObjectUtilities.java 16 Nov 2005 15:58:41 -0000 1.13 *************** *** 397,399 **** } ! } \ No newline at end of file --- 397,399 ---- } ! } Index: Rotation.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/util/Rotation.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Rotation.java 18 Oct 2005 13:24:19 -0000 1.4 --- Rotation.java 16 Nov 2005 15:58:41 -0000 1.5 *************** *** 156,158 **** } ! } \ No newline at end of file --- 156,158 ---- } ! } Index: PaintUtilities.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/util/PaintUtilities.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** PaintUtilities.java 18 Oct 2005 13:24:19 -0000 1.8 --- PaintUtilities.java 16 Nov 2005 15:58:41 -0000 1.9 *************** *** 178,180 **** } } ! } \ No newline at end of file --- 178,180 ---- } } ! } |
From: Taq <ta...@us...> - 2005-11-16 15:58:59
|
Update of /cvsroot/jfreechart/jcommon/source/org/jfree/ui/about In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9555/source/org/jfree/ui/about Modified Files: AboutFrame.java AboutPanel.java Contributor.java ContributorsPanel.java ContributorsTableModel.java LibraryPanel.java LibraryTableModel.java Licences.java ProjectInfo.java SystemProperties.java SystemPropertiesFrame.java Log Message: Feeling pendantic: Added new-lines to the end of the files to make the Jikes compiler happy. Changed lowercase 'l' for long constants into uppercase 'L' for better readability (as the 'l' looks like a 1) Index: LibraryTableModel.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/about/LibraryTableModel.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** LibraryTableModel.java 18 Oct 2005 13:19:13 -0000 1.3 --- LibraryTableModel.java 16 Nov 2005 15:58:41 -0000 1.4 *************** *** 174,176 **** } ! } \ No newline at end of file --- 174,176 ---- } ! } Index: ProjectInfo.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/about/ProjectInfo.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ProjectInfo.java 18 Oct 2005 13:19:13 -0000 1.4 --- ProjectInfo.java 16 Nov 2005 15:58:41 -0000 1.5 *************** *** 217,219 **** } ! } \ No newline at end of file --- 217,219 ---- } ! } Index: Contributor.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/about/Contributor.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Contributor.java 18 Oct 2005 13:19:13 -0000 1.3 --- Contributor.java 16 Nov 2005 15:58:41 -0000 1.4 *************** *** 89,91 **** } ! } \ No newline at end of file --- 89,91 ---- } ! } Index: Licences.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/about/Licences.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Licences.java 18 Oct 2005 13:19:13 -0000 1.3 --- Licences.java 16 Nov 2005 15:58:41 -0000 1.4 *************** *** 827,829 **** return LGPL; } ! } \ No newline at end of file --- 827,829 ---- return LGPL; } ! } Index: SystemPropertiesFrame.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/about/SystemPropertiesFrame.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** SystemPropertiesFrame.java 18 Oct 2005 13:19:13 -0000 1.4 --- SystemPropertiesFrame.java 16 Nov 2005 15:58:41 -0000 1.5 *************** *** 187,189 **** } ! } \ No newline at end of file --- 187,189 ---- } ! } Index: ContributorsPanel.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/about/ContributorsPanel.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ContributorsPanel.java 18 Oct 2005 13:19:13 -0000 1.3 --- ContributorsPanel.java 16 Nov 2005 15:58:41 -0000 1.4 *************** *** 83,85 **** } ! } \ No newline at end of file --- 83,85 ---- } ! } Index: AboutPanel.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/about/AboutPanel.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** AboutPanel.java 18 Oct 2005 13:19:13 -0000 1.3 --- AboutPanel.java 16 Nov 2005 15:58:41 -0000 1.4 *************** *** 135,137 **** } ! } \ No newline at end of file --- 135,137 ---- } ! } Index: ContributorsTableModel.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/about/ContributorsTableModel.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ContributorsTableModel.java 18 Oct 2005 13:19:13 -0000 1.3 --- ContributorsTableModel.java 16 Nov 2005 15:58:41 -0000 1.4 *************** *** 151,153 **** } ! } \ No newline at end of file --- 151,153 ---- } ! } Index: SystemProperties.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/about/SystemProperties.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** SystemProperties.java 18 Oct 2005 13:19:13 -0000 1.4 --- SystemProperties.java 16 Nov 2005 15:58:41 -0000 1.5 *************** *** 86,88 **** } ! } \ No newline at end of file --- 86,88 ---- } ! } Index: AboutFrame.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/about/AboutFrame.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** AboutFrame.java 18 Oct 2005 13:19:13 -0000 1.4 --- AboutFrame.java 16 Nov 2005 15:58:41 -0000 1.5 *************** *** 269,271 **** ! } \ No newline at end of file --- 269,271 ---- ! } Index: LibraryPanel.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/about/LibraryPanel.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** LibraryPanel.java 18 Oct 2005 13:19:13 -0000 1.3 --- LibraryPanel.java 16 Nov 2005 15:58:41 -0000 1.4 *************** *** 81,83 **** } ! } \ No newline at end of file --- 81,83 ---- } ! } |
From: Taq <ta...@us...> - 2005-11-16 15:58:59
|
Update of /cvsroot/jfreechart/jcommon/source/org/jfree/layout In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9555/source/org/jfree/layout Modified Files: CenterLayout.java LCBLayout.java RadialLayout.java Log Message: Feeling pendantic: Added new-lines to the end of the files to make the Jikes compiler happy. Changed lowercase 'l' for long constants into uppercase 'L' for better readability (as the 'l' looks like a 1) Index: CenterLayout.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/layout/CenterLayout.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** CenterLayout.java 18 Oct 2005 13:16:50 -0000 1.5 --- CenterLayout.java 16 Nov 2005 15:58:40 -0000 1.6 *************** *** 186,188 **** } ! } \ No newline at end of file --- 186,188 ---- } ! } Index: RadialLayout.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/layout/RadialLayout.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** RadialLayout.java 18 Oct 2005 13:16:50 -0000 1.5 --- RadialLayout.java 16 Nov 2005 15:58:40 -0000 1.6 *************** *** 309,311 **** } ! } \ No newline at end of file --- 309,311 ---- } ! } Index: LCBLayout.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/layout/LCBLayout.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** LCBLayout.java 18 Oct 2005 13:16:50 -0000 1.4 --- LCBLayout.java 16 Nov 2005 15:58:40 -0000 1.5 *************** *** 276,278 **** } ! } \ No newline at end of file --- 276,278 ---- } ! } |
Update of /cvsroot/jfreechart/jcommon/source/org/jfree/ui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9555/source/org/jfree/ui Modified Files: ApplicationFrame.java ArrowPanel.java BevelArrowIcon.java DateChooserPanel.java Drawable.java ExtensionFileFilter.java FontChooserDialog.java FontChooserPanel.java FontDisplayField.java InsetsChooserPanel.java IntegerDocument.java L1R3ButtonPanel.java PaintSample.java RectangleInsets.java SerialDateChooserPanel.java Size2D.java SortButtonRenderer.java SortableTable.java SortableTableHeaderListener.java SortableTableModel.java Spinner.java StandardDialog.java StrokeChooserPanel.java WizardDialog.java WizardPanel.java Log Message: Feeling pendantic: Added new-lines to the end of the files to make the Jikes compiler happy. Changed lowercase 'l' for long constants into uppercase 'L' for better readability (as the 'l' looks like a 1) Index: Drawable.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/Drawable.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Drawable.java 18 Oct 2005 13:18:34 -0000 1.3 --- Drawable.java 16 Nov 2005 15:58:41 -0000 1.4 *************** *** 61,63 **** public void draw(Graphics2D g2, Rectangle2D area); ! } \ No newline at end of file --- 61,63 ---- public void draw(Graphics2D g2, Rectangle2D area); ! } Index: ArrowPanel.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/ArrowPanel.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ArrowPanel.java 18 Oct 2005 13:18:34 -0000 1.4 --- ArrowPanel.java 16 Nov 2005 15:58:41 -0000 1.5 *************** *** 145,147 **** } ! } \ No newline at end of file --- 145,147 ---- } ! } Index: Size2D.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/Size2D.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Size2D.java 18 Oct 2005 13:18:34 -0000 1.7 --- Size2D.java 16 Nov 2005 15:58:41 -0000 1.8 *************** *** 170,172 **** } ! } \ No newline at end of file --- 170,172 ---- } ! } Index: SerialDateChooserPanel.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/SerialDateChooserPanel.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** SerialDateChooserPanel.java 3 Nov 2005 09:27:28 -0000 1.5 --- SerialDateChooserPanel.java 16 Nov 2005 15:58:41 -0000 1.6 *************** *** 396,398 **** } ! } \ No newline at end of file --- 396,398 ---- } ! } Index: FontDisplayField.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/FontDisplayField.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** FontDisplayField.java 18 Oct 2005 13:18:34 -0000 1.3 --- FontDisplayField.java 16 Nov 2005 15:58:41 -0000 1.4 *************** *** 111,113 **** } ! } \ No newline at end of file --- 111,113 ---- } ! } Index: SortableTableHeaderListener.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/SortableTableHeaderListener.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** SortableTableHeaderListener.java 18 Oct 2005 13:18:34 -0000 1.3 --- SortableTableHeaderListener.java 16 Nov 2005 15:58:41 -0000 1.4 *************** *** 192,194 **** } ! } \ No newline at end of file --- 192,194 ---- } ! } Index: L1R3ButtonPanel.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/L1R3ButtonPanel.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** L1R3ButtonPanel.java 18 Oct 2005 13:18:34 -0000 1.3 --- L1R3ButtonPanel.java 16 Nov 2005 15:58:41 -0000 1.4 *************** *** 136,138 **** } ! } \ No newline at end of file --- 136,138 ---- } ! } Index: Spinner.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/Spinner.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Spinner.java 18 Oct 2005 13:18:34 -0000 1.4 --- Spinner.java 16 Nov 2005 15:58:41 -0000 1.5 *************** *** 158,160 **** } ! } \ No newline at end of file --- 158,160 ---- } ! } Index: InsetsChooserPanel.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/InsetsChooserPanel.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** InsetsChooserPanel.java 18 Oct 2005 13:18:34 -0000 1.5 --- InsetsChooserPanel.java 16 Nov 2005 15:58:41 -0000 1.6 *************** *** 211,213 **** } ! } \ No newline at end of file --- 211,213 ---- } ! } Index: ApplicationFrame.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/ApplicationFrame.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ApplicationFrame.java 18 Oct 2005 13:18:34 -0000 1.3 --- ApplicationFrame.java 16 Nov 2005 15:58:41 -0000 1.4 *************** *** 134,136 **** } ! } \ No newline at end of file --- 134,136 ---- } ! } Index: SortButtonRenderer.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/SortButtonRenderer.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** SortButtonRenderer.java 18 Oct 2005 13:18:34 -0000 1.5 --- SortButtonRenderer.java 16 Nov 2005 15:58:41 -0000 1.6 *************** *** 283,285 **** } ! } \ No newline at end of file --- 283,285 ---- } ! } Index: StandardDialog.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/StandardDialog.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** StandardDialog.java 18 Oct 2005 13:18:34 -0000 1.4 --- StandardDialog.java 16 Nov 2005 15:58:41 -0000 1.5 *************** *** 150,152 **** } ! } \ No newline at end of file --- 150,152 ---- } ! } Index: DateChooserPanel.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/DateChooserPanel.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** DateChooserPanel.java 3 Nov 2005 09:26:36 -0000 1.9 --- DateChooserPanel.java 16 Nov 2005 15:58:41 -0000 1.10 *************** *** 552,554 **** yearSelectionRange); } ! } \ No newline at end of file --- 552,554 ---- yearSelectionRange); } ! } Index: WizardPanel.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/WizardPanel.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** WizardPanel.java 18 Oct 2005 13:18:34 -0000 1.3 --- WizardPanel.java 16 Nov 2005 15:58:41 -0000 1.4 *************** *** 132,134 **** public abstract WizardPanel getNextPanel(); ! } \ No newline at end of file --- 132,134 ---- public abstract WizardPanel getNextPanel(); ! } Index: ExtensionFileFilter.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/ExtensionFileFilter.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ExtensionFileFilter.java 18 Oct 2005 13:18:34 -0000 1.3 --- ExtensionFileFilter.java 16 Nov 2005 15:58:41 -0000 1.4 *************** *** 104,106 **** } ! } \ No newline at end of file --- 104,106 ---- } ! } Index: WizardDialog.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/WizardDialog.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** WizardDialog.java 18 Oct 2005 13:18:34 -0000 1.4 --- WizardDialog.java 16 Nov 2005 15:58:41 -0000 1.5 *************** *** 339,341 **** } ! } \ No newline at end of file --- 339,341 ---- } ! } Index: FontChooserPanel.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/FontChooserPanel.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** FontChooserPanel.java 18 Oct 2005 13:18:34 -0000 1.3 --- FontChooserPanel.java 16 Nov 2005 15:58:41 -0000 1.4 *************** *** 220,222 **** } } ! } \ No newline at end of file --- 220,222 ---- } } ! } Index: IntegerDocument.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/IntegerDocument.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** IntegerDocument.java 18 Oct 2005 13:18:34 -0000 1.2 --- IntegerDocument.java 16 Nov 2005 15:58:41 -0000 1.3 *************** *** 78,80 **** } ! } \ No newline at end of file --- 78,80 ---- } ! } Index: FontChooserDialog.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/FontChooserDialog.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** FontChooserDialog.java 18 Oct 2005 13:18:34 -0000 1.3 --- FontChooserDialog.java 16 Nov 2005 15:58:41 -0000 1.4 *************** *** 120,122 **** } ! } \ No newline at end of file --- 120,122 ---- } ! } Index: BevelArrowIcon.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/BevelArrowIcon.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** BevelArrowIcon.java 18 Oct 2005 13:18:34 -0000 1.3 --- BevelArrowIcon.java 16 Nov 2005 15:58:41 -0000 1.4 *************** *** 273,275 **** } ! } \ No newline at end of file --- 273,275 ---- } ! } Index: PaintSample.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/PaintSample.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** PaintSample.java 18 Oct 2005 13:18:34 -0000 1.3 --- PaintSample.java 16 Nov 2005 15:58:41 -0000 1.4 *************** *** 127,129 **** } ! } \ No newline at end of file --- 127,129 ---- } ! } Index: StrokeChooserPanel.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/StrokeChooserPanel.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** StrokeChooserPanel.java 18 Oct 2005 13:18:34 -0000 1.4 --- StrokeChooserPanel.java 16 Nov 2005 15:58:41 -0000 1.5 *************** *** 106,108 **** } ! } \ No newline at end of file --- 106,108 ---- } ! } Index: SortableTableModel.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/SortableTableModel.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** SortableTableModel.java 2 Nov 2005 16:36:28 -0000 1.4 --- SortableTableModel.java 16 Nov 2005 15:58:41 -0000 1.5 *************** *** 122,124 **** } ! } \ No newline at end of file --- 122,124 ---- } ! } Index: SortableTable.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/SortableTable.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** SortableTable.java 18 Oct 2005 13:18:34 -0000 1.4 --- SortableTable.java 16 Nov 2005 15:58:41 -0000 1.5 *************** *** 102,104 **** } ! } \ No newline at end of file --- 102,104 ---- } ! } Index: RectangleInsets.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/RectangleInsets.java,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** RectangleInsets.java 14 Nov 2005 10:55:19 -0000 1.13 --- RectangleInsets.java 16 Nov 2005 15:58:41 -0000 1.14 *************** *** 209,219 **** long temp; result = (this.unitType != null ? this.unitType.hashCode() : 0); ! temp = this.top != +0.0d ? Double.doubleToLongBits(this.top) : 0l; result = 29 * result + (int) (temp ^ (temp >>> 32)); ! temp = this.bottom != +0.0d ? Double.doubleToLongBits(this.bottom) : 0l; result = 29 * result + (int) (temp ^ (temp >>> 32)); ! temp = this.left != +0.0d ? Double.doubleToLongBits(this.left) : 0l; result = 29 * result + (int) (temp ^ (temp >>> 32)); ! temp = this.right != +0.0d ? Double.doubleToLongBits(this.right) : 0l; result = 29 * result + (int) (temp ^ (temp >>> 32)); return result; --- 209,219 ---- long temp; result = (this.unitType != null ? this.unitType.hashCode() : 0); ! temp = this.top != +0.0d ? Double.doubleToLongBits(this.top) : 0L; result = 29 * result + (int) (temp ^ (temp >>> 32)); ! temp = this.bottom != +0.0d ? Double.doubleToLongBits(this.bottom) : 0L; result = 29 * result + (int) (temp ^ (temp >>> 32)); ! temp = this.left != +0.0d ? Double.doubleToLongBits(this.left) : 0L; result = 29 * result + (int) (temp ^ (temp >>> 32)); ! temp = this.right != +0.0d ? Double.doubleToLongBits(this.right) : 0L; result = 29 * result + (int) (temp ^ (temp >>> 32)); return result; |
From: Taq <ta...@us...> - 2005-11-16 15:58:59
|
Update of /cvsroot/jfreechart/jcommon/source/org/jfree/ui/about/resources In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9555/source/org/jfree/ui/about/resources Modified Files: AboutResources.java AboutResources_de.java AboutResources_fr.java AboutResources_pl.java Log Message: Feeling pendantic: Added new-lines to the end of the files to make the Jikes compiler happy. Changed lowercase 'l' for long constants into uppercase 'L' for better readability (as the 'l' looks like a 1) Index: AboutResources_fr.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/about/resources/AboutResources_fr.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** AboutResources_fr.java 18 Oct 2005 13:19:26 -0000 1.2 --- AboutResources_fr.java 16 Nov 2005 15:58:41 -0000 1.3 *************** *** 107,109 **** }; ! } \ No newline at end of file --- 107,109 ---- }; ! } Index: AboutResources_pl.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/about/resources/AboutResources_pl.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** AboutResources_pl.java 18 Oct 2005 13:19:26 -0000 1.2 --- AboutResources_pl.java 16 Nov 2005 15:58:41 -0000 1.3 *************** *** 111,113 **** }; ! } \ No newline at end of file --- 111,113 ---- }; ! } Index: AboutResources_de.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/about/resources/AboutResources_de.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** AboutResources_de.java 18 Oct 2005 13:19:26 -0000 1.2 --- AboutResources_de.java 16 Nov 2005 15:58:41 -0000 1.3 *************** *** 109,111 **** }; ! } \ No newline at end of file --- 109,111 ---- }; ! } Index: AboutResources.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/ui/about/resources/AboutResources.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** AboutResources.java 18 Oct 2005 13:19:26 -0000 1.3 --- AboutResources.java 16 Nov 2005 15:58:41 -0000 1.4 *************** *** 115,117 **** }; ! } \ No newline at end of file --- 115,117 ---- }; ! } |