1 20 21 package org.jdesktop.jdic.browser; 22 23 import java.awt.Rectangle ; 24 25 35 class NativeEventData 36 { 37 final static int EVENT_INIT = 0; 38 final static int EVENT_CREATEWINDOW = 1; 39 final static int EVENT_DESTROYWINDOW = 2; 40 final static int EVENT_SHUTDOWN = 3; 41 final static int EVENT_SET_BOUNDS = 4; 42 final static int EVENT_NAVIGATE = 5; 43 final static int EVENT_NAVIGATE_POST = 6; 44 final static int EVENT_NAVIGATE_POSTDATA = 7; 45 final static int EVENT_GOBACK = 8; 46 final static int EVENT_GOFORWARD = 9; 47 final static int EVENT_REFRESH = 10; 48 final static int EVENT_STOP = 11; 49 final static int EVENT_GETURL = 12; 50 final static int EVENT_FOCUSGAINED = 13; 51 final static int EVENT_FOCUSLOST = 14; 52 final static int EVENT_GETCONTENT = 15; 53 final static int EVENT_SETCONTENT = 16; 54 final static int EVENT_EXECUTESCRIPT = 17; 55 56 int instance; 57 int type; 58 Rectangle rectValue; 59 String stringValue; 60 61 NativeEventData (int instance, int type) 62 { 63 this.instance = instance; 64 this.type = type; 65 } 66 67 NativeEventData (int instance, int type, Rectangle rectValue) 68 { 69 this.instance = instance; 70 this.type = type; 71 this.rectValue = rectValue; 72 } 73 74 NativeEventData (int instance, int type, String stringValue) 75 { 76 this.instance = instance; 77 this.type = type; 78 this.stringValue = stringValue; 79 } 80 } | Popular Tags |