Packagecom.myflashlab.air.extensions.richWebView.android
Classpublic class WebViewEvents
InheritanceWebViewEvents Inheritance flash.events.Event



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined 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
Public Constants
 ConstantDefined 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
Property Detail
decisionproperty
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


Implementation
    public function get decision():Function
fileproperty 
file:File  [read-only]


Implementation
    public function get file():File
heightproperty 
height:int  [read-only]


Implementation
    public function get height():int
isOpenproperty 
isOpen:Boolean  [read-only]


Implementation
    public function get isOpen():Boolean
itemproperty 
item:int  [read-only]


Implementation
    public function get item():int
msgproperty 
msg:String  [read-only]


Implementation
    public function get msg():String
progressproperty 
progress:int  [read-only]


Implementation
    public function get progress():int
stateproperty 
state:int  [read-only]


Implementation
    public function get state():int
urlproperty 
url:String  [read-only]


Implementation
    public function get url():String
valueproperty 
value:String  [read-only]


Implementation
    public function get value():String
widthproperty 
width:int  [read-only]


Implementation
    public function get width():int
xproperty 
x:Number  [read-only]


Implementation
    public function get x():Number
yproperty 
y:Number  [read-only]


Implementation
    public function get y():Number
Constructor Detail
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)



Parameters
$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)
Constant Detail
BACK_PRESSEDConstant
public static const BACK_PRESSED:String = onBackPressed

EMBEDDED_BROWSER_ACTIONConstant 
public static const EMBEDDED_BROWSER_ACTION:String = onEmbeddedBrowserAction

EMBEDDED_BROWSER_NAVIGATION_EVENTConstant 
public static const EMBEDDED_BROWSER_NAVIGATION_EVENT:String = onEmbeddedBrowserNavigationEvent

ERRORConstant 
public static const ERROR:String = onReceivedError

ERROR_SSLConstant 
public static const ERROR_SSL:String = onReceivedSslError

EVALUATE_JSConstant 
public static const EVALUATE_JS:String = onEvaluateJs

KEYBOARD_VISIBILITYConstant 
public static const KEYBOARD_VISIBILITY:String = onKeyboardVisibility

Attach a listener to RichWebView.android.addEventListener(WebViewEvents.KEYBOARD_VISIBILITY, callback);

PAGE_FINISHEDConstant 
public static const PAGE_FINISHED:String = onPageFinished

PAGE_PROGRESSConstant 
public static const PAGE_PROGRESS:String = onPageProgress

PAGE_STARTEDConstant 
public static const PAGE_STARTED:String = onPageStarted

PAGE_STARTINGConstant 
public static const PAGE_STARTING:String = onPageStarting

RECEIVED_MESSAGE_FROM_JSConstant 
public static const RECEIVED_MESSAGE_FROM_JS:String = fromJS

SAFE_BROWSING_WHITE_LISTConstant 
public static const SAFE_BROWSING_WHITE_LIST:String = onSafeBrowsingWhitelist

SAVE_WEB_ARCHIVEConstant 
public static const SAVE_WEB_ARCHIVE:String = onSaveWebArchive

SCREENSHOTConstant 
public static const SCREENSHOT:String = onScreenshot

SCROLLINGConstant 
public static const SCROLLING:String = onScrolling

START_SAFE_BROWSINGConstant 
public static const START_SAFE_BROWSING:String = onStartSafeBrowsing

TOUCHConstant 
public static const TOUCH:String = onTouch