| Package | qnx.events |
| Class | public class WebFilterUpdatedEvent |
| Inheritance | WebFilterUpdatedEvent flash.events.Event |
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.See also
| Property | Defined By | ||
|---|---|---|---|
| allow : Boolean
Specifies if the mask is allowed or denied. | WebFilterUpdatedEvent | ||
| mask : String
The filtered mask (e.g. | WebFilterUpdatedEvent | ||
| Method | Defined 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 | ||
| Constant | Defined 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 | ||
| allow | property |
allow:BooleanSpecifies if the mask is allowed or denied.
public function get allow():Boolean public function set allow(value:Boolean):void| mask | property |
mask:StringThe filtered mask (e.g. hostname or url)
public function get mask():String public function set mask(value:String):void| WebFilterUpdatedEvent | () | Constructor |
public function WebFilterUpdatedEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, mask:String, allow:Boolean = false)Creates a WebFilterUpdatedEvent object.
Parameterstype:String | |
bubbles:Boolean (default = false) | |
cancelable:Boolean (default = false) | |
mask:String | |
allow:Boolean (default = false) |
| 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():StringReturns 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
String |
| GEOLOCATION_FILTER_UPDATED | Constant |
public static const GEOLOCATION_FILTER_UPDATED:String = geolocationFilterUpdatedSignals that the geolocation filter list has been updated.
| WEBGL_FILTER_UPDATED | Constant |
public static const WEBGL_FILTER_UPDATED:String = webGLFilterUpdatedSignals that the WebGL filter list has been updated.