Update of /cvsroot/jrobin/src/org/jrobin/graph
In directory sc8-pr-cvs1:/tmp/cvs-serv27255/org/jrobin/graph
Modified Files:
Cdef.java ChartPanel.java Def.java GifEncoder.java
Grapher.java JpegImageWriteParam.java RrdGraph.java
ValueGrid.java
Log Message:
some javadoc fixed, minor code changes
Index: Cdef.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/graph/Cdef.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Cdef.java 7 Nov 2003 08:23:19 -0000 1.1
--- Cdef.java 7 Nov 2003 09:53:35 -0000 1.2
***************
*** 187,191 ****
* Sets the value of a specific datapoint for this Cdef.
* @param pos Position (index in the value table) of the new datapoint.
! * @param time Timestamp of the new datapoint in number of seconds.
* @param val Double value of the new datapoint.
*/
--- 187,191 ----
* Sets the value of a specific datapoint for this Cdef.
* @param pos Position (index in the value table) of the new datapoint.
! * @param timestamp Timestamp of the new datapoint in number of seconds.
* @param val Double value of the new datapoint.
*/
Index: ChartPanel.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/graph/ChartPanel.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ChartPanel.java 7 Nov 2003 08:23:19 -0000 1.1
--- ChartPanel.java 7 Nov 2003 09:53:35 -0000 1.2
***************
*** 41,45 ****
this.chart = chart;
}
!
public void paintComponent( Graphics g )
{
--- 41,49 ----
this.chart = chart;
}
!
! /**
! * Overrides inhereted <code>paintComponent()</code> method from the base class.
! * @param g Graphics object
! */
public void paintComponent( Graphics g )
{
Index: Def.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/graph/Def.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Def.java 7 Nov 2003 08:23:19 -0000 1.1
--- Def.java 7 Nov 2003 09:53:35 -0000 1.2
***************
*** 54,58 ****
* Sets the value of a specific datapoint for this Def.
* @param pos Position (index in the value table) of the new datapoint.
! * @param time Timestamp of the new datapoint in number of seconds.
* @param val Double value of the new datapoint.
*/
--- 54,58 ----
* Sets the value of a specific datapoint for this Def.
* @param pos Position (index in the value table) of the new datapoint.
! * @param timestamp Timestamp of the new datapoint in number of seconds.
* @param val Double value of the new datapoint.
*/
Index: GifEncoder.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/graph/GifEncoder.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** GifEncoder.java 7 Nov 2003 08:23:19 -0000 1.1
--- GifEncoder.java 7 Nov 2003 09:53:35 -0000 1.2
***************
*** 1,2 ****
--- 1,31 ----
+ /* ============================================================
+ * JRobin : Pure java implementation of RRDTool's functionality
+ * ============================================================
+ *
+ * Project Info: http://www.jrobin.org
+ * Project Lead: Sasa Markovic (sa...@jr...)
+ *
+ * Developers: Sasa Markovic (sa...@jr...)
+ * Arne Vandamme (cob...@jr...)
+ *
+ * (C) Copyright 2003, by Sasa Markovic.
+ *
+ * This library is free software; you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Foundation;
+ * either version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU Lesser General Public 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.
+ */
+
+ /*
+ * GifEncoder from J.M.G. Elliott
+ * http://jmge.net/java/gifenc/
+ */
package org.jrobin.graph;
***************
*** 6,13 ****
import java.util.Vector;
! // thanks to J. M. G. Elliott
! // http://jmge.net/java/gifenc/
!
! class GifEncoder
{
private Dimension dispDim = new Dimension(0, 0);
--- 35,39 ----
import java.util.Vector;
! class GifEncoder
{
private Dimension dispDim = new Dimension(0, 0);
Index: Grapher.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/graph/Grapher.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Grapher.java 7 Nov 2003 08:23:19 -0000 1.1
--- Grapher.java 7 Nov 2003 09:53:35 -0000 1.2
***************
*** 40,44 ****
import java.awt.image.BufferedImage;
- import org.jrobin.core.Util;
import org.jrobin.core.RrdDb;
import org.jrobin.core.RrdException;
--- 40,43 ----
***************
*** 343,347 ****
/**
! * Plots all datasources on the graph, uses all values gathered in {@link #CalculateSeries() }.
* @param graphics Handle of a Graphics2D context to draw on.
* @throws RrdException Thrown in case of a JRobin specific error.
--- 342,346 ----
/**
! * Plots all datasources on the graph, uses all values gathered in {@link #calculateSeries() }.
* @param graphics Handle of a Graphics2D context to draw on.
* @throws RrdException Thrown in case of a JRobin specific error.
Index: JpegImageWriteParam.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/graph/JpegImageWriteParam.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** JpegImageWriteParam.java 7 Nov 2003 08:23:19 -0000 1.1
--- JpegImageWriteParam.java 7 Nov 2003 09:53:35 -0000 1.2
***************
*** 31,35 ****
*/
import java.util.Locale;
! import javax.imageio.plugins.jpeg.JPEGImageWriteParam;;
class JpegImageWriteParam extends JPEGImageWriteParam
--- 31,35 ----
*/
import java.util.Locale;
! import javax.imageio.plugins.jpeg.JPEGImageWriteParam;
class JpegImageWriteParam extends JPEGImageWriteParam
Index: RrdGraph.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/graph/RrdGraph.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RrdGraph.java 7 Nov 2003 08:23:19 -0000 1.1
--- RrdGraph.java 7 Nov 2003 09:53:35 -0000 1.2
***************
*** 41,45 ****
import java.awt.image.BufferedImage;
- import org.jrobin.core.Util;
import org.jrobin.core.RrdDb;
import org.jrobin.core.RrdDbPool;
--- 41,44 ----
***************
*** 243,248 ****
/**
* Returns graph with default chart dimensions (400 by 100) as an array of PNG bytes.
- * @param width Width of the chart area in pixels.
- * @param height Height of the chart area in pixels.
* @return Array of PNG bytes.
* @throws IOException Thrown in case of I/O error.
--- 242,245 ----
Index: ValueGrid.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/graph/ValueGrid.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ValueGrid.java 7 Nov 2003 08:23:19 -0000 1.1
--- ValueGrid.java 7 Nov 2003 09:53:35 -0000 1.2
***************
*** 49,55 ****
* unit specification. The grid can also be specified to be rigid, to prevent
* auto scaling of the displayed value range.
! * @param rigid True if the grid is rigid, false if not.
! * @param lower Lower value of the value range.
! * @param upper Upper value of the value range.
* @param vAxis ValueAxisUnit specified to determine the grid lines, if the given
* ValueAxisUnit is null, one will be automatically determined.
--- 49,55 ----
* unit specification. The grid can also be specified to be rigid, to prevent
* auto scaling of the displayed value range.
! * @param gr Grid range object.
! * @param low Lower value of the value range.
! * @param up Upper value of the value range.
* @param vAxis ValueAxisUnit specified to determine the grid lines, if the given
* ValueAxisUnit is null, one will be automatically determined.
|