Package | Description |
---|---|
com.teamdev.jxbrowser.browser.callback |
This package provides the classes that allow you to work with browser events.
|
com.teamdev.jxbrowser.download.callback |
The download service callbacks.
|
com.teamdev.jxbrowser.net.callback |
The network service callbacks.
|
com.teamdev.jxbrowser.permission.callback |
The permission 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 |
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 |
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 |
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 |
DownloadsAsyncCallback<P,R extends AsyncCallbackAction>
A common interface that all asynchronous 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 |
AuthenticateCallback
The callback that is invoked when an HTTP request receives an authentication challenge and is
unable to respond using cached credentials.
|
interface |
NetworkAsyncCallback<P,R extends AsyncCallbackAction>
A common interface for all asynchronous network service callbacks must extend.
|
Modifier and Type | Interface and Description |
---|---|
interface |
PermissionsAsyncCallback<P,R extends AsyncCallbackAction>
A common interface for all asynchronous 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 | 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 |
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. |