public static interface

EditableWebView.OnContentChangedListener

android.webkit.EditableWebView.OnContentChangedListener

Class Overview

Interface definition for a callback to be invoked when content has been changed.

Summary

Constants
int REASON_COMPOSING_TEXT
int REASON_DELETE_TEXT
int REASON_INSERT_END
int REASON_INSERT_HTML_ANCHOR_SPAN
int REASON_INSERT_IMAGE
int REASON_INSERT_TEXT
int REASON_KEY_DOWN
int REASON_KEY_UP
Public Methods
abstract void onContentChanged(WebView wv, int reason)
Called when a WebView content has been changed.

Constants

public static final int REASON_COMPOSING_TEXT

Constant Value: 502 (0x000001f6)

public static final int REASON_DELETE_TEXT

Constant Value: 503 (0x000001f7)

public static final int REASON_INSERT_END

Constant Value: 544 (0x00000220)

public static final int REASON_INSERT_HTML_ANCHOR_SPAN

Constant Value: 548 (0x00000224)

public static final int REASON_INSERT_IMAGE

Constant Value: 510 (0x000001fe)

public static final int REASON_INSERT_TEXT

Constant Value: 501 (0x000001f5)

public static final int REASON_KEY_DOWN

Constant Value: 103 (0x00000067)

public static final int REASON_KEY_UP

Constant Value: 104 (0x00000068)

Public Methods

public abstract void onContentChanged (WebView wv, int reason)

Called when a WebView content has been changed.

Parameters
wv The WebView which it's content has been changed.
reason the Message ID which trigger this content changed