return new ArrayList(allEvents);
return new ArrayList(atEvents);
return new ArrayList(bubbledEvents);
return new ArrayList(capturedEvents);
switch (evt.getEventPhase()) { case Event.CAPTURING_PHASE: capturedEvents.add(evt); break; case Event.BUBBLING_PHASE: bubbledEvents.add(evt); break; case Event.AT_TARGET: atEvents.add(evt); break; } allEvents.add(evt);