public interface GraphicsNodeBridge extends Bridge
GraphicsNode
according to an Element
.Modifier and Type | Method and Description |
---|---|
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. |
boolean |
getDisplay(Element e)
Returns true if the graphics node has to be displayed, false
otherwise.
|
Bridge |
getInstance()
Returns the Bridge instance to be used for a single DOM
element.
|
boolean |
isComposite()
Returns true if the bridge handles container element, false
otherwise.
|
getLocalName, getNamespaceURI
GraphicsNode createGraphicsNode(BridgeContext ctx, Element e)
GraphicsNode
according to the specified parameters.
This is called before children have been added to the
returned GraphicsNode (obviously since you construct and return it).ctx
- the bridge context to usee
- the element that describes the graphics node to buildvoid buildGraphicsNode(BridgeContext ctx, Element e, GraphicsNode node)
ctx
- the bridge context to usee
- the element that describes the graphics node to buildnode
- the graphics node to buildboolean isComposite()
boolean getDisplay(Element e)
Bridge getInstance()
getInstance
in interface Bridge
Copyright © 2022 Apache Software Foundation. All Rights Reserved.