Package | Description |
---|---|
com.teamdev.jxbrowser.browser.callback |
This package provides the classes that allow you to work with browser events.
|
com.teamdev.jxbrowser.callback |
The browser callbacks.
|
com.teamdev.jxbrowser.download.callback |
The download service callbacks.
|
com.teamdev.jxbrowser.navigation.callback |
The navigation callbacks.
|
com.teamdev.jxbrowser.net.callback |
The network service callbacks.
|
com.teamdev.jxbrowser.permission.callback |
The permission service callbacks.
|
com.teamdev.jxbrowser.plugin.callback |
The plugin service callbacks.
|
com.teamdev.jxbrowser.view.swing.callback |
Contains the implementations of the callbacks that display Swing UI dialogs.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AlertCallback
This callback is invoked when JavaScript alert dialog should be displayed.
|
interface |
BeforeFormRepostCallback
This callback is invoked when a web page with POST data is going to be reloaded and the user must
confirm that the POST data can be resubmitted.
|
interface |
BeforeUnloadCallback
This callback is invoked when the web page is about to be unloaded.
|
interface |
BrowserAsyncCallback<P,R extends AsyncCallbackAction>
A common interface for all asynchronous browser callbacks.
|
interface |
BrowserCallback
An interface that all browser callbacks must extend.
|
interface |
BrowserSyncCallback<P,R>
A common interface that all synchronous browser callbacks must extend.
|
interface |
CertificateErrorCallback
The callback is invoked when an SSL certificate error occurs during loading a web page.
|
interface |
ConfirmCallback
This callback is invoked when JavaScript confirmation dialog should be displayed.
|
interface |
CreatePopupCallback
This callback is invoked when browser decides whether a new popup instance can be created or not.
|
interface |
InjectCssCallback
This callback is invoked when the document element has been created and a custom style sheet can
be injected into the document.
|
interface |
InjectJsCallback
This callback is invoked when the document element has been created and a custom JavaScript can
be injected into the document.
|
interface |
OpenFileCallback
This callback is invoked when the browser requests to display a file chooser dialog to open a
file.
|
interface |
OpenFilesCallback
This callback is invoked when the browser requests to display a file chooser dialog to open
several files.
|
interface |
OpenFolderCallback
This callback is invoked when the browser requests to display a file chooser dialog to open a
folder.
|
interface |
OpenPopupCallback
This callback is invoked when a new popup browser instance should be opened.
|
interface |
PrintCallback
The callback that is invoked when the printing is initiated.
|
interface |
PromptCallback
This callback is invoked when JavaScript dialog prompting the user to input some text should be
displayed.
|
interface |
SaveAsPdfCallback
This callback is invoked when the browser requests to display a file chooser dialog to save
content as PDF.
|
interface |
SelectClientCertificateCallback
This callback is invoked when the web server requires authorization via SSL client certificate.
|
interface |
SelectColorCallback
This callback is invoked when the user clicks an
<input type='color'> HTML5 element. |
interface |
ShowContextMenuCallback
This callback is invoked when the browser attempts to display a context menu, for example, when
the user clicks the right mouse button on the web page Flash content.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Advisable<P extends Callback>
A common interface that all objects providing callbacks must implement.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AsyncCallback<P,R extends AsyncCallbackAction>
A common interface that all asynchronous callbacks must extend.
|
interface |
SyncCallback<P,R>
A common interface that all synchronous callbacks must extend.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DownloadsAsyncCallback<P,R extends AsyncCallbackAction>
A common interface that all asynchronous download service callbacks must implement.
|
interface |
DownloadsCallback
A common interface that all download service callbacks must implement.
|
interface |
StartDownloadCallback
The callback that is invoked when the browser is about to start downloading the file.
|
Modifier and Type | Interface and Description |
---|---|
interface |
NavigationCallback
A common interface for all navigation callbacks must extend.
|
interface |
NavigationSyncCallback<P,R>
A common interface for all synchronous navigation callbacks must extend.
|
interface |
StartNavigationCallback
This callback is invoked before the engine starts navigation to a resource.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AuthenticateCallback
The callback that is invoked when an HTTP request receives an authentication challenge and is
unable to respond using cached credentials.
|
interface |
BeforeSendHeadersCallback
The callback that is invoked when a URL request is about to occur and the initial HTTP headers
have been prepared.
|
interface |
BeforeSendProxyHeadersCallback
The callback that is invoked when a URL request is about to occur and the initial HTTP headers
have been prepared through the proxy connection.
|
interface |
BeforeSendUploadDataCallback
The callback that is invoked before the upload data is sent to the web server.
|
interface |
BeforeStartTransactionCallback
The callback that is invoked before the network transaction starts.
|
interface |
BeforeUrlRequestCallback
The callback is invoked when an HTTP request is about to occur.
|
interface |
CanAccessFileCallback
The callback is invoked when the engine checks if the given file can be accessed or not.
|
interface |
CanGetCookiesCallback
The callback is invoked to check if the engine can access the given cookie or not.
|
interface |
CanSetCookieCallback
The callback is invoked to check if the given cookie can be set or not.
|
interface |
InterceptRequestCallback
The callback is invoked when a URL request is about to be sent out.
|
interface |
LoadResourceCallback
The callback is invoked to check if the given resource can be loaded or not.
|
interface |
NetworkAsyncCallback<P,R extends AsyncCallbackAction>
A common interface for all asynchronous network service callbacks must extend.
|
interface |
NetworkCallback
A common interface for all network service callbacks must extend.
|
interface |
NetworkSyncCallback<P,R>
A common interface for all synchronous network service callbacks must extend.
|
interface |
ReceiveHeadersCallback
The callback is invoked when the response headers have been received for a URL request.
|
interface |
VerifyCertificateCallback
The callback is invoked when certificate verification is required.
|
Modifier and Type | Interface and Description |
---|---|
interface |
PermissionsAsyncCallback<P,R extends AsyncCallbackAction>
A common interface for all asynchronous permission service callbacks must extend.
|
interface |
PermissionsCallback
A common interface for all permission service callbacks must extend.
|
interface |
RequestPermissionCallback
This callback is invoked when a web page requests a permission, for example to enable geolocation
or Flash player.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AllowPluginCallback
This callback is invoked when the engine wants to check whether a specific plugin is allowed or
not.
|
interface |
PluginsCallback
A common interface for all plugin service callbacks must extend.
|
interface |
PluginsSyncCallback<P,R>
A common interface for all synchronous plugin service callbacks must extend.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultAlertCallback
The default
AlertCallback implementation that shows a dialog when JavaScript alert dialog
should be displayed. |
class |
DefaultBeforeFormRepostCallback
The default
BeforeFormRepostCallback implementation that shows a dialog when a web page
with POST data is going to be reloaded. |
class |
DefaultBeforeUnloadCallback
The default
BeforeUnloadCallback implementation that shows a dialog when the web page is
about to be unloaded. |
class |
DefaultConfirmCallback
The default
ConfirmCallback implementation that shows a dialog when JavaScript confirm
dialog should be displayed. |
class |
DefaultOpenFileCallback
The default
OpenFileCallback implementation that shows a file chooser dialog when the
engine requests to open a file. |
class |
DefaultOpenFilesCallback
The default
OpenFilesCallback implementation that shows a file chooser dialog when the
engine requests to open multiple files. |
class |
DefaultOpenFolderCallback
The default
OpenFolderCallback implementation that shows a file chooser dialog when the
engine requests to open a folder. |
class |
DefaultOpenPopupCallback
The default
OpenPopupCallback implementation that creates and shows a new window with the
embedded popup browser. |
class |
DefaultPrintCallback
The default
PrintCallback implementation that allows the engine to show the print preview
dialog. |
class |
DefaultPromptCallback
The default
PromptCallback implementation that shows a dialog when JavaScript prompt
dialog should be displayed. |
class |
DefaultSaveAsPdfCallback
The default
SaveAsPdfCallback implementation that shows a file chooser dialog when the
engine requests to save content as PDF. |
class |
DefaultSelectClientCertificateCallback
The default
SelectClientCertificateCallback implementation that shows a dialog that
allows the user to select a certificate from the certificate list passed to the callback. |
class |
DefaultSelectColorCallback
The default
SelectColorCallback implementation that shows a color chooser dialog when the
user clicks an <input type='color'> HTML5 element. |
class |
DefaultShowContextMenuCallback
The default
ShowContextMenuCallback implementation that displays the context menu in the
following cases:
Right click on a misspelled word on the loaded web page.
Right click on an element on the loaded web page that has the custom context menu. |