/** * Returns the type of native browser being used by this instance. * Examples: "ie", "mozilla", "voyager", "webkit" * * @return the type of the native browser * * @since 3.5 */ public String getBrowserType () { checkWidget(); return webBrowser.getBrowserType (); }
/** * Returns the type of native browser being used by this instance. * Examples: "ie", "mozilla", "voyager", "webkit" * * @return the type of the native browser * * @since 3.5 */ public String getBrowserType () { checkWidget(); return webBrowser.getBrowserType (); }
/** * Returns the type of native browser being used by this instance. * Examples: "ie", "mozilla", "voyager", "webkit" * * @return the type of the native browser * * @since 3.5 */ public String getBrowserType () { checkWidget(); return webBrowser.getBrowserType (); }
private void evaluateNonBlocking( String script, BrowserCallback browserCallback ) { checkWidget(); if( executeScript != null ) { throw new IllegalStateException( "Another script is already pending" ); } this.browserCallback = browserCallback; executeScript = prepareScript( script ); }
/** * Returns the type of native browser being used by this instance. * Examples: "ie", "mozilla", "voyager", "webkit" * * @return the type of the native browser * * @since 3.5 */ public String getBrowserType () { checkWidget(); return webBrowser.getBrowserType (); }
/** * Returns the type of native browser being used by this instance. * Examples: "ie", "mozilla", "voyager", "webkit" * * @return the type of the native browser * * @since 3.5 */ public String getBrowserType () { checkWidget(); return webBrowser.getBrowserType (); }
/** * Refresh the current page. * * @exception SWTException <ul> * <li>ERROR_THREAD_INVALID_ACCESS when called from the wrong thread</li> * <li>ERROR_WIDGET_DISPOSED when the widget has been disposed</li> * </ul> * * @since 3.0 */ public void refresh () { checkWidget(); webBrowser.refresh (); }
/** * Refresh the current page. * * @exception SWTException <ul> * <li>ERROR_THREAD_INVALID_ACCESS when called from the wrong thread</li> * <li>ERROR_WIDGET_DISPOSED when the widget has been disposed</li> * </ul> * * @since 3.0 */ public void refresh () { checkWidget(); webBrowser.refresh (); }
/** * Refresh the current page. * * @exception SWTException <ul> * <li>ERROR_THREAD_INVALID_ACCESS when called from the wrong thread</li> * <li>ERROR_WIDGET_DISPOSED when the widget has been disposed</li> * </ul> * * @since 3.0 */ public void refresh () { checkWidget(); webBrowser.refresh (); }
/** * Stop any loading and rendering activity. * * @exception SWTException <ul> * <li>ERROR_THREAD_INVALID_ACCESS when called from the wrong thread</li> * <li>ERROR_WIDGET_DISPOSED when the widget has been disposed</li> * </ul> * * @since 3.0 */ public void stop () { checkWidget(); webBrowser.stop (); } }
/** * Returns the Browser whose pages can invoke this BrowserFunction. * * @return the Browser associated with this BrowserFunction * * @exception SWTException <ul> * <li>ERROR_THREAD_INVALID_ACCESS when called from the wrong thread</li> * <li>ERROR_FUNCTION_DISPOSED when the BrowserFunction has been disposed</li> * </ul> */ public Browser getBrowser () { if (index < 0) SWT.error (SWT.ERROR_FUNCTION_DISPOSED); browser.checkWidget (); return browser; }
/** * Stop any loading and rendering activity. * * @exception SWTException <ul> * <li>ERROR_THREAD_INVALID_ACCESS when called from the wrong thread</li> * <li>ERROR_WIDGET_DISPOSED when the widget has been disposed</li> * </ul> * * @since 3.0 */ public void stop () { checkWidget(); webBrowser.stop (); } }
/** * Returns the Browser whose pages can invoke this BrowserFunction. * * @return the Browser associated with this BrowserFunction * * @exception SWTException <ul> * <li>ERROR_THREAD_INVALID_ACCESS when called from the wrong thread</li> * <li>ERROR_FUNCTION_DISPOSED when the BrowserFunction has been disposed</li> * </ul> */ public Browser getBrowser () { if (index < 0) SWT.error (SWT.ERROR_FUNCTION_DISPOSED); browser.checkWidget (); return browser; }
/** * Returns the Browser whose pages can invoke this BrowserFunction. * * @return the Browser associated with this BrowserFunction * * @exception SWTException <ul> * <li>ERROR_THREAD_INVALID_ACCESS when called from the wrong thread</li> * <li>ERROR_FUNCTION_DISPOSED when the BrowserFunction has been disposed</li> * </ul> */ public Browser getBrowser () { if (index < 0) SWT.error (SWT.ERROR_FUNCTION_DISPOSED); browser.checkWidget (); return browser; }
/** * Returns the name that javascript can use to invoke this BrowserFunction. * * @return the BrowserFunction's name * * @exception SWTException <ul> * <li>ERROR_THREAD_INVALID_ACCESS when called from the wrong thread</li> * <li>ERROR_FUNCTION_DISPOSED when the BrowserFunction has been disposed</li> * </ul> */ public String getName () { if (index < 0) SWT.error (SWT.ERROR_FUNCTION_DISPOSED); browser.checkWidget (); return name; }
@Override public boolean isFocusControl () { checkWidget(); if (webBrowser.isFocusControl ()) return true; return super.isFocusControl (); }
@Override public boolean isFocusControl () { checkWidget(); if (webBrowser.isFocusControl ()) return true; return super.isFocusControl (); }
public boolean isFocusControl () { checkWidget(); if (webBrowser.isFocusControl ()) return true; return super.isFocusControl (); }
@Override public boolean isFocusControl () { checkWidget(); if (webBrowser.isFocusControl ()) return true; return super.isFocusControl (); }
@Override public boolean isFocusControl () { checkWidget(); if (webBrowser.isFocusControl ()) return true; return super.isFocusControl (); }