org.apache.batik.bridge

Class SVGDescriptiveElementBridge

public abstract class SVGDescriptiveElementBridge extends AbstractSVGBridge implements GenericBridge, BridgeUpdateHandler, SVGContext

Base class for 'descriptive' elements, mostly title and desc.
Constructor Summary
SVGDescriptiveElementBridge()
Method Summary
voiddispose()
Rectangle2DgetBBox()
AffineTransformgetCTM()
floatgetFontSize()
AffineTransformgetGlobalTransform()
floatgetPixelToMM()
Returns the size of a px CSS unit in millimeters.
floatgetPixelUnitToMillimeter()
Returns the size of a px CSS unit in millimeters.
AffineTransformgetScreenTransform()
floatgetViewportHeight()
floatgetViewportWidth()
voidhandleAnimatedAttributeChanged(AnimatedLiveAttributeValue alav)
voidhandleCSSEngineEvent(CSSEngineEvent evt)
voidhandleDOMAttrModifiedEvent(MutationEvent evt)
voidhandleDOMCharacterDataModified(MutationEvent evt)
voidhandleDOMNodeInsertedEvent(MutationEvent evt)
voidhandleDOMNodeRemovedEvent(MutationEvent evt)
voidhandleElement(BridgeContext ctx, Element e)
Invoked to handle an Element for a given BridgeContext.
voidhandleOtherAnimationChanged(String type)
voidsetScreenTransform(AffineTransform at)

Constructor Detail

SVGDescriptiveElementBridge

public SVGDescriptiveElementBridge()

Method Detail

dispose

public void dispose()

getBBox

public Rectangle2D getBBox()

getCTM

public AffineTransform getCTM()

getFontSize

public float getFontSize()

getGlobalTransform

public AffineTransform getGlobalTransform()

getPixelToMM

public float getPixelToMM()
Returns the size of a px CSS unit in millimeters. This will be removed after next release.

See Also: getPixelUnitToMillimeter

getPixelUnitToMillimeter

public float getPixelUnitToMillimeter()
Returns the size of a px CSS unit in millimeters.

getScreenTransform

public AffineTransform getScreenTransform()

getViewportHeight

public float getViewportHeight()

getViewportWidth

public float getViewportWidth()

handleAnimatedAttributeChanged

public void handleAnimatedAttributeChanged(AnimatedLiveAttributeValue alav)

handleCSSEngineEvent

public void handleCSSEngineEvent(CSSEngineEvent evt)

handleDOMAttrModifiedEvent

public void handleDOMAttrModifiedEvent(MutationEvent evt)

handleDOMCharacterDataModified

public void handleDOMCharacterDataModified(MutationEvent evt)

handleDOMNodeInsertedEvent

public void handleDOMNodeInsertedEvent(MutationEvent evt)

handleDOMNodeRemovedEvent

public void handleDOMNodeRemovedEvent(MutationEvent evt)

handleElement

public void handleElement(BridgeContext ctx, Element e)
Invoked to handle an Element for a given BridgeContext. For example, see the SVGDescElementBridge.

Parameters: ctx the bridge context to use e the element to be handled

handleOtherAnimationChanged

public void handleOtherAnimationChanged(String type)

setScreenTransform

public void setScreenTransform(AffineTransform at)
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.