1 28 package org.eclipse.swt.internal.mozilla; 29 30 public class nsITooltipListener extends nsISupports { 31 32 static final int LAST_METHOD_ID = nsISupports.LAST_METHOD_ID + 2; 33 34 public static final String NS_ITOOLTIPLISTENER_IID_STR = 35 "44b78386-1dd2-11b2-9ad2-e4eee2ca1916"; 36 37 public static final nsID NS_ITOOLTIPLISTENER_IID = 38 new nsID(NS_ITOOLTIPLISTENER_IID_STR); 39 40 public nsITooltipListener(int address) { 41 super(address); 42 } 43 44 public int OnShowTooltip(int aXCoords, int aYCoords, char[] aTipText) { 45 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 1, getAddress(), aXCoords, aYCoords, aTipText); 46 } 47 48 public int OnHideTooltip() { 49 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 2, getAddress()); 50 } 51 } | Popular Tags |