1 12 13 package org.w3c.dom.events; 14 15 27 public interface Event { 28 32 public static final short CAPTURING_PHASE = 1; 33 37 public static final short AT_TARGET = 2; 38 41 public static final short BUBBLING_PHASE = 3; 42 43 46 public String getType(); 47 48 52 public EventTarget getTarget(); 53 54 59 public EventTarget getCurrentTarget(); 60 61 65 public short getEventPhase(); 66 67 71 public boolean getBubbles(); 72 73 78 public boolean getCancelable(); 79 80 88 public long getTimeStamp(); 89 90 98 public void stopPropagation(); 99 100 112 public void preventDefault(); 113 114 137 public void initEvent(String eventTypeArg, 138 boolean canBubbleArg, 139 boolean cancelableArg); 140 141 } 142 | Popular Tags |