org.apache.batik.bridge.svg12

Class SVG12FocusManager

public class SVG12FocusManager extends FocusManager

Focus manager for SVG 1.2 documents. Ensures bubble limits of DOM focus events are set appropriately for sXBL. support.
Nested Class Summary
protected classSVG12FocusManager.DOMFocusInTracker
The class that is responsible for tracking 'DOMFocusIn' changes.
protected classSVG12FocusManager.MouseClickTracker
The class that is responsible for tracking 'mouseclick' changes.
protected classSVG12FocusManager.MouseOutTracker
The class that is responsible for tracking 'mouseout' changes.
protected classSVG12FocusManager.MouseOverTracker
The class that is responsible for tracking 'mouseover' changes.
Constructor Summary
SVG12FocusManager(Document doc)
Constructs a new SVG12FocusManager for the specified document.
Method Summary
protected voidaddEventListeners(Document doc)
Adds the event listeners to the document.
protected voidfireDOMFocusInEvent(EventTarget target, EventTarget relatedTarget)
Fires a 'DOMFocusIn' event to the specified target.
protected voidfireDOMFocusOutEvent(EventTarget target, EventTarget relatedTarget)
Fires a 'DOMFocusOut' event to the specified target.
protected voidremoveEventListeners(Document doc)
Removes the event listeners from the document.

Constructor Detail

SVG12FocusManager

public SVG12FocusManager(Document doc)
Constructs a new SVG12FocusManager for the specified document.

Parameters: doc the document

Method Detail

addEventListeners

protected void addEventListeners(Document doc)
Adds the event listeners to the document.

fireDOMFocusInEvent

protected void fireDOMFocusInEvent(EventTarget target, EventTarget relatedTarget)
Fires a 'DOMFocusIn' event to the specified target.

Parameters: target the newly focussed event target relatedTarget the previously focussed event target

fireDOMFocusOutEvent

protected void fireDOMFocusOutEvent(EventTarget target, EventTarget relatedTarget)
Fires a 'DOMFocusOut' event to the specified target.

Parameters: target the previously focussed event target relatedTarget the newly focussed event target

removeEventListeners

protected void removeEventListeners(Document doc)
Removes the event listeners from the document.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.