1 28 package org.eclipse.swt.internal.mozilla; 29 30 public class nsIWebBrowserFocus extends nsISupports { 31 32 static final int LAST_METHOD_ID = nsISupports.LAST_METHOD_ID + 8; 33 34 public static final String NS_IWEBBROWSERFOCUS_IID_STR = 35 "9c5d3c58-1dd1-11b2-a1c9-f3699284657a"; 36 37 public static final nsID NS_IWEBBROWSERFOCUS_IID = 38 new nsID(NS_IWEBBROWSERFOCUS_IID_STR); 39 40 public nsIWebBrowserFocus(int address) { 41 super(address); 42 } 43 44 public int Activate() { 45 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 1, getAddress()); 46 } 47 48 public int Deactivate() { 49 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 2, getAddress()); 50 } 51 52 public int SetFocusAtFirstElement() { 53 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 3, getAddress()); 54 } 55 56 public int SetFocusAtLastElement() { 57 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 4, getAddress()); 58 } 59 60 public int GetFocusedWindow(int [] aFocusedWindow) { 61 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 5, getAddress(), aFocusedWindow); 62 } 63 64 public int SetFocusedWindow(int aFocusedWindow) { 65 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 6, getAddress(), aFocusedWindow); 66 } 67 68 public int GetFocusedElement(int [] aFocusedElement) { 69 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 7, getAddress(), aFocusedElement); 70 } 71 72 public int SetFocusedElement(int aFocusedElement) { 73 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 8, getAddress(), aFocusedElement); 74 } 75 } | Popular Tags |