You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by hi...@apache.org on 2002/02/25 16:14:24 UTC

cvs commit: xml-batik/sources/org/apache/batik/bridge AbstractGraphicsNodeBridge.java AbstractSVGGradientElementBridge.java BridgeEventSupport.java SVGAElementBridge.java SVGGElementBridge.java SVGImageElementBridge.java SVGSVGElementBridge.java SVGTextElementBridge.java SVGUseElementBridge.java ScriptingEnvironment.java

hillion     02/02/25 07:14:24

  Modified:    sources/org/apache/batik/bridge
                        AbstractGraphicsNodeBridge.java
                        AbstractSVGGradientElementBridge.java
                        BridgeEventSupport.java SVGAElementBridge.java
                        SVGGElementBridge.java SVGImageElementBridge.java
                        SVGSVGElementBridge.java SVGTextElementBridge.java
                        SVGUseElementBridge.java ScriptingEnvironment.java
  Log:
  - Removed references to previous experiments...
  
  Revision  Changes    Path
  1.15      +2 -3      xml-batik/sources/org/apache/batik/bridge/AbstractGraphicsNodeBridge.java
  
  Index: AbstractGraphicsNodeBridge.java
  ===================================================================
  RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/AbstractGraphicsNodeBridge.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- AbstractGraphicsNodeBridge.java	25 Feb 2002 15:05:31 -0000	1.14
  +++ AbstractGraphicsNodeBridge.java	25 Feb 2002 15:14:24 -0000	1.15
  @@ -39,7 +39,7 @@
    * </ul>
    *
    * @author <a href="mailto:tkormann@apache.org">Thierry Kormann</a>
  - * @version $Id: AbstractGraphicsNodeBridge.java,v 1.14 2002/02/25 15:05:31 hillion Exp $
  + * @version $Id: AbstractGraphicsNodeBridge.java,v 1.15 2002/02/25 15:14:24 hillion Exp $
    */
   public abstract class AbstractGraphicsNodeBridge extends AbstractSVGBridge
       implements BridgeUpdateHandler, GraphicsNodeBridge, ErrorConstants {
  @@ -200,8 +200,7 @@
       /**
        * The listener class for 'DOMAttrModified' event.
        */
  -    protected class DOMAttrModifiedEventListener
  -        implements UnwrappedEventListener {
  +    protected class DOMAttrModifiedEventListener implements EventListener {
   
           /**
            * Handles 'DOMAttrModfied' events and deleguates to the
  
  
  
  1.6       +2 -3      xml-batik/sources/org/apache/batik/bridge/AbstractSVGGradientElementBridge.java
  
  Index: AbstractSVGGradientElementBridge.java
  ===================================================================
  RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/AbstractSVGGradientElementBridge.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- AbstractSVGGradientElementBridge.java	25 Feb 2002 15:05:31 -0000	1.5
  +++ AbstractSVGGradientElementBridge.java	25 Feb 2002 15:14:24 -0000	1.6
  @@ -33,7 +33,7 @@
    * Bridge class for vending gradients.
    *
    * @author <a href="mailto:tkormann@apache.org">Thierry Kormann</a>
  - * @version $Id: AbstractSVGGradientElementBridge.java,v 1.5 2002/02/25 15:05:31 hillion Exp $
  + * @version $Id: AbstractSVGGradientElementBridge.java,v 1.6 2002/02/25 15:14:24 hillion Exp $
    */
   public abstract class AbstractSVGGradientElementBridge extends AbstractSVGBridge
       implements PaintBridge, ErrorConstants {
  @@ -199,8 +199,7 @@
       /**
        * The listener class for 'DOMAttrModified' event.
        */
  -    protected class DOMAttrModifiedEventListener
  -        implements UnwrappedEventListener {
  +    protected class DOMAttrModifiedEventListener implements EventListener {
   
           /**
            * Handles 'DOMAttrModfied' events and deleguates to the
  
  
  
  1.25      +4 -6      xml-batik/sources/org/apache/batik/bridge/BridgeEventSupport.java
  
  Index: BridgeEventSupport.java
  ===================================================================
  RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/BridgeEventSupport.java,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- BridgeEventSupport.java	25 Feb 2002 15:05:31 -0000	1.24
  +++ BridgeEventSupport.java	25 Feb 2002 15:14:24 -0000	1.25
  @@ -56,7 +56,7 @@
    * on the GVT root to propagate GVT events to the DOM.
    * @author <a href="mailto:cjolif@ilog.fr>Christophe Jolif</a>
    * @author <a href="mailto:stephane@hillion.org">Stephane Hillion</a>
  - * @version $Id: BridgeEventSupport.java,v 1.24 2002/02/25 15:05:31 hillion Exp $
  + * @version $Id: BridgeEventSupport.java,v 1.25 2002/02/25 15:14:24 hillion Exp $
    */
   class BridgeEventSupport implements SVGConstants {
       private static final String[] EVENT_ATTRIBUTES_GRAPHICS = {
  @@ -217,8 +217,7 @@
        * This class is a listener that will remove all listeners installed
        * by the bridge on the unload event.
        */
  -    private static class SVGUnloadListener
  -        implements UnwrappedEventListener {
  +    private static class SVGUnloadListener implements EventListener {
           private class Entry {
               String type;
               EventListener caller;
  @@ -279,8 +278,7 @@
           }
       }
   
  -    private static class GVTUnloadListener
  -        implements UnwrappedEventListener {
  +    private static class GVTUnloadListener implements EventListener {
           private EventDispatcher dispatcher;
           private Listener listener;
           GVTUnloadListener(EventDispatcher dispatcher, Listener listener) {
  @@ -417,7 +415,7 @@
           }
       }
   
  -    public static class ScriptCaller implements UnwrappedEventListener {
  +    public static class ScriptCaller implements EventListener {
           private String script = null;
           private BridgeContext context;
           private String language;
  
  
  
  1.13      +4 -7      xml-batik/sources/org/apache/batik/bridge/SVGAElementBridge.java
  
  Index: SVGAElementBridge.java
  ===================================================================
  RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/SVGAElementBridge.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- SVGAElementBridge.java	25 Feb 2002 15:05:31 -0000	1.12
  +++ SVGAElementBridge.java	25 Feb 2002 15:14:24 -0000	1.13
  @@ -25,7 +25,7 @@
    * Bridge class for the &lt;a> element.
    *
    * @author <a href="mailto:tkormann@apache.org">Thierry Kormann</a>
  - * @version $Id: SVGAElementBridge.java,v 1.12 2002/02/25 15:05:31 hillion Exp $
  + * @version $Id: SVGAElementBridge.java,v 1.13 2002/02/25 15:14:24 hillion Exp $
    */
   public class SVGAElementBridge extends AbstractGraphicsNodeBridge {
   
  @@ -87,8 +87,7 @@
       /**
        * To handle a click on an anchor.
        */
  -    protected static class AnchorListener
  -        implements UnwrappedEventListener {
  +    protected static class AnchorListener implements EventListener {
   
           protected UserAgent userAgent;
   
  @@ -116,8 +115,7 @@
       /**
        * To handle a mouseover on an anchor and set the cursor.
        */
  -    protected static class CursorMouseOverListener
  -        implements UnwrappedEventListener {
  +    protected static class CursorMouseOverListener implements EventListener {
   
           protected UserAgent userAgent;
   
  @@ -148,8 +146,7 @@
       /**
        * To handle a mouseout on an anchor and set the cursor.
        */
  -    protected static class CursorMouseOutListener
  -        implements UnwrappedEventListener {
  +    protected static class CursorMouseOutListener implements EventListener {
   
           protected UserAgent userAgent;
   
  
  
  
  1.16      +3 -5      xml-batik/sources/org/apache/batik/bridge/SVGGElementBridge.java
  
  Index: SVGGElementBridge.java
  ===================================================================
  RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/SVGGElementBridge.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- SVGGElementBridge.java	25 Feb 2002 15:05:31 -0000	1.15
  +++ SVGGElementBridge.java	25 Feb 2002 15:14:24 -0000	1.16
  @@ -26,7 +26,7 @@
    * Bridge class for the &lt;g> element.
    *
    * @author <a href="mailto:tkormann@apache.org">Thierry Kormann</a>
  - * @version $Id: SVGGElementBridge.java,v 1.15 2002/02/25 15:05:31 hillion Exp $
  + * @version $Id: SVGGElementBridge.java,v 1.16 2002/02/25 15:14:24 hillion Exp $
    */
   public class SVGGElementBridge extends AbstractGraphicsNodeBridge {
   
  @@ -190,8 +190,7 @@
       /**
        * The listener class for 'DOMNodeInserted' event.
        */
  -    protected class DOMNodeInsertedEventListener
  -        implements UnwrappedEventListener {
  +    protected class DOMNodeInsertedEventListener implements EventListener {
   
           /**
            * Handles 'DOMNodeInserted' events and deleguates to the
  @@ -211,8 +210,7 @@
       /**
        * The listener class for 'DOMNodeRemoved' event.
        */
  -    protected class DOMNodeRemovedEventListener
  -        implements UnwrappedEventListener {
  +    protected class DOMNodeRemovedEventListener implements EventListener {
   
           /**
            * Handles 'DOMNodeRemoved' events and deleguates to the
  
  
  
  1.40      +2 -3      xml-batik/sources/org/apache/batik/bridge/SVGImageElementBridge.java
  
  Index: SVGImageElementBridge.java
  ===================================================================
  RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/SVGImageElementBridge.java,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -r1.39 -r1.40
  --- SVGImageElementBridge.java	25 Feb 2002 15:05:31 -0000	1.39
  +++ SVGImageElementBridge.java	25 Feb 2002 15:14:24 -0000	1.40
  @@ -53,7 +53,7 @@
    * Bridge class for the &lt;image> element.
    *
    * @author <a href="mailto:tkormann@apache.org">Thierry Kormann</a>
  - * @version $Id: SVGImageElementBridge.java,v 1.39 2002/02/25 15:05:31 hillion Exp $
  + * @version $Id: SVGImageElementBridge.java,v 1.40 2002/02/25 15:14:24 hillion Exp $
    */
   public class SVGImageElementBridge extends AbstractGraphicsNodeBridge {
   
  @@ -355,8 +355,7 @@
        * A simple DOM listener to forward events from the SVG image document to
        * the original document.
        */
  -    protected static class ForwardEventListener
  -        implements UnwrappedEventListener {
  +    protected static class ForwardEventListener implements EventListener {
   
           /**
            * The root element of the SVG image.
  
  
  
  1.25      +2 -3      xml-batik/sources/org/apache/batik/bridge/SVGSVGElementBridge.java
  
  Index: SVGSVGElementBridge.java
  ===================================================================
  RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/SVGSVGElementBridge.java,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- SVGSVGElementBridge.java	25 Feb 2002 15:05:31 -0000	1.24
  +++ SVGSVGElementBridge.java	25 Feb 2002 15:14:24 -0000	1.25
  @@ -33,7 +33,7 @@
    * Bridge class for the &lt;svg> element.
    *
    * @author <a href="mailto:tkormann@apache.org">Thierry Kormann</a>
  - * @version $Id: SVGSVGElementBridge.java,v 1.24 2002/02/25 15:05:31 hillion Exp $
  + * @version $Id: SVGSVGElementBridge.java,v 1.25 2002/02/25 15:14:24 hillion Exp $
    */
   public class SVGSVGElementBridge extends AbstractSVGBridge
       implements GraphicsNodeBridge, ErrorConstants {
  @@ -259,8 +259,7 @@
       /**
        * The listener class for 'DOMAttrModified' event.
        */
  -    protected class DOMAttrModifiedEventListener
  -        implements UnwrappedEventListener {
  +    protected class DOMAttrModifiedEventListener implements EventListener {
   
           /**
            * Handles 'DOMAttrModfied' events and deleguates to the
  
  
  
  1.51      +2 -3      xml-batik/sources/org/apache/batik/bridge/SVGTextElementBridge.java
  
  Index: SVGTextElementBridge.java
  ===================================================================
  RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/SVGTextElementBridge.java,v
  retrieving revision 1.50
  retrieving revision 1.51
  diff -u -r1.50 -r1.51
  --- SVGTextElementBridge.java	25 Feb 2002 15:05:31 -0000	1.50
  +++ SVGTextElementBridge.java	25 Feb 2002 15:14:24 -0000	1.51
  @@ -60,7 +60,7 @@
    * Bridge class for the &lt;text> element.
    *
    * @author <a href="bill.haneman@ireland.sun.com>Bill Haneman</a>
  - * @version $Id: SVGTextElementBridge.java,v 1.50 2002/02/25 15:05:31 hillion Exp $
  + * @version $Id: SVGTextElementBridge.java,v 1.51 2002/02/25 15:14:24 hillion Exp $
    */
   public class SVGTextElementBridge extends AbstractSVGBridge
       implements BridgeUpdateHandler, GraphicsNodeBridge, ErrorConstants {
  @@ -308,8 +308,7 @@
       /**
        * The listener class for 'DOMAttrModified' event.
        */
  -    protected class DOMAttrModifiedEventListener
  -        implements UnwrappedEventListener {
  +    protected class DOMAttrModifiedEventListener implements EventListener {
   
           /**
            * Handles 'DOMAttrModfied' events and deleguates to the
  
  
  
  1.22      +2 -3      xml-batik/sources/org/apache/batik/bridge/SVGUseElementBridge.java
  
  Index: SVGUseElementBridge.java
  ===================================================================
  RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/SVGUseElementBridge.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- SVGUseElementBridge.java	25 Feb 2002 15:05:31 -0000	1.21
  +++ SVGUseElementBridge.java	25 Feb 2002 15:14:24 -0000	1.22
  @@ -37,7 +37,7 @@
    * Bridge class for the &lt;use> element.
    *
    * @author <a href="mailto:tkormann@apache.org">Thierry Kormann</a>
  - * @version $Id: SVGUseElementBridge.java,v 1.21 2002/02/25 15:05:31 hillion Exp $
  + * @version $Id: SVGUseElementBridge.java,v 1.22 2002/02/25 15:14:24 hillion Exp $
    */
   public class SVGUseElementBridge extends AbstractSVGBridge
       implements GraphicsNodeBridge, ErrorConstants {
  @@ -285,8 +285,7 @@
       /**
        * The listener class for 'DOMAttrModified' event.
        */
  -    protected class DOMAttrModifiedEventListener
  -        implements UnwrappedEventListener {
  +    protected class DOMAttrModifiedEventListener implements EventListener {
   
           /**
            * Handles 'DOMAttrModfied' events and deleguates to the
  
  
  
  1.10      +3 -3      xml-batik/sources/org/apache/batik/bridge/ScriptingEnvironment.java
  
  Index: ScriptingEnvironment.java
  ===================================================================
  RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/ScriptingEnvironment.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- ScriptingEnvironment.java	25 Feb 2002 15:05:31 -0000	1.9
  +++ ScriptingEnvironment.java	25 Feb 2002 15:14:24 -0000	1.10
  @@ -50,7 +50,7 @@
    * This class contains the informations needed by the SVG scripting.
    *
    * @author <a href="mailto:stephane@hillion.org">Stephane Hillion</a>
  - * @version $Id: ScriptingEnvironment.java,v 1.9 2002/02/25 15:05:31 hillion Exp $
  + * @version $Id: ScriptingEnvironment.java,v 1.10 2002/02/25 15:14:24 hillion Exp $
    */
   public class ScriptingEnvironment {
   
  @@ -367,7 +367,7 @@
               elt.getAttributeNS(null, SVGConstants.SVG_ONLOAD_ATTRIBUTE);
           EventListener l = null;
           if (s.length() > 0) {
  -            l = new UnwrappedEventListener() {
  +            l = new EventListener() {
                       public void handleEvent(Event evt) {
                           try {
                               interp.bindObject(EVENT_NAME, evt);
  @@ -400,7 +400,7 @@
       /**
        * To wrap an event listener.
        */
  -    protected class EventListenerWrapper implements UnwrappedEventListener {
  +    protected class EventListenerWrapper implements EventListener {
   
           /**
            * The wrapped event listener.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org