org.apache.batik.bridge
public class SVGGElementBridge extends AbstractGraphicsNodeBridge
Constructor Summary | |
---|---|
SVGGElementBridge()
Constructs a new bridge for the <g> element. |
Method Summary | |
---|---|
GraphicsNode | createGraphicsNode(BridgeContext ctx, Element e)
Creates a GraphicsNode according to the specified parameters.
|
Bridge | getInstance()
Returns a new instance of this bridge. |
String | getLocalName()
Returns 'g'. |
void | handleDOMNodeInsertedEvent(MutationEvent evt)
Invoked when an MutationEvent of type 'DOMNodeInserted' is fired. |
protected void | handleElementAdded(CompositeGraphicsNode gn, Node parent, Element childElt)
Invoked when an MutationEvent of type 'DOMNodeInserted' is fired. |
protected GraphicsNode | instantiateGraphicsNode()
Creates a CompositeGraphicsNode. |
boolean | isComposite()
Returns true as the <g> element is a container. |
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