Class BridgeLoadAdapter

  • All Implemented Interfaces:
    com.teamdev.jxbrowser.chromium.events.BrowserListener, com.teamdev.jxbrowser.chromium.events.LoadListener, java.util.EventListener

    public class BridgeLoadAdapter
    extends com.teamdev.jxbrowser.chromium.events.LoadAdapter
    This loadViewUrl adapter watches for when the browser finishes loading the main page, and executes the injects the bridge object into the loaded page.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onDocumentLoadedInFrame​(com.teamdev.jxbrowser.chromium.events.FrameLoadEvent event)  
      void onFinishLoadingFrame​(com.teamdev.jxbrowser.chromium.events.FinishLoadingEvent event)  
      protected void onFinishLoadingFrameInternal()  
      • Methods inherited from class com.teamdev.jxbrowser.chromium.events.LoadAdapter

        onDocumentLoadedInMainFrame, onFailLoadingFrame, onProvisionalLoadingFrame, onStartLoadingFrame
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BridgeLoadAdapter

        public BridgeLoadAdapter​(@Nonnull
                                 JavaJsBridge bridge)
    • Method Detail

      • onDocumentLoadedInFrame

        public void onDocumentLoadedInFrame​(com.teamdev.jxbrowser.chromium.events.FrameLoadEvent event)
        Specified by:
        onDocumentLoadedInFrame in interface com.teamdev.jxbrowser.chromium.events.LoadListener
        Overrides:
        onDocumentLoadedInFrame in class com.teamdev.jxbrowser.chromium.events.LoadAdapter
      • onFinishLoadingFrame

        public void onFinishLoadingFrame​(com.teamdev.jxbrowser.chromium.events.FinishLoadingEvent event)
        Specified by:
        onFinishLoadingFrame in interface com.teamdev.jxbrowser.chromium.events.LoadListener
        Overrides:
        onFinishLoadingFrame in class com.teamdev.jxbrowser.chromium.events.LoadAdapter
      • onFinishLoadingFrameInternal

        protected void onFinishLoadingFrameInternal()