1 12 13 package org.w3c.dom.events; 14 15 import org.w3c.dom.Node ; 16 17 23 public interface MutationEvent extends Event { 24 28 public static final short MODIFICATION = 1; 29 32 public static final short ADDITION = 2; 33 36 public static final short REMOVAL = 3; 37 38 48 public Node getRelatedNode(); 49 50 55 public String getPrevValue(); 56 57 62 public String getNewValue(); 63 64 68 public String getAttrName(); 69 70 75 public short getAttrChange(); 76 77 99 public void initMutationEvent(String typeArg, 100 boolean canBubbleArg, 101 boolean cancelableArg, 102 Node relatedNodeArg, 103 String prevValueArg, 104 String newValueArg, 105 String attrNameArg, 106 short attrChangeArg); 107 108 } 109 | Popular Tags |