Package org.apache.batik.bridge.svg12
Class SVG12FocusManager
- java.lang.Object
-
- org.apache.batik.bridge.FocusManager
-
- org.apache.batik.bridge.svg12.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
Nested Classes Modifier and Type Class Description protected class
SVG12FocusManager.DOMFocusInTracker
The class that is responsible for tracking 'DOMFocusIn' changes.protected class
SVG12FocusManager.MouseClickTracker
The class that is responsible for tracking 'mouseclick' changes.protected class
SVG12FocusManager.MouseOutTracker
The class that is responsible for tracking 'mouseout' changes.protected class
SVG12FocusManager.MouseOverTracker
The class that is responsible for tracking 'mouseover' changes.-
Nested classes/interfaces inherited from class org.apache.batik.bridge.FocusManager
FocusManager.DOMFocusOutTracker
-
-
Field Summary
-
Fields inherited from class org.apache.batik.bridge.FocusManager
document, domFocusInListener, domFocusOutListener, lastFocusEventTarget, mouseclickListener, mouseoutListener, mouseoverListener
-
-
Constructor Summary
Constructors Constructor Description SVG12FocusManager(org.w3c.dom.Document doc)
Constructs a newSVG12FocusManager
for the specified document.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addEventListeners(org.w3c.dom.Document doc)
Adds the event listeners to the document.protected void
fireDOMFocusInEvent(org.w3c.dom.events.EventTarget target, org.w3c.dom.events.EventTarget relatedTarget)
Fires a 'DOMFocusIn' event to the specified target.protected void
fireDOMFocusOutEvent(org.w3c.dom.events.EventTarget target, org.w3c.dom.events.EventTarget relatedTarget)
Fires a 'DOMFocusOut' event to the specified target.protected void
removeEventListeners(org.w3c.dom.Document doc)
Removes the event listeners from the document.-
Methods inherited from class org.apache.batik.bridge.FocusManager
dispose, fireDOMActivateEvent, getCurrentEventTarget
-
-
-
-
Method Detail
-
addEventListeners
protected void addEventListeners(org.w3c.dom.Document doc)
Adds the event listeners to the document.- Overrides:
addEventListeners
in classFocusManager
-
removeEventListeners
protected void removeEventListeners(org.w3c.dom.Document doc)
Removes the event listeners from the document.- Overrides:
removeEventListeners
in classFocusManager
-
fireDOMFocusInEvent
protected void fireDOMFocusInEvent(org.w3c.dom.events.EventTarget target, org.w3c.dom.events.EventTarget relatedTarget)
Fires a 'DOMFocusIn' event to the specified target.- Overrides:
fireDOMFocusInEvent
in classFocusManager
- Parameters:
target
- the newly focussed event targetrelatedTarget
- the previously focussed event target
-
fireDOMFocusOutEvent
protected void fireDOMFocusOutEvent(org.w3c.dom.events.EventTarget target, org.w3c.dom.events.EventTarget relatedTarget)
Fires a 'DOMFocusOut' event to the specified target.- Overrides:
fireDOMFocusOutEvent
in classFocusManager
- Parameters:
target
- the previously focussed event targetrelatedTarget
- the newly focussed event target
-
-