|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.bridge.FocusManager
org.apache.batik.bridge.svg12.SVG12FocusManager
public class SVG12FocusManager
Focus manager for SVG 1.2 documents. Ensures bubble limits of DOM focus events are set appropriately for sXBL. support.
Nested Class Summary | |
---|---|
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 | |
---|---|
SVG12FocusManager(Document doc)
Constructs a new SVG12FocusManager for the specified document. |
Method Summary | |
---|---|
protected void |
addEventListeners(Document doc)
Adds the event listeners to the document. |
protected void |
fireDOMFocusInEvent(EventTarget target,
EventTarget relatedTarget)
Fires a 'DOMFocusIn' event to the specified target. |
protected void |
fireDOMFocusOutEvent(EventTarget target,
EventTarget relatedTarget)
Fires a 'DOMFocusOut' event to the specified target. |
protected void |
removeEventListeners(Document doc)
Removes the event listeners from the document. |
Methods inherited from class org.apache.batik.bridge.FocusManager |
---|
dispose, fireDOMActivateEvent, getCurrentEventTarget |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SVG12FocusManager(Document doc)
doc
- the documentMethod Detail |
---|
protected void addEventListeners(Document doc)
addEventListeners
in class FocusManager
protected void removeEventListeners(Document doc)
removeEventListeners
in class FocusManager
protected void fireDOMFocusInEvent(EventTarget target, EventTarget relatedTarget)
fireDOMFocusInEvent
in class FocusManager
target
- the newly focussed event targetrelatedTarget
- the previously focussed event targetprotected void fireDOMFocusOutEvent(EventTarget target, EventTarget relatedTarget)
fireDOMFocusOutEvent
in class FocusManager
target
- the previously focussed event targetrelatedTarget
- the newly focussed event target
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |