java.lang.Object
io.sf.carte.echosvg.bridge.FocusManager
io.sf.carte.echosvg.bridge.svg12.SVG12FocusManager
Focus manager for SVG 1.2 documents. Ensures bubble limits of DOM focus
events are set appropriately for sXBL. support.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classThe class that is responsible for tracking 'DOMFocusIn' changes.protected classThe class that is responsible for tracking 'mouseclick' changes.protected classThe class that is responsible for tracking 'mouseout' changes.protected classThe class that is responsible for tracking 'mouseover' changes.Nested classes/interfaces inherited from class io.sf.carte.echosvg.bridge.FocusManager
FocusManager.DOMFocusOutTracker -
Field Summary
Fields inherited from class io.sf.carte.echosvg.bridge.FocusManager
document, domFocusInListener, domFocusOutListener, lastFocusEventTarget, mouseclickListener, mouseoutListener, mouseoverListener -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newSVG12FocusManagerfor the specified document. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidAdds 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 voidRemoves the event listeners from the document.Methods inherited from class io.sf.carte.echosvg.bridge.FocusManager
dispose, fireDOMActivateEvent, getCurrentEventTarget
-
Constructor Details
-
SVG12FocusManager
Constructs a newSVG12FocusManagerfor the specified document.- Parameters:
doc- the document
-
-
Method Details
-
addEventListeners
Adds the event listeners to the document.- Overrides:
addEventListenersin classFocusManager
-
removeEventListeners
Removes the event listeners from the document.- Overrides:
removeEventListenersin classFocusManager
-
fireDOMFocusInEvent
Fires a 'DOMFocusIn' event to the specified target.- Overrides:
fireDOMFocusInEventin classFocusManager- Parameters:
target- the newly focussed event targetrelatedTarget- the previously focussed event target
-
fireDOMFocusOutEvent
Fires a 'DOMFocusOut' event to the specified target.- Overrides:
fireDOMFocusOutEventin classFocusManager- Parameters:
target- the previously focussed event targetrelatedTarget- the newly focussed event target
-