Modifiers | Name | Description |
---|---|---|
enum |
WebViewBasedBrowserComponent.PopupStrategy |
Modifiers | Name | Description |
---|---|---|
java.lang.String |
BROWSER_LOG_KEY |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
addBootstrapJavaScript(java.lang.String script, java.lang.String memberName, java.lang.Object eventHandler) This method added only for in-product chat functionality |
|
void |
addBrowserStateListener(BrowserListener listener) |
|
void |
addJavaScriptEventHandler(java.lang.String memberName, java.lang.Object eventHandler) Provides a JavaScript object memberName when the current page is successfully loaded which can be used to call the eventHandler. |
|
void |
addJavaScriptEventHandlerBeforeLoad(java.lang.String memberName, java.lang.Object eventHandler) Provides an eventHandler to JavaScript context before page loading is started |
|
void |
close(boolean cascade) |
|
void |
executeCallback(java.lang.Object jsCallback, java.lang.Object... args) |
|
void |
executeJavaScript(java.lang.String script) |
|
java.awt.Component |
getComponent() |
|
BrowserComponentType |
getComponentType() return type of extended component to exclude direct dependency from implementation. |
|
void |
navigate(java.lang.String url) |
|
void |
navigate(java.lang.String url, java.lang.String backupUrl) |
|
void |
removeBrowserStateListener(BrowserListener listener) |
|
void |
setContent(java.lang.String contentAsString) |
|
void |
setContent(java.lang.String contentAsString, java.lang.String contentType) |
|
void |
setExtraAvailabilityPreCheck(boolean enabled) |
This method added only for in-product chat functionality
Provides a JavaScript object memberName when the current page is successfully loaded which can be used to call the eventHandler.
Provides an eventHandler to JavaScript context before page loading is started
Due to Java docs: WebEngine itself does not prevent eventHandler from be collected by GC
memberName
- name of window's propertyeventHandler
- java object to call from JS
return type of extended component to exclude direct dependency from implementation.