org.apache.batik.bridge.svg12
public class XBLContentElementBridge extends AbstractGraphicsNodeBridge
| Nested Class Summary | |
|---|---|
| protected class | XBLContentElementBridge.ContentChangedListener
Class to respond to content selection changes and cause GVT rebuilds. |
| Field Summary | |
|---|---|
| protected XBLContentElementBridge.ContentChangedListener | contentChangedListener
The event listener for content element selection changes. |
| protected ContentManager | contentManager
The ContentManager object used for the content element selection
change events. |
| Constructor Summary | |
|---|---|
| XBLContentElementBridge()
Constructs a new bridge for the <xbl:content> element. | |
| Method Summary | |
|---|---|
| CompositeGraphicsNode | buildCompositeGraphicsNode(BridgeContext ctx, Element e, CompositeGraphicsNode cgn)
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()
Dispose this bridge by removing the ContentSelectionChangedListener
object. |
| boolean | getDisplay(Element e)
Returns true if the graphics node has to be displayed, false
otherwise. |
| Bridge | getInstance()
Returns a new instance of this bridge. |
| String | getLocalName()
Returns 'content'. |
| String | getNamespaceURI()
Returns the XBL namespace. |
| protected GraphicsNode | instantiateGraphicsNode()
Creates a CompositeGraphicsNode. |
| boolean | isComposite()
Returns false as the <xbl:content> element's selected nodes
are built all in this class. |
Parameters: ctx the bridge context to use e the element that describes the graphics node to build cgn 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