1 18 package org.apache.batik.dom.events; 19 20 import org.w3c.dom.events.UIEvent ; 21 import org.w3c.dom.views.AbstractView; 22 23 29 public class DOMUIEvent extends AbstractEvent implements UIEvent { 30 31 private AbstractView view; 32 private int detail; 33 34 38 public AbstractView getView() { 39 return view; 40 } 41 42 46 public int getDetail() { 47 return detail; 48 } 49 50 67 public void initUIEvent(String typeArg, 68 boolean canBubbleArg, 69 boolean cancelableArg, 70 AbstractView viewArg, 71 int detailArg) { 72 initEvent(typeArg, canBubbleArg, cancelableArg); 73 this.view = viewArg; 74 this.detail = detailArg; 75 } 76 } 77 | Popular Tags |