Package | com.myflashlab.air.extensions.richWebView.android |
Class | public class WebViewEvents |
Inheritance | WebViewEvents flash.events.Event |
Property | Defined By | ||
---|---|---|---|
decision : Function [read-only]
call this function and pass a Boolean as the value. | WebViewEvents | ||
file : File [read-only] | WebViewEvents | ||
height : int [read-only] | WebViewEvents | ||
isOpen : Boolean [read-only] | WebViewEvents | ||
item : int [read-only] | WebViewEvents | ||
msg : String [read-only] | WebViewEvents | ||
progress : int [read-only] | WebViewEvents | ||
state : int [read-only] | WebViewEvents | ||
url : String [read-only] | WebViewEvents | ||
value : String [read-only] | WebViewEvents | ||
width : int [read-only] | WebViewEvents | ||
x : Number [read-only] | WebViewEvents | ||
y : Number [read-only] | WebViewEvents |
Method | Defined By | ||
---|---|---|---|
WebViewEvents($type:String, $url:String = null, $decision:Function = null, $value:String = null, $file:File = null, $width:int = -1, $height:int = -1, $msg:String = null, $progress:int = -1, $x:Number, $y:Number, $state:int = -1, $item:int = -1, $isOpen:Boolean = false) | WebViewEvents |
Constant | Defined By | ||
---|---|---|---|
BACK_PRESSED : String = onBackPressed [static] | WebViewEvents | ||
EMBEDDED_BROWSER_ACTION : String = onEmbeddedBrowserAction [static] | WebViewEvents | ||
EMBEDDED_BROWSER_NAVIGATION_EVENT : String = onEmbeddedBrowserNavigationEvent [static] | WebViewEvents | ||
ERROR : String = onReceivedError [static] | WebViewEvents | ||
ERROR_SSL : String = onReceivedSslError [static] | WebViewEvents | ||
EVALUATE_JS : String = onEvaluateJs [static] | WebViewEvents | ||
KEYBOARD_VISIBILITY : String = onKeyboardVisibility [static]
Attach a listener to RichWebView.android.addEventListener(WebViewEvents.KEYBOARD_VISIBILITY, callback);
| WebViewEvents | ||
PAGE_FINISHED : String = onPageFinished [static] | WebViewEvents | ||
PAGE_PROGRESS : String = onPageProgress [static] | WebViewEvents | ||
PAGE_STARTED : String = onPageStarted [static] | WebViewEvents | ||
PAGE_STARTING : String = onPageStarting [static] | WebViewEvents | ||
RECEIVED_MESSAGE_FROM_JS : String = fromJS [static] | WebViewEvents | ||
SAFE_BROWSING_WHITE_LIST : String = onSafeBrowsingWhitelist [static] | WebViewEvents | ||
SAVE_WEB_ARCHIVE : String = onSaveWebArchive [static] | WebViewEvents | ||
SCREENSHOT : String = onScreenshot [static] | WebViewEvents | ||
SCROLLING : String = onScrolling [static] | WebViewEvents | ||
START_SAFE_BROWSING : String = onStartSafeBrowsing [static] | WebViewEvents | ||
TOUCH : String = onTouch [static] | WebViewEvents |
decision | property |
decision:Function
[read-only]
call this function and pass a Boolean as the value. If you pass true
, the url will be loaded
normally. If you want to stop the url from being loaded, simply pass false
public function get decision():Function
file | property |
file:File
[read-only] public function get file():File
height | property |
height:int
[read-only] public function get height():int
isOpen | property |
isOpen:Boolean
[read-only] public function get isOpen():Boolean
item | property |
item:int
[read-only] public function get item():int
msg | property |
msg:String
[read-only] public function get msg():String
progress | property |
progress:int
[read-only] public function get progress():int
state | property |
state:int
[read-only] public function get state():int
url | property |
url:String
[read-only] public function get url():String
value | property |
value:String
[read-only] public function get value():String
width | property |
width:int
[read-only] public function get width():int
x | property |
x:Number
[read-only] public function get x():Number
y | property |
y:Number
[read-only] public function get y():Number
WebViewEvents | () | Constructor |
public function WebViewEvents($type:String, $url:String = null, $decision:Function = null, $value:String = null, $file:File = null, $width:int = -1, $height:int = -1, $msg:String = null, $progress:int = -1, $x:Number, $y:Number, $state:int = -1, $item:int = -1, $isOpen:Boolean = false)
$type:String | |
$url:String (default = null )
| |
$decision:Function (default = null )
| |
$value:String (default = null )
| |
$file:File (default = null )
| |
$width:int (default = -1 )
| |
$height:int (default = -1 )
| |
$msg:String (default = null )
| |
$progress:int (default = -1 )
| |
$x:Number (default = NaN )
| |
$y:Number (default = NaN )
| |
$state:int (default = -1 )
| |
$item:int (default = -1 )
| |
$isOpen:Boolean (default = false )
|
BACK_PRESSED | Constant |
public static const BACK_PRESSED:String = onBackPressed
EMBEDDED_BROWSER_ACTION | Constant |
public static const EMBEDDED_BROWSER_ACTION:String = onEmbeddedBrowserAction
EMBEDDED_BROWSER_NAVIGATION_EVENT | Constant |
public static const EMBEDDED_BROWSER_NAVIGATION_EVENT:String = onEmbeddedBrowserNavigationEvent
ERROR | Constant |
public static const ERROR:String = onReceivedError
ERROR_SSL | Constant |
public static const ERROR_SSL:String = onReceivedSslError
EVALUATE_JS | Constant |
public static const EVALUATE_JS:String = onEvaluateJs
KEYBOARD_VISIBILITY | Constant |
public static const KEYBOARD_VISIBILITY:String = onKeyboardVisibility
Attach a listener to RichWebView.android.addEventListener(WebViewEvents.KEYBOARD_VISIBILITY, callback);
PAGE_FINISHED | Constant |
public static const PAGE_FINISHED:String = onPageFinished
PAGE_PROGRESS | Constant |
public static const PAGE_PROGRESS:String = onPageProgress
PAGE_STARTED | Constant |
public static const PAGE_STARTED:String = onPageStarted
PAGE_STARTING | Constant |
public static const PAGE_STARTING:String = onPageStarting
RECEIVED_MESSAGE_FROM_JS | Constant |
public static const RECEIVED_MESSAGE_FROM_JS:String = fromJS
SAFE_BROWSING_WHITE_LIST | Constant |
public static const SAFE_BROWSING_WHITE_LIST:String = onSafeBrowsingWhitelist
SAVE_WEB_ARCHIVE | Constant |
public static const SAVE_WEB_ARCHIVE:String = onSaveWebArchive
SCREENSHOT | Constant |
public static const SCREENSHOT:String = onScreenshot
SCROLLING | Constant |
public static const SCROLLING:String = onScrolling
START_SAFE_BROWSING | Constant |
public static const START_SAFE_BROWSING:String = onStartSafeBrowsing
TOUCH | Constant |
public static const TOUCH:String = onTouch