WebReader
WebReader
Events:
- OnDrag (DeltaX As Float, DeltaY As Float, MotionEvent As Object)
- OnFling (DistanceX As Float, DistanceY As Float, VelocityX As Float, VelocityY As Float, MotionEvent1 As Object, MotionEvent2 As Object) As Boolean
- OnHorizontalFling (DistanceX As Float, VelocityX As Float, MotionEvent1 As Object, MotionEvent2 As Object) As Boolean
- OnHorizontalScroll (DistanceX As Float, MotionEvent1 As Object, MotionEvent2 As Object) As Boolean
- OnPinchClose (Distance As Float, PreviousDistance As Float, MotionEvent As Object)
- OnPinchOpen (Distance As Float, PreviousDistance As Float, MotionEvent As Object)
- OnScroll (DistanceX As Float, DistanceY As Float, MotionEvent1 As Object, MotionEvent2 As Object) As Boolean
- OnTouch (Action As Int, X As Float, Y As Float, MotionEvent As Object) As Boolean
- OverrideUrl (Url As String) As Boolean
- PageFinished (Url As String)
- UserAndPasswordRequired (Host As String, Realm As String) As String()
Fields:
- NARROW_COLUMNS As String
- NORMAL As String
- TEXT_AUTOSIZING As String
Methods:
- Back
- BringToFront
- CaptureBitmap As Bitmap
- DesignerCreateView (base As Panel, lw As Label, props As Map)
- Forward
- Initialize (EventPrefix As String)
- Invalidate
- Invalidate2 (arg0 As Rect)
- Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
- IsInitialized As Boolean
- LoadHtml (arg0 As String)
- LoadUrl (arg0 As String)
- PageDown
Scrolls the contents of this WebView down by half the page size.
- PageUp
Scrolls the contents of this WebView up by half the view size.
- RemoveView
- RequestFocus As Boolean
- ScrollTo (X As Int, Y As Int)
Sets the scrolled position of this WebView.
- SendToBack
- SetBackgroundImage (arg0 As Bitmap)
- SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int)
- SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
- SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int)
- SetVisibleAnimated (arg0 As Int, arg1 As Boolean)
- StopLoading
- Zoom (arg0 As Boolean) As Boolean
Properties:
- Background As Drawable
- Color As Int [write only]
- Enabled As Boolean
- Height As Int
- InitialScale As Int [write only]
Sets the initial scale for this WebView. 0 means default.
- JavaScriptEnabled As Boolean
- LayoutAlgorithm As String
Gets or sets the underlying layout algorithm (NARROW_COLUMNS, NORMAL or TEXT_AUTOSIZING). This will cause a relayout of the WebView. The default is NARROW_COLUMNS.
- Left As Int
- LoadWithOverviewMode As Boolean
Gets or sets whether the WebView loads pages in overview mode, that is, zooms out the content to fit on screen by width. The default is False.
- MinimumFontSize As Int
Gets or sets the minimum font size. The default is 8.
- Parent As Object [read only]
- ScrollX As Int [read only]
Returns the scrolled left position of this WebView.
- ScrollY As Int [read only]
Returns the scrolled top position of this WebView.
- Settings As WebSettings [read only]
Gets the WebSettings object used to control the WebView settings. To be used with the JavaObject library.
- Tag As Object
- TextZoom As Int
Gets or sets the text zoom of the page in percent. The default is 100.
- Top As Int
- Url As String [read only]
- UseViewportMetaTag As Boolean
Gets or sets whether the WebView supports the "viewport" HTML meta tag or will use a wide viewport.
- Visible As Boolean
- Width As Int
- ZoomEnabled As Boolean
Author: F. Leneuf-Magaud/Informatix