Class JavacefWebBrowser
java.lang.Object
ru.cg.webbpm.studio.subsystems.web_browser.javacef.JavacefWebBrowser
- All Implemented Interfaces:
WebBrowser
-
Nested Class Summary
Nested classes/interfaces inherited from interface ru.cg.webbpm.studio.subsystems.web_browser.api.WebBrowser
WebBrowser.DocumentLoadFailureListener, WebBrowser.DocumentLoadListener, WebBrowser.DocumentLoadSuccessListener
-
Method Summary
Modifier and TypeMethodDescriptionvoid
callObjectFunction
(JSObjectWrapper object, String functionName, Object... arguments) void
close()
void
javafx.scene.Node
getView()
boolean
void
void
reload()
void
void
repaint()
void
setObjectProperty
(JSObjectWrapper object, String property, Object value)
-
Method Details
-
repaint
public void repaint()- Specified by:
repaint
in interfaceWebBrowser
-
getView
public javafx.scene.Node getView()- Specified by:
getView
in interfaceWebBrowser
-
openUrl
- Specified by:
openUrl
in interfaceWebBrowser
-
isDocumentLoaded
public boolean isDocumentLoaded()- Specified by:
isDocumentLoaded
in interfaceWebBrowser
-
reload
public void reload()- Specified by:
reload
in interfaceWebBrowser
-
executeJs
- Specified by:
executeJs
in interfaceWebBrowser
-
executeJsWithResult
- Specified by:
executeJsWithResult
in interfaceWebBrowser
-
callObjectFunction
- Specified by:
callObjectFunction
in interfaceWebBrowser
- Parameters:
object
- - JavaScript object wrapper on which function to be calledfunctionName
- - name of function supposed to be invokedarguments
- - function's arguments, numerous primitive typed arguments are allowed, but the only single JS object is allowed here
-
setObjectProperty
- Specified by:
setObjectProperty
in interfaceWebBrowser
-
addDocumentLoadListener
- Specified by:
addDocumentLoadListener
in interfaceWebBrowser
-
removeDocumentLoadListener
- Specified by:
removeDocumentLoadListener
in interfaceWebBrowser
-
close
public void close()- Specified by:
close
in interfaceWebBrowser
-