Adobe® Flash® Platform için ActionScript® 3.0 Başvurusu
Ana Sayfa  |  Paket ve Sınıf Listesini Gizle |  Paketler  |  Sınıflar  |  Yenilikler  |  Dizin  |  Ekler  |  Niçin İngilizce?
Filtreler: Sunucudan Veri Alınıyor...
Sunucudan Veri Alınıyor...
mx.events 

CloseEvent  - AS3 Flex

Paketmx.events
Sınıfpublic class CloseEvent
Miras AlmaCloseEvent Inheritance Event Inheritance 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

The CloseEvent class represents event objects specific to popup windows, such as the Alert control.

İlgili API Öğeleri



Genel Özellikler
 ÖzellikTanımlayan:
 Inheritedbubbles : Boolean
[salt okunur] Bir olayın köpüren bir olay olup olmadığını belirtir.
Event
 Inheritedcancelable : Boolean
[salt okunur] Olayla ilişkilendirilmiş davranışın önlenebilir olup olmadığını gösterir.
Event
 Inheritedconstructor : Object
Belirli bir nesne örneği için sınıf nesnesine veya yapıcı işlevine bir başvuru.
Object
 InheritedcurrentTarget : Object
[salt okunur] Bu Event nesnesini olay dinleyicisiyle etkin olarak işleyen nesne.
Event
  detail : int
Identifies the button in the popped up control that was clicked.
CloseEvent
 InheritedeventPhase : uint
[salt okunur] Olay akışındaki geçerli aşama.
Event
 Inheritedtarget : Object
[salt okunur] Olay hedefi.
Event
 Inheritedtype : String
[salt okunur] Olay türü.
Event
Genel Yöntemler
 YöntemTanımlayan:
  
CloseEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, detail:int = -1)
Constructor.
CloseEvent
 Inherited
Event alt sınıfının bir örneğini çoğaltır.
Event
 Inherited
formatToString(className:String, ... arguments):String
Özel ActionScript 3.0 Event sınıfınızdaki toString() yöntemini uygulamak için bir yardımcı işlev.
Event
 Inherited
Bir nesnenin belirli bir özelliğinin tanımlı olup olmadığını gösterir.
Object
 Inherited
Olayda preventDefault() öğesinin çağrılmış olup olmadığını kontrol eder.
Event
 Inherited
Object sınıfının bir örneğinin parametre olarak belirtilen nesnenin prototip zincirinde olup olmadığını gösterir.
Object
 Inherited
Bir olayın varsayılan davranışını, bu yapılabiliyorsa iptal eder.
Event
 Inherited
Belirtilen özelliğin bulunup bulunmadığını ve numaralandırılabilir olup olmadığını gösterir.
Object
 Inherited
Dinamik bir özelliğin döngü işlemlerinde kullanılabilirliğini ayarlar.
Object
 Inherited
Olay akışında geçerli düğümdeki ve ondan sonra gelen düğümlerdeki olay dinleyicilerin işlenmesini engeller.
Event
 Inherited
Olay akışında geçerli düğümden sonra gelen düğümlerdeki olay dinleyicilerin işlenmesini engeller.
Event
 Inherited
Bu nesnenin, yerel ayara özel kurallara göre biçimlendirilmiş dize temsilini döndürür.
Object
 Inherited
Event nesnesinin tüm özelliklerini içeren bir dize döndürülür.
Event
 Inherited
Belirtilen nesnenin temel değerini döndürür.
Object
Genel Sabitler
 SabitTanımlayan:
  CLOSE : String = "close"
[statik] The CloseEvent.CLOSE constant defines the value of the type property of the event object for a close event.
CloseEvent
Özellik Ayrıntısı

detail

özellik
public var detail:int

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

Identifies the button in the popped up control that was clicked. This property is for controls with multiple buttons. The Alert control sets this property to one of the following constants:

  • Alert.YES
  • Alert.NO
  • Alert.OK
  • Alert.CANCEL

Yapıcı Ayrıntı

CloseEvent

()Yapıcı
public function CloseEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, detail:int = -1)

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

Constructor.

Parametreler
type:String — The event type; indicates the action that caused the event.
 
bubbles:Boolean (default = false) — Specifies whether the event can bubble up the display list hierarchy.
 
cancelable:Boolean (default = false) — Specifies whether the behavior associated with the event can be prevented.
 
detail:int (default = -1) — Value of the detail property; identifies the button in the popped up control that was clicked.
Sabit Ayrıntısı

CLOSE

Sabit
public static const CLOSE:String = "close"

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

The CloseEvent.CLOSE constant defines the value of the type property of the event object for a close event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
detailFor controls with multiple buttons, detail identifies the button in the popped up control that was clicked.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.





[ X ]Niçin İngilizce?
ActionScript 3.0 Başvurusu'ndaki içerik İngilizce görünür

ActionScript 3.0 Başvurusu'nun tüm bölümleri tüm dillere çevrilmemiştir. Bir dil öğesi çevrilmediğinde İngilizce görünür. Örneğin, ga.controls.HelpBox sınıfı hiçbir dile çevrilmez. Bu nedenle, başvurunun Türkçe versiyonunda ga.controls.HelpBox sınıfı İngilizce görünür.