org.apache.batik.bridge

Class SVGTextElementBridge.AbstractTextChildBridgeUpdateHandler

protected abstract class SVGTextElementBridge.AbstractTextChildBridgeUpdateHandler extends SVGTextElementBridge.AbstractTextChildSVGContext implements BridgeUpdateHandler

Implementation for the BridgeUpdateHandler for the child elements of <text>. This implementation relies on the parent bridge which contains the TextNode representing the node this context supervised. All operations are done by the parent bridge SVGTextElementBridge which can determine the impact of a change of one of its children for the others.
Constructor Summary
protected AbstractTextChildBridgeUpdateHandler(BridgeContext ctx, SVGTextElementBridge parent, Element e)
Initialize the BridgeUpdateHandler implementation.
Method Summary
voiddispose()
Disposes this BridgeUpdateHandler and releases all resources.
voidhandleAnimatedAttributeChanged(AnimatedLiveAttributeValue alav)
Invoked when the animated value of an animatable attribute has changed.
voidhandleCSSEngineEvent(CSSEngineEvent evt)
Invoked when an CSSEngineEvent is fired.
voidhandleDOMAttrModifiedEvent(MutationEvent evt)
Invoked when an MutationEvent of type 'DOMAttrModified' is fired.
voidhandleDOMCharacterDataModified(MutationEvent evt)
Invoked when an MutationEvent of type 'DOMCharacterDataModified' is fired.
voidhandleDOMNodeInsertedEvent(MutationEvent evt)
Invoked when an MutationEvent of type 'DOMNodeInserted' is fired.
voidhandleDOMNodeRemovedEvent(MutationEvent evt)
Invoked when an MutationEvent of type 'DOMNodeRemoved' is fired.
voidhandleOtherAnimationChanged(String type)
Invoked when an 'other' animation value has changed.

Constructor Detail

AbstractTextChildBridgeUpdateHandler

protected AbstractTextChildBridgeUpdateHandler(BridgeContext ctx, SVGTextElementBridge parent, Element e)
Initialize the BridgeUpdateHandler implementation.

Method Detail

dispose

public void dispose()
Disposes this BridgeUpdateHandler and releases all resources.

handleAnimatedAttributeChanged

public void handleAnimatedAttributeChanged(AnimatedLiveAttributeValue alav)
Invoked when the animated value of an animatable attribute has changed.

handleCSSEngineEvent

public void handleCSSEngineEvent(CSSEngineEvent evt)
Invoked when an CSSEngineEvent is fired.

handleDOMAttrModifiedEvent

public void handleDOMAttrModifiedEvent(MutationEvent evt)
Invoked when an MutationEvent of type 'DOMAttrModified' is fired.

handleDOMCharacterDataModified

public void handleDOMCharacterDataModified(MutationEvent evt)
Invoked when an MutationEvent of type 'DOMCharacterDataModified' is fired.

handleDOMNodeInsertedEvent

public void handleDOMNodeInsertedEvent(MutationEvent evt)
Invoked when an MutationEvent of type 'DOMNodeInserted' is fired.

handleDOMNodeRemovedEvent

public void handleDOMNodeRemovedEvent(MutationEvent evt)
Invoked when an MutationEvent of type 'DOMNodeRemoved' is fired.

handleOtherAnimationChanged

public void handleOtherAnimationChanged(String type)
Invoked when an 'other' animation value has changed.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.