org.apache.batik.bridge
public abstract class SVGShapeElementBridge extends AbstractGraphicsNodeBridge
Field Summary | |
---|---|
protected boolean | hasNewShapePainter
This flag bit indicates if a new shape painter has already been created.
|
Constructor Summary | |
---|---|
protected | SVGShapeElementBridge()
Constructs a new bridge for SVG shapes. |
Method Summary | |
---|---|
void | buildGraphicsNode(BridgeContext ctx, Element e, GraphicsNode node)
Builds using the specified BridgeContext and element, the
specified graphics node.
|
protected abstract void | buildShape(BridgeContext ctx, Element e, ShapeNode node)
Initializes the specified ShapeNode's shape defined by the
specified Element and using the specified bridge context.
|
GraphicsNode | createGraphicsNode(BridgeContext ctx, Element e)
Creates a graphics node using the specified BridgeContext and
for the specified element.
|
protected ShapePainter | createShapePainter(BridgeContext ctx, Element e, ShapeNode shapeNode)
Creates the shape painter associated to the specified element.
|
void | handleCSSEngineEvent(CSSEngineEvent evt)
Invoked when CSS properties have changed on an element.
|
protected void | handleCSSPropertyChanged(int property)
Invoked for each CSS property that has changed. |
protected void | handleGeometryChanged()
Invoked when the geometry of an graphical element has changed. |
protected GraphicsNode | instantiateGraphicsNode()
Creates a ShapeNode. |
boolean | isComposite()
Returns false as shapes are not a container. |
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 shape node to build node the shape node to initialize
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
Parameters: ctx the bridge context to use e the element that describes the shape painter to use shapeNode the shape node that is interested in its shape painter
Parameters: evt the CSSEngine event that describes the update