API Diff Specification
To Version: Android SDK 0.9_r1
From Version: Android SDK m5-rc14
Generated 2008.08.14 15:44

Class android.webkit.WebView

Added interfaces android.view.ViewGroup.OnHierarchyChangeListener, android.view.ViewTreeObserver.OnGlobalFocusChangeListener.

Removed Constructors
android.webkit(Context, AttributeSet, Map) Construct a new WebView with layout parameters.
android.webkit(Context, AttributeSet, Map, int)  
 

Added Constructors
WebView(Context, AttributeSet) Construct a new WebView with layout parameters.
WebView(Context, AttributeSet, int) Construct a new WebView with layout parameters and a default style.
 

Removed Methods
void clearAllUsernamesAndPasswords() Clear all the username and password pairs stored in the internal database.
void clearHttpAuthUsernamePassword() Clear the HTTP authorization data stored in response to HTTP authentication requests.
Bitmap createSnapshot(int, int, float) Create a snapshot of the page in the given width and height with the given scale.
String getFocusNodePath() Return a proper String depending on the type of the focus node.
int getZoomWidth() Return the current zoom width of the WebView.
boolean hasFormData() Returns true if there is any form data stored in this WebView's internal database.
boolean hasHttpAuthUsernamePassword() @return True iff we have any HTTP authentication data stored.
boolean hasUsernameAndPassword() Returns true if there is a username and password pair stored in the WebView's internal database.
void setWebBackForwardListClient(WebBackForwardListClient) Set the WebBackForwardListClient.
void setZoomWidth(int) Set a new zoom width for the WebView.
 

Added Methods
Picture capturePicture() Return a new picture that captures the current display of the webview.
void clearMatches() Clear the highlighting surrounding text matches created by findAll.
void clearView() Clear the view so that onDraw() will draw nothing but white background, and onMeasure() will return 0 if MeasureSpec is not MeasureSpec.EXACTLY
void debugDump()  
void documentHasImages(Message) Query the document to see if it contains any image references.
String findAddress(String) Return the first substring consisting of the address of a physical location.
void findAll(String, Message) Find all instances of find on the page and highlight them.
void flingScroll(int, int)  
SslCertificate getCertificate() @return The SSL certificate for the main top-level page or null if there is no certificate (the site is not secure).
int getContentHeight() @return the height of the HTML content.
HitTestResult getHitTestResult() Return a HitTestResult based on the current focus node.
PluginList getPluginList() Return the list of currently loaded plugins.
float getScale() Return the current scale of the WebView
View getZoomControls() Returns a view containing zoom controls i.e.
void onAnimationEnd()  
void onAnimationStart()  
void onChildViewAdded(View, View)  
void onChildViewRemoved(View, View)  
void onGlobalFocusChanged(View, View)  
boolean pageDown(boolean) Scroll the contents of the view down by half the page size
boolean pageUp(boolean) Scroll the contents of the view up by half the view size
void refreshPlugins(boolean) Signal the WebCore thread to refresh its list of plugins.
void requestImageRef(Message) Request the url of the image last touched by the user.
void setCertificate(SslCertificate) Sets the SSL certificate for the main top-level page.
void setInitialScale(int) Set the initial scale for the WebView.
void setMapTrackballToArrowKeys(boolean)  
void setPictureListener(PictureListener) Set the Picture listener.
boolean zoomIn() Perform zoom in in the webview
boolean zoomOut() Perform zoom out in the webview
 

Changed Methods
boolean dispatchKeyEvent(KeyEvent) Method was inherited from android.view.ViewGroup, but is now defined locally.  
boolean dispatchTouchEvent(MotionEvent) Method was locally defined, but is now inherited from ViewGroup. {@inheritDoc}
void onAttachedToWindow() Method was inherited from android.view.View, but is now defined locally.  
void onDetachedFromWindow() Method was inherited from android.view.View, but is now defined locally.  
boolean onTouchEvent(MotionEvent) Method was inherited from android.view.View, but is now defined locally.  
boolean onTrackballEvent(MotionEvent) Method was inherited from android.view.View, but is now defined locally.  
void onWindowFocusChanged(boolean) Method was inherited from android.view.View, but is now defined locally.  
void setBackgroundColor(int) Method was inherited from android.view.View, but is now defined locally. Set the background color.
 

Added Fields
String SCHEME_GEO URI scheme for map address
String SCHEME_MAILTO URI scheme for email address
String SCHEME_TEL URI scheme for telephone number
 

©2008 Google - Code Home - Site Terms of Service - Privacy Policy
Generated by JDiff