WebEngine.
| Modifier and Type | Method and Description |
|---|---|
| public Callback | Returns: the message callback object registered with the debugger, ornull if there is no such object.Returns the message callback object registered with the debugger. |
| public boolean | Returns: true if the debugger is enabled,
false otherwise.Determines whether the debugger is enabled. |
| public void | sendMessage(String
the message to be sent to the debugger.
May not be message)null.Sends a message to the debugger. |
| public void | setEnabled(boolean
specifies whether the debugger should be enabled
or disabled. enabled)Enables or disables the debugger. |
| public void | setMessageCallback(Callback<String, Void>
the message callback object to be registered with
the debugger. May be callback)null.Registers a message callback object with the debugger. |
| getMessageCallback | back to summary |
|---|---|
| public Callback Returns the message callback object registered with the debugger.
The debugger calls the message callback object's
| |
| isEnabled | back to summary |
|---|---|
| public boolean isEnabled() Determines whether the debugger is enabled.
A debugger's
| |
| sendMessage | back to summary |
|---|---|
| public void sendMessage(String message) Sends a message to the debugger. The message is a text string in the format specified by the WebKit Remote Debugging Protocol. This method may only be called while the debugger is enabled.
| |
| setEnabled | back to summary |
|---|---|
| public void setEnabled(boolean enabled) Enables or disables the debugger.
A debugger's
This method has no effect
if the
| |
| setMessageCallback | back to summary |
|---|---|
| public void setMessageCallback(Callback<String, Void> callback) Registers a message callback object with the debugger.
The debugger calls the message callback object's
| |