You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-commits@xmlgraphics.apache.org by ca...@apache.org on 2008/06/15 07:57:33 UTC
svn commit: r667926 - in /xmlgraphics/batik/trunk: CHANGES
sources/org/apache/batik/swing/JSVGScrollPane.java
Author: cam
Date: Sat Jun 14 22:57:32 2008
New Revision: 667926
URL: http://svn.apache.org/viewvc?rev=667926&view=rev
Log:
1. Re-enable mouse wheel support in JSVGScrollPane.
2. Fix Javadoc typo. (Closes bug 45117.)
Modified:
xmlgraphics/batik/trunk/CHANGES
xmlgraphics/batik/trunk/sources/org/apache/batik/swing/JSVGScrollPane.java
Modified: xmlgraphics/batik/trunk/CHANGES
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/CHANGES?rev=667926&r1=667925&r2=667926&view=diff
==============================================================================
--- xmlgraphics/batik/trunk/CHANGES (original)
+++ xmlgraphics/batik/trunk/CHANGES Sat Jun 14 22:57:32 2008
@@ -9,7 +9,7 @@
1. Bugzilla problem reports fixed:
- 44590, 44966, 45112, 45114
+ 44590, 44966, 45112, 45114, 45117
2. New features
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/swing/JSVGScrollPane.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/swing/JSVGScrollPane.java?rev=667926&r1=667925&r2=667926&view=diff
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/swing/JSVGScrollPane.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/swing/JSVGScrollPane.java Sat Jun 14 22:57:32 2008
@@ -24,10 +24,8 @@
import java.awt.Rectangle;
import java.awt.event.ComponentAdapter;
-/*
import java.awt.event.MouseWheelEvent;
import java.awt.event.MouseWheelListener;
-*/
import java.awt.geom.Rectangle2D;
import java.awt.geom.AffineTransform;
@@ -72,7 +70,7 @@
* A Swing component that consists of a JSVGCanvas with optional scroll
* bars.
* <p>
- * Reimplementation, rather than imlementing the Scrollable interface,
+ * Reimplementation, rather than implementing the Scrollable interface,
* provides several advantages. The main advantage is the ability to
* control more precisely ScrollBar events; fewer JSVGCanvas updates
* are required when scrolling. This creates a significant performance
@@ -258,13 +256,7 @@
* Provides mouse wheel support. The mouse wheel will scroll the currently
* displayed scroll bar, if only one is displayed. If two scrollbars are
* displayed, the mouse wheel will only scroll the vertical scrollbar.
- *
- * This is commented out because it requires JDK 1.4 and currently
- * Batik targets JDK 1.3.
- *
- * TODO Move this to a JDK 1.4 specific class in sources-1.4.
*/
- /*
protected class WheelListener implements MouseWheelListener
{
public void mouseWheelMoved(MouseWheelEvent e)
@@ -282,7 +274,6 @@
}// mouseWheelMoved()
}// inner class WheelListener
- */
/**