org.apache.batik.bridge
Interface GraphicsNodeBridge

All Superinterfaces:
Bridge
All Known Implementing Classes:
SVGShapeElementBridge, SVGUseElementBridge, SVGAElementBridge, SVGSwitchElementBridge, SVGTextElementBridge, SVGGElementBridge, SVGImageElementBridge, SVGSVGElementBridge

public interface GraphicsNodeBridge
extends Bridge

Factory class for vending GraphicsNode objects.


Method Summary
 void buildGraphicsNode(GraphicsNode node, BridgeContext ctx, Element element)
          Builds the specified GraphicsNode using the specified context and element.
 GraphicsNode createGraphicsNode(BridgeContext ctx, Element element)
          Creates a GraphicsNode using the specified context and element.
 boolean isContainer()
          Returns true if this bridge is a container, false otherwise.
 void update(BridgeMutationEvent evt)
          Updates an Element coresponding to the specified BridgeMutationEvent.
 

Method Detail

createGraphicsNode

public GraphicsNode createGraphicsNode(BridgeContext ctx,
                                       Element element)
Creates a GraphicsNode using the specified context and element.
Parameters:
ctx - the context to use
elem - the Element that describes the GraphicsNode to build
Returns:
a GraphicsNode object representing the Element

buildGraphicsNode

public void buildGraphicsNode(GraphicsNode node,
                              BridgeContext ctx,
                              Element element)
Builds the specified GraphicsNode using the specified context and element.
Parameters:
node - the node to build
ctx - the context to use
elem - the Element that describes the GraphicsNode to build
Returns:
a GraphicsNode object representing the Element

update

public void update(BridgeMutationEvent evt)
Updates an Element coresponding to the specified BridgeMutationEvent.
Parameters:
evt - the event that describes the modification to perform

isContainer

public boolean isContainer()
Returns true if this bridge is a container, false otherwise.


Copyright © 2000 Apache Software Foundation. All Rights Reserved.