Paket | mx.events |
Sınıf | public class EventListenerRequest |
Miras Alma | EventListenerRequest SWFBridgeRequest Event Object |
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
data
property is not used. Only certain events
can be requested. When the event is triggered in the other application, that
event is re-dispatched through the bridge where the requesting
SystemManager picks up the event and redispatches it from itself.
In general, this request is generated because some other code called
the addEventListener()
method for one of the approved events on its SystemManager.
This request is also dispatched by SystemManager to allow the marshal implementation
to handle adding or removing listeners differently. When dispatched by the
SystemManager, the listener property is non-null;
Genel Özellikler
Özellik | Tanımlayan: | ||
---|---|---|---|
bubbles : Boolean [salt okunur]
Bir olayın köpüren bir olay olup olmadığını belirtir. | Event | ||
cancelable : Boolean [salt okunur]
Olayla ilişkilendirilmiş davranışın önlenebilir olup olmadığını gösterir. | Event | ||
constructor : Object
Belirli bir nesne örneği için sınıf nesnesine veya yapıcı işlevine bir başvuru. | Object | ||
currentTarget : Object [salt okunur]
Bu Event nesnesini olay dinleyicisiyle etkin olarak işleyen nesne. | Event | ||
data : Object
Data related to the event. | SWFBridgeRequest | ||
eventPhase : uint [salt okunur]
Olay akışındaki geçerli aşama. | Event | ||
eventType : String [salt okunur]
The type of the event to listen to. | EventListenerRequest | ||
listener : Function [salt okunur]
The method or function to call
| EventListenerRequest | ||
priority : int [salt okunur]
The priority parameter
to addEventListener(). | EventListenerRequest | ||
requestor : IEventDispatcher
The bridge that sent the message. | SWFBridgeRequest | ||
target : Object [salt okunur]
Olay hedefi. | Event | ||
type : String [salt okunur]
Olay türü. | Event | ||
useCapture : Boolean [salt okunur]
The useCapture parameter
to addEventListener(). | EventListenerRequest | ||
useWeakReference : Boolean [salt okunur]
The useWeakReference parameter
to addEventListener(). | EventListenerRequest |
Genel Yöntemler
Yöntem | Tanımlayan: | ||
---|---|---|---|
EventListenerRequest(type:String, bubbles:Boolean = false, cancelable:Boolean = true, eventType:String = null, listener:Function = null, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false)
Creates a new request to add or remove an event listener. | EventListenerRequest | ||
Event alt sınıfının bir örneğini çoğaltır. | Event | ||
Özel ActionScript 3.0 Event sınıfınızdaki toString() yöntemini uygulamak için bir yardımcı işlev. | Event | ||
Bir nesnenin belirli bir özelliğinin tanımlı olup olmadığını gösterir. | Object | ||
Olayda preventDefault() öğesinin çağrılmış olup olmadığını kontrol eder. | Event | ||
Object sınıfının bir örneğinin parametre olarak belirtilen nesnenin prototip zincirinde olup olmadığını gösterir. | Object | ||
[statik]
Marshals an event by copying the relevant parameters
from the event into a new event. | EventListenerRequest | ||
Bir olayın varsayılan davranışını, bu yapılabiliyorsa iptal eder. | Event | ||
Belirtilen özelliğin bulunup bulunmadığını ve numaralandırılabilir olup olmadığını gösterir. | Object | ||
Dinamik bir özelliğin döngü işlemlerinde kullanılabilirliğini ayarlar. | Object | ||
Olay akışında geçerli düğümdeki ve ondan sonra gelen düğümlerdeki olay dinleyicilerin işlenmesini engeller. | Event | ||
Olay akışında geçerli düğümden sonra gelen düğümlerdeki olay dinleyicilerin işlenmesini engeller. | Event | ||
Bu nesnenin, yerel ayara özel kurallara göre biçimlendirilmiş dize temsilini döndürür. | Object | ||
Event nesnesinin tüm özelliklerini içeren bir dize döndürülür. | Event | ||
Belirtilen nesnenin temel değerini döndürür. | Object |
Genel Sabitler
Sabit | Tanımlayan: | ||
---|---|---|---|
ADD_EVENT_LISTENER_REQUEST : String = "addEventListenerRequest" [statik]
Request to add an event listener. | EventListenerRequest | ||
REMOVE_EVENT_LISTENER_REQUEST : String = "removeEventListenerRequest" [statik]
Request to remove an event listener. | EventListenerRequest |
Özellik Ayrıntısı
eventType | özellik |
listener | özellik |
priority | özellik |
useCapture | özellik |
useWeakReference | özellik |
Yapıcı Ayrıntı
EventListenerRequest | () | Yapıcı |
public function EventListenerRequest(type:String, bubbles:Boolean = false, cancelable:Boolean = true, eventType:String = null, listener:Function = null, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false)
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Creates a new request to add or remove an event listener.
Parametrelertype:String — The event type; indicates the action that caused the event. Either EventListenerRequest.ADD
or EventListenerRequest.REMOVE .
| |
bubbles:Boolean (default = false ) — Specifies whether the event can bubble up the display list hierarchy.
| |
cancelable:Boolean (default = true ) — Specifies whether the behavior associated with the event can be prevented.
| |
eventType:String (default = null ) — The type of message you would normally pass to the addEventListener() method.
| |
listener:Function (default = null ) — Determines whether the listener works in the capture phase or the target and bubbling phases.
| |
useCapture:Boolean (default = false ) — The priority level of the event listener. Priorities are designated by a 32-bit integer.
| |
priority:int (default = 0 ) — Determines whether the reference to the listener is strong or weak.
| |
useWeakReference:Boolean (default = false )
|
İlgili API Öğeleri
Yöntem Ayrıntısı
marshal | () | yöntem |
public static function marshal(event:Event):EventListenerRequest
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Marshals an event by copying the relevant parameters from the event into a new event.
Parametreler
event:Event — The event to marshal.
|
EventListenerRequest — An EventListenerRequest that defines the new event.
|
Sabit Ayrıntısı
ADD_EVENT_LISTENER_REQUEST | Sabit |
public static const ADD_EVENT_LISTENER_REQUEST:String = "addEventListenerRequest"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Request to add an event listener.
REMOVE_EVENT_LISTENER_REQUEST | Sabit |
public static const REMOVE_EVENT_LISTENER_REQUEST:String = "removeEventListenerRequest"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Request to remove an event listener.
Tue Jun 12 2018, 01:09 PM Z