|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.teamdev.jxbrowser.script.ScriptErrorWatcher
public final class ScriptErrorWatcher
Provides functionality that allows watching all JavaScript errors.
You can get access to the Browser ScriptErrorWatcher instance using
the BrowserServices.getScriptErrorWatcher()
method.
| Constructor Summary | |
|---|---|
ScriptErrorWatcher()
Constructs a new ScriptErrorWatcher instance. |
|
| Method Summary | |
|---|---|
void |
addScriptErrorListener(ScriptErrorListener listener)
Registers a listener to be notified when JavaScript execution problem occurs. |
java.util.List<ScriptErrorListener> |
getScriptErrorListeners()
Returns a list of all registered script error listeners. |
void |
removeScriptErrorListener(ScriptErrorListener listener)
Unregisters a listener so it will not receive notifications when JavaScript execution error occurs. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScriptErrorWatcher()
ScriptErrorWatcher instance.
| Method Detail |
|---|
public void addScriptErrorListener(ScriptErrorListener listener)
listener - the script error listener.public void removeScriptErrorListener(ScriptErrorListener listener)
listener - the script error listener.public java.util.List<ScriptErrorListener> getScriptErrorListeners()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||