Interface BrowserControlsEventsListener


  • public interface BrowserControlsEventsListener
    The listener interface for receiving browser controls events. The class that is interested in processing a browser controls events implements this interface, and pass this object into constructor of that class. When the browser controls event occurs, that object's appropriate method is invoked.
    • Method Detail

      • closeBrowser

        void closeBrowser()
        Close browser.
      • onGoBack

        void onGoBack()
        Perform browser "back" operation.
      • onGoForward

        void onGoForward()
        Perform browser "forward" operation.
      • onRelaod

        void onRelaod()
        Perform browser "relaod" operation.
      • canGoBack

        boolean canGoBack()
        Check state if browser can navigate back.
        Returns:
        true, if successful
      • canGoForward

        boolean canGoForward()
        Check state if browser can navigate forward.
        Returns:
        true, if successful
      • getCurrentURL

        java.lang.String getCurrentURL()
        Get the current browser URL.
        Returns:
        the current URL