tkormann 02/04/22 14:14:23 Modified: sources/org/apache/batik/bridge BridgeEventSupport.java FocusManager.java Log: code cleanup Revision Changes Path 1.32 +6 -20 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.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- BridgeEventSupport.java 22 Apr 2002 17:08:55 -0000 1.31 +++ BridgeEventSupport.java 22 Apr 2002 21:14:23 -0000 1.32 @@ -66,7 +66,7 @@ * * @author <a href="mailto:[EMAIL PROTECTED]>Christophe Jolif</a> * @author <a href="mailto:[EMAIL PROTECTED]">Stephane Hillion</a> - * @version $Id: BridgeEventSupport.java,v 1.31 2002/04/22 17:08:55 tkormann Exp $ + * @version $Id: BridgeEventSupport.java,v 1.32 2002/04/22 21:14:23 tkormann Exp $ */ public class BridgeEventSupport implements SVGConstants { @@ -95,8 +95,8 @@ protected static class GVTUnloadListener implements EventListener { - private EventDispatcher dispatcher; - private Listener listener; + protected EventDispatcher dispatcher; + protected Listener listener; public GVTUnloadListener(EventDispatcher dispatcher, Listener listener) { @@ -115,9 +115,9 @@ */ protected static class Listener implements GraphicsNodeMouseListener { - private BridgeContext context; - private UserAgent ua; - private Element lastTargetElement; + protected BridgeContext context; + protected UserAgent ua; + protected Element lastTargetElement; public Listener(BridgeContext ctx, UserAgent u) { context = ctx; @@ -262,20 +262,6 @@ } finally { lastTargetElement = targetElement; } - } - - /** - * Dispatches a DOM UIEvent according to the specified - * parameters. - * - * @param eventType the event type - * @param evt the GVT GraphicsNodeMouseEvent - * @param cancelable true means the event is cancelable - */ - protected void dispatchUIEvent(String eventType, - GraphicsNodeMouseEvent evt, - boolean cancelable) { - } /** 1.3 +4 -3 xml-batik/sources/org/apache/batik/bridge/FocusManager.java Index: FocusManager.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/FocusManager.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- FocusManager.java 22 Apr 2002 20:58:00 -0000 1.2 +++ FocusManager.java 22 Apr 2002 21:14:23 -0000 1.3 @@ -19,11 +19,10 @@ import org.w3c.dom.events.MouseEvent; /** - * A class that manages focus on elements. Users of this class needs - * to attached this EventListener with the 'mouseover' event type. + * A class that manages focus on elements. * * @author <a href="mailto:[EMAIL PROTECTED]">Thierry Kormann</a> - * @version $Id: FocusManager.java,v 1.2 2002/04/22 20:58:00 tkormann Exp $ + * @version $Id: FocusManager.java,v 1.3 2002/04/22 21:14:23 tkormann Exp $ */ public class FocusManager { @@ -104,6 +103,8 @@ target.removeEventListener("mouseout", mouseoutListener, true); target.removeEventListener("DOMFocusIn", domFocusInListener, true); target.removeEventListener("DOMFocusOut", domFocusOutListener, true); + lastFocusEventTarget = null; + document = null; } /**
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]