org.apache.batik.bridge
public class SVGSVGElementBridge extends SVGGElementBridge implements SVGSVGContext
Nested Class Summary | |
---|---|
static class | SVGSVGElementBridge.SVGSVGElementViewport
A viewport defined an <svg> element. |
Constructor Summary | |
---|---|
SVGSVGElementBridge()
Constructs a new bridge for the <svg> element. |
Method Summary | |
---|---|
boolean | animationsPaused()
Returns whether animations are currently paused. |
void | buildGraphicsNode(BridgeContext ctx, Element e, GraphicsNode node)
Builds using the specified BridgeContext and element, the
specified graphics node.
|
boolean | checkEnclosure(Element element, SVGRect svgRect) |
boolean | checkIntersection(Element element, SVGRect svgRect) |
GraphicsNode | createGraphicsNode(BridgeContext ctx, Element e)
Creates a GraphicsNode according to the specified parameters.
|
void | deselectAll() |
void | dispose()
Disposes this BridgeUpdateHandler and releases all resources. |
boolean | filterChildren(Element curr, Element end, Set elems, List ret) |
void | forceRedraw() |
protected Set | getAncestors(Element end, Element base) |
float | getCurrentTime()
Returns the current document time. |
List | getEnclosureList(SVGRect svgRect, Element end) |
Bridge | getInstance()
Returns a new instance of this bridge. |
List | getIntersectionList(SVGRect svgRect, Element end) |
String | getLocalName()
Returns 'svg'. |
protected Element | getNext(Element curr, Element base, Element end) |
void | handleAnimatedAttributeChanged(AnimatedLiveAttributeValue alav)
Invoked when the animated value of an animatable attribute has changed. |
void | handleDOMAttrModifiedEvent(MutationEvent evt)
Invoked when an MutationEvent of type 'DOMAttrModified' is fired. |
protected GraphicsNode | instantiateGraphicsNode()
Creates a CompositeGraphicsNode. |
void | pauseAnimations()
Pauses animations in the document. |
void | setCurrentTime(float t)
Sets the current document time. |
int | suspendRedraw(int max_wait_milliseconds) |
void | unpauseAnimations()
Unpauses animations in the document. |
boolean | unsuspendRedraw(int suspend_handle_id) |
void | unsuspendRedrawAll() |
Parameters: ctx the bridge context to use e the element that describes the graphics node to build node the graphics node to build
Parameters: ctx the bridge context to use e the element that describes the graphics node to build
Returns: a graphics node that represents the specified element