Class SVG12FocusManager

java.lang.Object
io.sf.carte.echosvg.bridge.FocusManager
io.sf.carte.echosvg.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.
  • Constructor Details

    • SVG12FocusManager

      public SVG12FocusManager(Document doc)
      Constructs a new SVG12FocusManager for the specified document.
      Parameters:
      doc - the document
  • Method Details

    • addEventListeners

      protected void addEventListeners(Document doc)
      Adds the event listeners to the document.
      Overrides:
      addEventListeners in class FocusManager
    • removeEventListeners

      protected void removeEventListeners(Document doc)
      Removes the event listeners from the document.
      Overrides:
      removeEventListeners in class FocusManager
    • fireDOMFocusInEvent

      protected void fireDOMFocusInEvent(EventTarget target, EventTarget relatedTarget)
      Fires a 'DOMFocusIn' event to the specified target.
      Overrides:
      fireDOMFocusInEvent in class FocusManager
      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.
      Overrides:
      fireDOMFocusOutEvent in class FocusManager
      Parameters:
      target - the previously focussed event target
      relatedTarget - the newly focussed event target