org.w3c.domts
Class EventMonitor

java.lang.Object
  extended byorg.w3c.domts.EventMonitor
All Implemented Interfaces:
org.w3c.dom.events.EventListener

public class EventMonitor
extends java.lang.Object
implements org.w3c.dom.events.EventListener

This is a utility implementation of EventListener that captures all events and provides access to lists of all events by mode


Constructor Summary
EventMonitor()
           
 
Method Summary
 java.util.List getAllEvents()
           
 java.util.List getAtEvents()
           
 java.util.List getBubbledEvents()
           
 java.util.List getCapturedEvents()
           
 void handleEvent(org.w3c.dom.events.Event evt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventMonitor

public EventMonitor()
Method Detail

handleEvent

public void handleEvent(org.w3c.dom.events.Event evt)
Specified by:
handleEvent in interface org.w3c.dom.events.EventListener

getAllEvents

public java.util.List getAllEvents()

getBubbledEvents

public java.util.List getBubbledEvents()

getAtEvents

public java.util.List getAtEvents()

getCapturedEvents

public java.util.List getCapturedEvents()