org.apache.batik.bridge

Class BridgeEventSupport

public abstract class BridgeEventSupport extends Object implements SVGConstants

This class is responsible of tracking GraphicsNodeMouseEvent and fowarding them to the DOM as regular DOM MouseEvent.
Nested Class Summary
protected static classBridgeEventSupport.GVTUnloadListener
protected static classBridgeEventSupport.Listener
A GraphicsNodeMouseListener that dispatch DOM events accordingly.
Field Summary
static AttributeTEXT_COMPOUND_ID
Constructor Summary
protected BridgeEventSupport()
Method Summary
static voidaddGVTListener(BridgeContext ctx, Document doc)
Is called only for the root element in order to dispatch GVT events to the DOM.
protected static voidstoreEventListener(BridgeContext ctx, EventTarget e, String t, EventListener l, boolean c)
Calls storeEventListener on the given BridgeContext.
protected static voidstoreEventListenerNS(BridgeContext ctx, EventTarget e, String n, String t, EventListener l, boolean c)
Calls storeEventListenerNS on the given BridgeContext.

Field Detail

TEXT_COMPOUND_ID

public static final Attribute TEXT_COMPOUND_ID

Constructor Detail

BridgeEventSupport

protected BridgeEventSupport()

Method Detail

addGVTListener

public static void addGVTListener(BridgeContext ctx, Document doc)
Is called only for the root element in order to dispatch GVT events to the DOM.

storeEventListener

protected static void storeEventListener(BridgeContext ctx, EventTarget e, String t, EventListener l, boolean c)
Calls storeEventListener on the given BridgeContext.

storeEventListenerNS

protected static void storeEventListenerNS(BridgeContext ctx, EventTarget e, String n, String t, EventListener l, boolean c)
Calls storeEventListenerNS on the given BridgeContext.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.