FileDocCategorySizeDatePackage
WebView.javaAPI DocAndroid 5.1 API5331Thu Mar 12 22:22:44 GMT 2015android.webkit

WebView

public class WebView extends com.android.layoutlib.bridge.MockView
Mock version of the WebView. Only non override public methods from the real WebView have been added in there. Methods that take an unknown class as parameter or as return object, have been removed for now. TODO: generate automatically.

Fields Summary
Constructors Summary
public WebView(android.content.Context context)
Construct a new WebView with a Context object.

param
context A Context object used to access application assets.

        this(context, null);
    
public WebView(android.content.Context context, android.util.AttributeSet attrs)
Construct a new WebView with layout parameters.

param
context A Context object used to access application assets.
param
attrs An AttributeSet passed to our parent.

        this(context, attrs, com.android.internal.R.attr.webViewStyle);
    
public WebView(android.content.Context context, android.util.AttributeSet attrs, int defStyle)
Construct a new WebView with layout parameters and a default style.

param
context A Context object used to access application assets.
param
attrs An AttributeSet passed to our parent.
param
defStyle The default style resource ID.

        super(context, attrs, defStyle);
    
Methods Summary
public voidaddJavascriptInterface(java.lang.Object obj, java.lang.String interfaceName)

    
public booleancanGoBack()

        return false;
    
public booleancanGoBackOrForward(int steps)

        return false;
    
public booleancanGoForward()

        return false;
    
public android.graphics.PicturecapturePicture()

        return null;
    
public voidclearCache()

    
public voidclearFormData()

    
public voidclearHistory()

    
public voidclearSslPreferences()

    
public voidclearView()

    
public voiddestroy()

    
public static voiddisablePlatformNotifications()

    
public voiddocumentHasImages(android.os.Message response)

    
public static voidenablePlatformNotifications()

    
public static java.lang.StringfindAddress(java.lang.String addr)

        return null;
    
public intgetContentHeight()

        return 0;
    
public android.graphics.BitmapgetFavicon()

        return null;
    
public java.lang.String[]getHttpAuthUsernamePassword(java.lang.String host, java.lang.String realm)

        return null;
    
public intgetProgress()

        return 0;
    
public floatgetScale()

        return 0;
    
public java.lang.StringgetTitle()

        return null;
    
public java.lang.StringgetUrl()

        return null;
    
public android.view.ViewgetZoomControls()

        return null;
    
public voidgoBack()

    
public voidgoBackOrForward(int steps)

    
public voidgoForward()

    
public voidinvokeZoomPicker()

    
public voidloadData(java.lang.String data, java.lang.String mimeType, java.lang.String encoding)

    
public voidloadDataWithBaseURL(java.lang.String baseUrl, java.lang.String data, java.lang.String mimeType, java.lang.String encoding, java.lang.String failUrl)

    
public voidloadUrl(java.lang.String url)

    
public booleanoverlayHorizontalScrollbar()

        return false;
    
public booleanoverlayVerticalScrollbar()

        return false;
    
public booleanpageDown(boolean bottom)

        return false;
    
public booleanpageUp(boolean top)

        return false;
    
public voidpauseTimers()

    
public voidreload()

    
public voidrequestFocusNodeHref(android.os.Message hrefMsg)

    
public voidrequestImageRef(android.os.Message msg)

    
public voidresumeTimers()

    
public voidsavePassword(java.lang.String host, java.lang.String username, java.lang.String password)

    
public voidsetDownloadListener(DownloadListener listener)

    
public voidsetHorizontalScrollbarOverlay(boolean overlay)

    
public voidsetHttpAuthUsernamePassword(java.lang.String host, java.lang.String realm, java.lang.String username, java.lang.String password)

    
public voidsetInitialScale(int scaleInPercent)

    
public voidsetVerticalScrollbarOverlay(boolean overlay)

    
public voidsetWebChromeClient(WebChromeClient client)

    
public voidsetWebViewClient(WebViewClient client)

    
public voidstopLoading()

    
public booleanzoomIn()

        return false;
    
public booleanzoomOut()

        return false;