Package org.csstudio.utility.batik.util
Class SVG12BridgeContext
java.lang.Object
org.apache.batik.bridge.BridgeContext
org.apache.batik.bridge.svg12.SVG12BridgeContext
org.csstudio.utility.batik.util.SVG12BridgeContext
- All Implemented Interfaces:
org.apache.batik.bridge.ErrorConstants
,org.apache.batik.css.engine.CSSContext
public class SVG12BridgeContext
extends org.apache.batik.bridge.svg12.SVG12BridgeContext
Extension of standard
SVG12BridgeContext
which uses the extended
SVGAnimationEngine
in order to access TimedDocumentRoot
.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.batik.bridge.svg12.SVG12BridgeContext
org.apache.batik.bridge.svg12.SVG12BridgeContext.EventListenerWrapper, org.apache.batik.bridge.svg12.SVG12BridgeContext.ImplementationEventListenerMememto, org.apache.batik.bridge.svg12.SVG12BridgeContext.XBLBindingListener, org.apache.batik.bridge.svg12.SVG12BridgeContext.XBLContentListener
Nested classes/interfaces inherited from class org.apache.batik.bridge.BridgeContext
org.apache.batik.bridge.BridgeContext.AnimatedAttrListener, org.apache.batik.bridge.BridgeContext.CSSEngineUserAgentWrapper, org.apache.batik.bridge.BridgeContext.CSSPropertiesChangedListener, org.apache.batik.bridge.BridgeContext.DOMAttrModifiedEventListener, org.apache.batik.bridge.BridgeContext.DOMCharacterDataModifiedEventListener, org.apache.batik.bridge.BridgeContext.DOMMouseOutEventListener, org.apache.batik.bridge.BridgeContext.DOMMouseOverEventListener, org.apache.batik.bridge.BridgeContext.DOMNodeInsertedEventListener, org.apache.batik.bridge.BridgeContext.DOMNodeRemovedEventListener, org.apache.batik.bridge.BridgeContext.EventListenerMememto, org.apache.batik.bridge.BridgeContext.SoftReferenceMememto
-
Field Summary
Fields inherited from class org.apache.batik.bridge.svg12.SVG12BridgeContext
bindingListener, contentListener, mouseCaptureAutoRelease, mouseCaptureSendAll, mouseCaptureTarget
Fields inherited from class org.apache.batik.bridge.BridgeContext
animatedAttributeListener, animationEngine, animationLimitingAmount, animationLimitingMode, childContexts, cssPropertiesChangedListener, cursorManager, defaultBridge, document, documentLoader, documentSize, domAttrModifiedEventListener, domCharacterDataModifiedEventListener, domNodeInsertedEventListener, domNodeRemovedEventListener, DYNAMIC, dynamicStatus, elementDataMap, elementNodeMap, eventListenerSet, extensions, focusManager, globalExtensions, gvtBuilder, INTERACTIVE, interpreterMap, interpreterPool, isSVG12, namespaceURIMap, nodeElementMap, primaryContext, reservedNamespaceSet, STATIC, textPainter, updateManager, userAgent, viewportMap, viewportStack, xblManager
Fields inherited from interface org.apache.batik.bridge.ErrorConstants
ERR_ATTRIBUTE_MISSING, ERR_ATTRIBUTE_VALUE_MALFORMED, ERR_CSS_LENGTH_NEGATIVE, ERR_CSS_URI_BAD_TARGET, ERR_LENGTH_NEGATIVE, ERR_URI_BAD_TARGET, ERR_URI_IMAGE_BROKEN, ERR_URI_IMAGE_INVALID, ERR_URI_IO, ERR_URI_MALFORMED, ERR_URI_REFERENCE_A_DOCUMENT, ERR_URI_UNSECURE, ERR_XLINK_HREF_CIRCULAR_DEPENDENCIES, URI_IMAGE_ERROR
-
Constructor Summary
ConstructorDescriptionSVG12BridgeContext
(org.apache.batik.bridge.UserAgent userAgent, org.apache.batik.bridge.DocumentLoader loader) Constructs a new bridge context. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.batik.bridge.SVGAnimationEngine
Returns the AnimationEngine for the document.Methods inherited from class org.apache.batik.bridge.svg12.SVG12BridgeContext
addBindingListener, addDOMListeners, addGVTListener, addUIEventListeners, createSubBridgeContext, createURIResolver, dispose, removeBindingListener, removeDOMListeners, removeUIEventListeners, startMouseCapture, stopMouseCapture, storeImplementationEventListenerNS
Methods inherited from class org.apache.batik.bridge.BridgeContext
bind, checkInteractiveElement, checkInteractiveElement, checkLoadExternalResource, clearChildContexts, closeViewport, createBridgeContext, finalize, getBlockHeight, getBlockWidth, getBolderFontWeight, getBridge, getBridge, getBridgeExtensions, getBridgeUpdateHandler, getChildContexts, getCSSEngineForElement, getCursorManager, getDefaultFontFamily, getDocument, getDocumentBridge, getDocumentLoader, getDocumentSize, getElement, getElementData, getFocusManager, getFontFamilyMap, getFontFamilyResolver, getGlobalBridgeExtensions, getGraphicsNode, getGVTBuilder, getInterpreter, getInterpreterPool, getLighterFontWeight, getMediumFontSize, getPixelToMillimeter, getPixelUnitToMillimeter, getPrimaryBridgeContext, getReferencedElement, getReferencedNode, getSVGContext, getSystemColor, getTextPainter, getUpdateManager, getUserAgent, getViewport, hasGraphicsNodeBridge, initializeDocument, isDynamic, isDynamicDocument, isInteractive, isInteractiveDocument, isSVG12, openViewport, putBridge, putBridge, putReservedNamespaceURI, registerSVGBridges, removeBridge, removeReservedNamespaceURI, removeViewport, setAnimationLimitingCPU, setAnimationLimitingFPS, setAnimationLimitingMode, setAnimationLimitingNone, setDefaultBridge, setDocument, setDocumentLoader, setDocumentSize, setDynamic, setDynamicState, setElementData, setFontFamilyMap, setGVTBuilder, setInteractive, setInterpreterPool, setTextPainter, setUpdateManager, setUpdateManager, setUserAgent, setXBLManager, storeEventListener, storeEventListenerNS, unbind
-
Constructor Details
-
SVG12BridgeContext
public SVG12BridgeContext(org.apache.batik.bridge.UserAgent userAgent, org.apache.batik.bridge.DocumentLoader loader) Constructs a new bridge context.- Parameters:
userAgent
- the user agentloader
- document loader
-
-
Method Details
-
getAnimationEngine
public org.apache.batik.bridge.SVGAnimationEngine getAnimationEngine()Returns the AnimationEngine for the document. Creates one if it doesn't exist.- Overrides:
getAnimationEngine
in classorg.apache.batik.bridge.BridgeContext
-