org.apache.batik.bridge.svg12
public class SVG12BridgeContext extends BridgeContext
| Nested Class Summary | |
|---|---|
| protected class | SVG12BridgeContext.EventListenerWrapper
Wrapper for DOM event listeners so that they will see only
original events (i.e., not retargetted). |
| protected static class | SVG12BridgeContext.ImplementationEventListenerMememto
A class used to store an implementation EventListener added to the DOM. |
| protected class | SVG12BridgeContext.XBLBindingListener
The BindingListener. |
| protected class | SVG12BridgeContext.XBLContentListener
The ContentSelectionChangedListener. |
| Field Summary | |
|---|---|
| protected SVG12BridgeContext.XBLBindingListener | bindingListener
The BindingListener for XBL binding events. |
| protected SVG12BridgeContext.XBLContentListener | contentListener
The ContentSelectionChangedListener for xbl:content element events. |
| protected boolean | mouseCaptureAutoRelease
Whether the mouse capture will be released on mouse up. |
| protected boolean | mouseCaptureSendAll
Whether the mouse capture event target will receive events
that do not intersect with its geometry. |
| protected EventTarget | mouseCaptureTarget
The EventTarget that has the mouse capture. |
| Constructor Summary | |
|---|---|
| SVG12BridgeContext(UserAgent userAgent)
Constructs a new bridge context. | |
| SVG12BridgeContext(UserAgent userAgent, DocumentLoader loader)
Constructs a new bridge context. | |
| SVG12BridgeContext(UserAgent userAgent, InterpreterPool interpreterPool, DocumentLoader documentLoader)
Constructs a new bridge context. | |
| Method Summary | |
|---|---|
| void | addBindingListener()
Adds a BindingListener to the XBLManager for the document, so that
XBL binding events can be passed on to the BridgeUpdateHandlers. |
| void | addDOMListeners()
Adds EventListeners to the DOM and CSSEngineListener to the
CSSEngine to handle any modifications on the DOM tree or style
properties and update the GVT tree in response. |
| void | addGVTListener(Document doc)
Adds the GVT listener for AWT event support. |
| void | addUIEventListeners(Document doc)
Adds EventListeners to the input document to handle the cursor
property.
|
| BridgeContext | createSubBridgeContext(SVGOMDocument newDoc) |
| URIResolver | createURIResolver(SVGDocument doc, DocumentLoader dl)
Returns a new URIResolver object. |
| void | dispose()
Disposes this BridgeContext. |
| void | removeBindingListener()
Removes the BindingListener from the XBLManager. |
| protected void | removeDOMListeners()
Removes event listeners from the DOM and CSS engine. |
| void | removeUIEventListeners(Document doc) |
| void | startMouseCapture(EventTarget target, boolean sendAll, boolean autoRelease)
Starts mouse capture. |
| void | stopMouseCapture()
Stops mouse capture. |
| protected void | storeImplementationEventListenerNS(EventTarget t, String ns, String s, EventListener l, boolean b)
Adds to the eventListenerSet the specified implementation event
listener registration. |
Parameters: userAgent the user agent
Parameters: userAgent the user agent loader document loader
Parameters: userAgent the user agent interpreterPool the interpreter pool documentLoader document loader