org.apache.batik.bridge.svg12
public class BindableElementBridge extends AbstractGraphicsNodeBridge implements SVG12BridgeUpdateHandler
| Constructor Summary | |
|---|---|
| BindableElementBridge()
Constructs a new bridge for custom elements. | |
| Method Summary | |
|---|---|
| CompositeGraphicsNode | buildCompositeGraphicsNode(BridgeContext ctx, Element e, CompositeGraphicsNode gn)
Creates a GraphicsNode from the input element and
populates the input CompositeGraphicsNode
|
| void | buildGraphicsNode(BridgeContext ctx, Element e, GraphicsNode node)
Builds using the specified BridgeContext and element, the
specified graphics node.
|
| GraphicsNode | createGraphicsNode(BridgeContext ctx, Element e)
Creates a GraphicsNode according to the specified parameters.
|
| void | dispose() |
| Bridge | getInstance()
Returns a new instance of this bridge. |
| String | getLocalName()
Returns "*" to indicate a default bridge. |
| String | getNamespaceURI()
Returns "*" to indicate a default bridge. |
| void | handleBindingEvent(Element bindableElement, Element shadowTree)
Invoked when a bindable element's binding has changed. |
| void | handleContentSelectionChangedEvent(ContentSelectionChangedEvent csce)
Invoked when the xblChildNodes property has changed because a
descendant xbl:content element has updated its selected nodes. |
| void | handleDOMNodeInsertedEvent(MutationEvent evt)
Invoked when an MutationEvent of type 'DOMNodeInserted' is fired. |
| protected void | handleElementAdded(CompositeGraphicsNode gn, Node parent, Element childElt)
Rebuild the graphics tree. |
| protected GraphicsNode | instantiateGraphicsNode()
Creates the GraphicsNode depending on the GraphicsNodeBridge
implementation. |
| boolean | isComposite()
Returns false as the custom element is a not container. |
Parameters: ctx the bridge context to use e the element that describes the graphics node to build gn the CompositeGraphicsNode where the use graphical content will be appended. The composite node is emptied before appending new content.
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