Packageqnx.events
Classpublic class WebViewEvent
InheritanceWebViewEvent Inheritance flash.events.Event

A QNXStageWebView object dispatches a WebViewEvent object when an asynchronus event occurs.

There are several types of ExtendedLocationChangeEvent:

See also

QNXStageWebView


Public Methods
 MethodDefined By
  
WebViewEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Creates an ExtendedLocationChangeEvent object.
WebViewEvent
  
clone():Event
[override] Duplicates an instance of an Event subclass.
WebViewEvent
  
toString():String
[override] Returns a string that contains all the properties of the ExtendedLocationChangeEvent object.
WebViewEvent
Public Constants
 ConstantDefined By
  CREATED : String = created
[static] Dispatched when the QNXStageWebView object is created.
WebViewEvent
  DESTROYED : String = destroyed
[static] Dispatched when the QNXStageWebView object has been destroyed.
WebViewEvent
  DOCUMENT_LOAD_COMMITTED : String = documentLoadCommitted
[static] Dispatched when the application receives a response from the server indicating a location change and page load operation.
WebViewEvent
  DOCUMENT_LOADED : String = documentLoaded
[static] Dispatched when the javascript document.onload event is fired.
WebViewEvent
  DOCUMENT_LOAD_FAILED : String = documentLoadFailed
[static] Dispatched when a document load operation fails.
WebViewEvent
  DOCUMENT_LOAD_FINISHED : String = documentLoadFinished
[static] Dispatched when a document load operation has finished.
WebViewEvent
  FULL_SCREEN_ENTER : String = fullScreenEnter
[static] Dispatched when the browser (or plugin) has entered full screen mode.
WebViewEvent
  FULL_SCREEN_ENTERING : String = fullScreenEntering
[static] Dispatched when the browser (or plugin) is about to enter full screen mode.
WebViewEvent
  FULL_SCREEN_EXIT : String = fullScreenExit
[static] Dispatched when the browser (or plugin) has exited full screen mode.
WebViewEvent
  JAVA_SCRIPT_INTERRUPTED : String = javaScriptInterrupted
[static] Dispatched when a long running JavaScript instance has been interrupted.
WebViewEvent
Constructor Detail
WebViewEvent()Constructor
public function WebViewEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)

Creates an ExtendedLocationChangeEvent object.

Parameters
type:String
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
Method Detail
clone()method
override public function clone():Event

Duplicates an instance of an Event subclass.

Returns a new Event object that is a copy of the original instance of the Event object. You do not normally call clone(); the EventDispatcher class calls it automatically when you redispatch an event—that is, when you call dispatchEvent(event) from a handler that is handling event.

The new Event object includes all the properties of the original.

When creating your own custom Event class, you must override the inherited Event.clone() method in order for it to duplicate the properties of your custom class. If you do not set all the properties that you add in your event subclass, those properties will not have the correct values when listeners handle the redispatched event.

Returns
Event
toString()method 
override public function toString():String

Returns a string that contains all the properties of the ExtendedLocationChangeEvent object. The string is in the following format:

[ExtendedLocationChangeEvent type=value bubbles=value cancelable=value eventPhase=value location=value reason=value

Returns
String
Constant Detail
CREATEDConstant
public static const CREATED:String = created

Dispatched when the QNXStageWebView object is created.

DESTROYEDConstant 
public static const DESTROYED:String = destroyed

Dispatched when the QNXStageWebView object has been destroyed.

DOCUMENT_LOAD_COMMITTEDConstant 
public static const DOCUMENT_LOAD_COMMITTED:String = documentLoadCommitted

Dispatched when the application receives a response from the server indicating a location change and page load operation. After this event is fired, you must call back to get back to the old page. Calling stop will interrupt the loading of this page, and will leave the page in its state at the time of the stop call.

DOCUMENT_LOAD_FAILEDConstant 
public static const DOCUMENT_LOAD_FAILED:String = documentLoadFailed

Dispatched when a document load operation fails.

DOCUMENT_LOAD_FINISHEDConstant 
public static const DOCUMENT_LOAD_FINISHED:String = documentLoadFinished

Dispatched when a document load operation has finished. This event may never be sent as it is possible for a page to never complete loading.

DOCUMENT_LOADEDConstant 
public static const DOCUMENT_LOADED:String = documentLoaded

Dispatched when the javascript document.onload event is fired. This event will be fired after a given timeout period expires, even if the qnx.events.WebViewEvent.DOCUMENT_LOAD_FINISHED event is never fired.

FULL_SCREEN_ENTERConstant 
public static const FULL_SCREEN_ENTER:String = fullScreenEnter

Dispatched when the browser (or plugin) has entered full screen mode. You may stop any animations or processes that the user does not need to unload the CPU while the application is in fullscreen mode.

FULL_SCREEN_ENTERINGConstant 
public static const FULL_SCREEN_ENTERING:String = fullScreenEntering

Dispatched when the browser (or plugin) is about to enter full screen mode. Cancel this event to prevent it from entering fullscreen.

FULL_SCREEN_EXITConstant 
public static const FULL_SCREEN_EXIT:String = fullScreenExit

Dispatched when the browser (or plugin) has exited full screen mode.

JAVA_SCRIPT_INTERRUPTEDConstant 
public static const JAVA_SCRIPT_INTERRUPTED:String = javaScriptInterrupted

Dispatched when a long running JavaScript instance has been interrupted. To increase the timeout, set the javaScriptInterruptTimeout property.