| Package | qnx.events |
| Class | public class ContentRenderedEvent |
| Inheritance | ContentRenderedEvent flash.events.Event |
QNXStageWebView object dispatches a ContentRenderedEvent object when
content of the page is re-rendered.
There is only one type of ContentRenderedEvent:
ContentRenderedEvent.CONTENT_RENDERED: dispatched after content changes. Cannot be cancelled.See also
| Property | Defined By | ||
|---|---|---|---|
| changeRectangle : Rectangle
The rectangle that bounds the changed area. | ContentRenderedEvent | ||
| Method | Defined By | ||
|---|---|---|---|
ContentRenderedEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, changeRect:Rectangle = null)
Creates a JavaScriptCallbackEvent object. | ContentRenderedEvent | ||
clone():Event [override]
Duplicates an instance of an Event subclass. | ContentRenderedEvent | ||
toString():String [override]
Returns a string that contains all the properties of the ContentRenderedEvent object. | ContentRenderedEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| CONTENT_RENDERED : String = contentRendered [static]
Dispatched when an unknown protocol has been requested that could not be handled by
networking. | ContentRenderedEvent | ||
| changeRectangle | property |
changeRectangle:RectangleThe rectangle that bounds the changed area.
public function get changeRectangle():Rectangle public function set changeRectangle(value:Rectangle):void| ContentRenderedEvent | () | Constructor |
public function ContentRenderedEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, changeRect:Rectangle = null)
Creates a JavaScriptCallbackEvent object.
type:String | |
bubbles:Boolean (default = false) | |
cancelable:Boolean (default = false) | |
changeRect:Rectangle (default = null) |
| clone | () | method |
override public function clone():EventDuplicates 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.
Event |
| toString | () | method |
override public function toString():String
Returns a string that contains all the properties of the ContentRenderedEvent object.
The string is in the following format:
[ContentRenderedEvent type=value bubbles=value
cancelable=value eventPhase=value url=value
String |
| CONTENT_RENDERED | Constant |
public static const CONTENT_RENDERED:String = contentRenderedDispatched when an unknown protocol has been requested that could not be handled by networking. The url property of the event indicates the target URL.