Method Detail

clone()

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()

override public function toString():String

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

DOCUMENT_LOAD_COMMITTED

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_FINISHED

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_LOADED

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_ENTER

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_ENTERING

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.