public interface JavascriptListener extends EventListener
The class that is interested in processing a Javascript event either
implements this interface (and all the methods it contains) or extends the
abstract JavascriptAdapter
class (overriding only the methods of
interest).
The listener object created from that class is then registered with an
IBrowserCanvas
using the addJavascriptListener method.
Modifier and Type | Method and Description |
---|---|
void |
onJavascriptDialog(JavascriptEvent e)
This method is currently unused.
|
void |
onJavascriptMessage(JavascriptEvent e)
Invoked when a javascript message becomes available such as an error or warning.
|
void |
onJavascriptStatusChange(JavascriptEvent e)
Invoked when the Javascript changes the status bar in a browser.
|
void onJavascriptStatusChange(JavascriptEvent e)
void onJavascriptDialog(JavascriptEvent e)
void onJavascriptMessage(JavascriptEvent e)