Class BridgeLoadAdapter
- java.lang.Object
-
- com.teamdev.jxbrowser.chromium.events.LoadAdapter
-
- com.inductiveautomation.perspective.designer.workspace.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.
-
-
Constructor Summary
Constructors Constructor Description BridgeLoadAdapter(JavaJsBridge bridge)
-
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()
-
-
-
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 interfacecom.teamdev.jxbrowser.chromium.events.LoadListener
- Overrides:
onDocumentLoadedInFrame
in classcom.teamdev.jxbrowser.chromium.events.LoadAdapter
-
onFinishLoadingFrame
public void onFinishLoadingFrame(com.teamdev.jxbrowser.chromium.events.FinishLoadingEvent event)
- Specified by:
onFinishLoadingFrame
in interfacecom.teamdev.jxbrowser.chromium.events.LoadListener
- Overrides:
onFinishLoadingFrame
in classcom.teamdev.jxbrowser.chromium.events.LoadAdapter
-
onFinishLoadingFrameInternal
protected void onFinishLoadingFrameInternal()
-
-