qnx.events.WebFilterUpdatedEvent

WebFilterUpdatedEvent

Properties | Methods | Constants


Packageqnx.events
Classpublic class WebFilterUpdatedEvent
InheritanceWebFilterUpdatedEvent Inheritance flash.events.Event

A QNXStageWebView object dispatches a WebFilterUpdatedEvent object when a web filter has been added or changed in the webview. Filtering is generally done by URL.

These are the possible types of WebFilterUpdatedEvent:

  • WebFilterUpdatedEvent.GEOLOCATION_FILTER_UPDATED: dispatched when a geolocation filter has been updated. Cannot be cancelled.
  • WebFilterUpdatedEvent.WEBGL_FILTER_UPDATED: dispatched when a webGL filter has been updated. Cannot be cancelled.


Class information:
PlayBook Tablet OS Version:   1.0.6

See also

QNXStageWebView



Public Properties

 PropertyDefined By
  allow : Boolean
Specifies if the mask is allowed or denied.
WebFilterUpdatedEvent
  mask : String
The filtered mask (e.g.
WebFilterUpdatedEvent

Public Methods

 MethodDefined By
  
WebFilterUpdatedEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, mask:String, allow:Boolean = false)
Creates a WebFilterUpdatedEvent object.
WebFilterUpdatedEvent
  
clone():Event
[override] Duplicates an instance of an Event subclass.
WebFilterUpdatedEvent
  
toString():String
[override] Returns a string that contains all the properties of the WebFilterUpdatedEvent object.
WebFilterUpdatedEvent

Public Constants

 ConstantDefined By
  GEOLOCATION_FILTER_UPDATED : String = geolocationFilterUpdated
[static] Signals that the geolocation filter list has been updated.
WebFilterUpdatedEvent
  WEBGL_FILTER_UPDATED : String = webGLFilterUpdated
[static] Signals that the WebGL filter list has been updated.
WebFilterUpdatedEvent

Property Detail

allow


allow:Boolean

Specifies if the mask is allowed or denied.


Implementation

public function get allow():Boolean
public function set allow(value:Boolean):void

mask


mask:String

The filtered mask (e.g. hostname or url)


Implementation

public function get mask():String
public function set mask(value:String):void

Constructor Detail

WebFilterUpdatedEvent()


public function WebFilterUpdatedEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, mask:String, allow:Boolean = false)

Creates a WebFilterUpdatedEvent object.

Parameters

type:String
bubbles:Boolean (default = false)
cancelable:Boolean (default = false)
mask:String
allow:Boolean (default = false)

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 WebFilterUpdatedEvent object. The string is in the following format:

[WebFilterUpdatedEvent type=value bubbles=value cancelable=value eventPhase=value mask=value allow=value

Returns

String

Constant Detail

GEOLOCATION_FILTER_UPDATED


public static const GEOLOCATION_FILTER_UPDATED:String = geolocationFilterUpdated

Signals that the geolocation filter list has been updated.

WEBGL_FILTER_UPDATED


public static const WEBGL_FILTER_UPDATED:String = webGLFilterUpdated

Signals that the WebGL filter list has been updated.