1 28 package org.eclipse.swt.internal.mozilla; 29 30 public class nsIEventSink extends nsISupports { 31 32 static final int LAST_METHOD_ID = nsISupports.LAST_METHOD_ID + 4; 33 34 public static final String NS_IEVENTSINK_IID_STRING = 35 "C0D3A7C8-1DD1-11B2-8903-ADCD22D004AB"; 36 37 public static final nsID NS_IEVENTSINK_IID = 38 new nsID(NS_IEVENTSINK_IID_STRING); 39 40 public nsIEventSink(int address) { 41 super(address); 42 } 43 44 public int DispatchEvent(int anEvent, boolean[] _retval) { 45 return XPCOM.VtblCall(super.LAST_METHOD_ID + 1, getAddress(), anEvent, _retval); 46 } 47 48 public int DragEvent(int aMessage, short aMouseGlobalX, short aMouseGlobalY, short aKeyModifiers, boolean[] _retval) { 49 return XPCOM.VtblCall(super.LAST_METHOD_ID + 2, getAddress(), aMessage, aMouseGlobalX, aMouseGlobalY, aKeyModifiers, _retval); 50 } 51 52 public int Scroll(boolean aVertical, short aNumLines, short aMouseLocalX, short aMouseLocalY, boolean[] _retval) { 53 return XPCOM.VtblCall(super.LAST_METHOD_ID + 3, getAddress(), aVertical, aNumLines, aMouseLocalX, aMouseLocalY, _retval); 54 55 } 56 57 public int Idle() { 58 return XPCOM.VtblCall(super.LAST_METHOD_ID + 4, getAddress()); 59 } 60 } | Popular Tags |