| java.lang.Object org.apache.batik.bridge.AbstractSVGBridge org.apache.batik.bridge.AnimatableSVGBridge org.apache.batik.bridge.AbstractGraphicsNodeBridge org.apache.batik.bridge.SVGGElementBridge org.apache.batik.bridge.SVGSwitchElementBridge
SVGSwitchElementBridge | public class SVGSwitchElementBridge extends SVGGElementBridge (Code) | | Bridge class for the <switch> element.
author: Thierry Kormann version: $Id: SVGSwitchElementBridge.java 491178 2006-12-30 06:18:34Z cam $ |
Field Summary | |
protected Element | selectedChild The child element that was chosen for rendering according to the
test attributes. |
selectedChild | protected Element selectedChild(Code) | | The child element that was chosen for rendering according to the
test attributes.
|
SVGSwitchElementBridge | public SVGSwitchElementBridge()(Code) | | Constructs a new bridge for the <switch> element.
|
createGraphicsNode | public GraphicsNode createGraphicsNode(BridgeContext ctx, Element e)(Code) | | Creates a GraphicsNode according to the specified parameters.
Parameters: ctx - the bridge context to use Parameters: e - the element that describes the graphics node to build a graphics node that represents the specified element |
dispose | public void dispose()(Code) | | Disposes this BridgeUpdateHandler and releases all resources.
|
getInstance | public Bridge getInstance()(Code) | | Returns a new instance of this bridge.
|
getLocalName | public String getLocalName()(Code) | | Returns 'switch'.
|
handleChildElementRemoved | protected void handleChildElementRemoved(Element e)(Code) | | Responds to the removal of a child element by re-evaluating the
test attributes.
|
handleElementAdded | protected void handleElementAdded(CompositeGraphicsNode gn, Node parent, Element childElt)(Code) | | Responds to the insertion of a child element by re-evaluating the
test attributes.
|
isComposite | public boolean isComposite()(Code) | | Returns true as the <switch> element is not a container.
|
Methods inherited from org.apache.batik.bridge.AbstractGraphicsNodeBridge | protected void associateSVGContext(BridgeContext ctx, Element e, GraphicsNode node)(Code)(Java Doc) public void buildGraphicsNode(BridgeContext ctx, Element e, GraphicsNode node)(Code)(Java Doc) protected void checkBBoxChange()(Code)(Java Doc) protected AffineTransform computeTransform(SVGTransformable te, BridgeContext ctx)(Code)(Java Doc) public GraphicsNode createGraphicsNode(BridgeContext ctx, Element e)(Code)(Java Doc) public void dispose()(Code)(Java Doc) protected void disposeTree(Node node)(Code)(Java Doc) protected void disposeTree(Node node, boolean removeContext)(Code)(Java Doc) protected void fireBBoxChangeEvent()(Code)(Java Doc) protected void fireShapeChangeEvent()(Code)(Java Doc) public Rectangle2D getBBox()(Code)(Java Doc) public AffineTransform getCTM()(Code)(Java Doc) public boolean getDisplay(Element e)(Code)(Java Doc) public float getFontSize()(Code)(Java Doc) public AffineTransform getGlobalTransform()(Code)(Java Doc) public float getPixelToMM()(Code)(Java Doc) public float getPixelUnitToMillimeter()(Code)(Java Doc) public AffineTransform getScreenTransform()(Code)(Java Doc) public float getViewportHeight()(Code)(Java Doc) public float getViewportWidth()(Code)(Java Doc) public void handleAnimatedAttributeChanged(AnimatedLiveAttributeValue alav)(Code)(Java Doc) public void handleCSSEngineEvent(CSSEngineEvent evt)(Code)(Java Doc) protected void handleCSSPropertyChanged(int property)(Code)(Java Doc) public void handleDOMAttrModifiedEvent(MutationEvent evt)(Code)(Java Doc) public void handleDOMCharacterDataModified(MutationEvent evt)(Code)(Java Doc) public void handleDOMNodeInsertedEvent(MutationEvent evt)(Code)(Java Doc) public void handleDOMNodeRemovedEvent(MutationEvent evt)(Code)(Java Doc) protected void handleGeometryChanged()(Code)(Java Doc) public void handleOtherAnimationChanged(String type)(Code)(Java Doc) protected void initializeDynamicSupport(BridgeContext ctx, Element e, GraphicsNode node)(Code)(Java Doc) abstract protected GraphicsNode instantiateGraphicsNode()(Code)(Java Doc) public void setScreenTransform(AffineTransform at)(Code)(Java Doc) protected void setTransform(GraphicsNode n, Element e, BridgeContext ctx)(Code)(Java Doc)
|
|
|