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...
spark.globalization.supportClasses 

GlobalizationBase  - AS3 Flex

Paketspark.globalization.supportClasses
Sınıfpublic class GlobalizationBase
Miras AlmaGlobalizationBase Inheritance AdvancedStyleClient Inheritance EventDispatcher Inheritance Object
Alt Sınıflar CollatorBase, DateTimeFormatter, GlobalizationValidatorBase, NumberFormatterBase, StringTools

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Flex 4.5
Çalışma Zamanı Sürümleri: Flash Player 10.1, AIR 2.5

This is a base class used for wrapper classes that make use of the flash.globalization classes for language and region specific formatting of dates, times, number, and currency amounts, string comparison and case conversion.

İlgili API Öğeleri



Genel Özellikler
 ÖzellikTanımlayan:
  actualLocaleIDName : String
[salt okunur] The name of the actual locale ID used by this class object.
GlobalizationBase
 InheritedclassName : String
[salt okunur] The name of the component class.
AdvancedStyleClient
 Inheritedconstructor : Object
Belirli bir nesne örneği için sınıf nesnesine veya yapıcı işlevine bir başvuru.
Object
 Inheritedid : String
The identity of the component.
AdvancedStyleClient
 InheritedinheritingStyles : Object
An object containing the inheritable styles for this non-visual style client instance.
AdvancedStyleClient
  lastOperationStatus : String
[salt okunur] The status of the most recent operation that this class object performed.
GlobalizationBase
 InheritedmoduleFactory : IFlexModuleFactory
A module factory is used as context for finding the style manager that controls the styles for this non-visual style client instance.
AdvancedStyleClient
 InheritednonInheritingStyles : Object
The beginning of this component's chain of non-inheriting styles.
AdvancedStyleClient
 InheritedstyleDeclaration : CSSStyleDeclaration
The style declaration that holds the inline styles declared by this object.
AdvancedStyleClient
 InheritedstyleManager : IStyleManager2
[salt okunur] Returns the StyleManager instance used by this component.
AdvancedStyleClient
 InheritedstyleName : Object
The source of this object's style values.
AdvancedStyleClient
 InheritedstyleParent : IAdvancedStyleClient
A component's parent is used to evaluate descendant selectors.
AdvancedStyleClient
Genel Yöntemler
 YöntemTanımlayan:
  
Constructor.
GlobalizationBase
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
EventDispatcher nesnesi olan bir olay dinleyici nesnesini, dinleyicinin bir olayın bildirimini alması için kaydeder.
EventDispatcher
 Inherited
Deletes a style property from this component instance.
AdvancedStyleClient
 Inherited
Olay akışına bir olay gönderir.
EventDispatcher
 Inherited
Returns an Array of CSSStyleDeclaration objects for the type selector that applies to this component, or null if none exist.
AdvancedStyleClient
  
getStyle(styleProp:String):*
[geçersiz kıl] Gets a style property that has been set anywhere in this component's style lookup chain.
GlobalizationBase
 Inherited
Returns true if currentCSSState is not null.
AdvancedStyleClient
 Inherited
EventDispatcher nesnesinin belirli bir olay türü için kayıtlı dinleyicisi olup olmadığını kontrol eder.
EventDispatcher
 Inherited
Bir nesnenin belirli bir özelliğinin tanımlı olup olmadığını gösterir.
Object
 Inherited
The initialized method is called when this class or a class that extends this class is used in an MXML declaration.
AdvancedStyleClient
 Inherited
Object sınıfının bir örneğinin parametre olarak belirtilen nesnenin prototip zincirinde olup olmadığını gösterir.
Object
 Inherited
Returns true if cssState matches currentCSSState.
AdvancedStyleClient
 Inherited
Determines whether this instance is the same as, or is a subclass of, the given type.
AdvancedStyleClient
 Inherited
Propagates style changes to the children of this style client instance.
AdvancedStyleClient
 Inherited
Belirtilen özelliğin bulunup bulunmadığını ve numaralandırılabilir olup olmadığını gösterir.
Object
 Inherited
Sets up the internal style cache values so that the getStyle() method functions.
AdvancedStyleClient
 Inherited
Registers the EffectManager as one of the event listeners for each effect event.
AdvancedStyleClient
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
EventDispatcher nesnesinden bir dinleyiciyi kaldırır.
EventDispatcher
 Inherited
Dinamik bir özelliğin döngü işlemlerinde kullanılabilirliğini ayarlar.
Object
 Inherited
setStyle(styleProp:String, newValue:*):void
Sets a style property on this component instance.
AdvancedStyleClient
 Inherited
Detects changes to style properties.
AdvancedStyleClient
 Inherited
Flex calls the stylesInitialized() method when the styles for a component are first initialized.
AdvancedStyleClient
 Inherited
Bu nesnenin, yerel ayara özel kurallara göre biçimlendirilmiş dize temsilini döndürür.
Object
 Inherited
Belirtilen nesnenin dize olarak temsil edilen halini döndürür.
Object
 Inherited
Belirtilen nesnenin temel değerini döndürür.
Object
 Inherited
Bir olay dinleyicisinin bu EventDispatcher nesnesiyle mi, yoksa onun belirtilen olay türüne yönelik üst öğelerinden biriyle mi kayıtlı olduğunu kontrol eder.
EventDispatcher
Olaylar
 Olay Özet Tanımlayan:
 Inherited[broadcast olayı] Flash Player veya AIR uygulaması işletim sistemi odağına gelip etkin olduğunda gönderilir.EventDispatcher
  The change event is generated whenever the locale style is changed or another property is set that would cause the format of a number to change or cause updates to the other values available through this class.GlobalizationBase
 Inherited[broadcast olayı] Çalışan Flash Player veya AIR uygulaması sistem odağını kaybettiğinde ve etkin olmayan duruma geldiğinde gönderilir.EventDispatcher
Stiller

Stiller ortaktır veya belirli bir temayla ilişkilendilir. Stil ortak değilse herhangi bir temayla ilişkilendirilebilir. Stil belirli bir temayla ilişkilendirilirse, yalnızca uygulamanızın o temayı kullanması durumunda kullanılabilir.

Yaygın Stiller
 Stil Açıklama Tanımlayan:
  
locale
Tür: String CSS Mirası: Evet
Dil Sürümü: ActionScript 3.0  Ürün Sürümü: Flex 4.5  Çalışma Zamanı Sürümleri: Flash10.1, AIR 2.5

The locale identifier that specifies the language, region, script and optionally other related tags and keys. The syntax of this identifier must follow the syntax defined by the Unicode Technical Standard #35 (e.g. en-US, de-DE, zh-Hans-CN)

Daha fazla bilgi

GlobalizationBase
Özellik Ayrıntısı

actualLocaleIDName

özellik
actualLocaleIDName:String  [salt okunur]

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Flex 4.5
Çalışma Zamanı Sürümleri: Flash Player 10.1, AIR 2.5

The name of the actual locale ID used by this class object. This is the locale that is used to access the formatting data and functionality from the operating system.

If the locale that was set by the locale style is not available, then the value of the actualLocaleIDName is different from the value of the locale style. It indicates the fallback locale that is being used. If the locale style was set to LocaleID.DEFAULT the name of the locale specified by the user's operating system is used.

Bu özellik veri ciltleme kaynağı olarak kullanılabilir. Bu özellik değiştirildiğinde, change olayını gönderir.



Uygulama
    public function get actualLocaleIDName():String

lastOperationStatus

özellik 
lastOperationStatus:String  [salt okunur]

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Flex 4.5
Çalışma Zamanı Sürümleri: Flash Player 10.1, AIR 2.5

The status of the most recent operation that this class object performed. The lastOperationStatus is set whenever the constructor or a method of this class is called, or when a property is set. For the possible values see the description under each method.

Bu özellik veri ciltleme kaynağı olarak kullanılabilir. Bu özellik değiştirildiğinde, change olayını gönderir.



Uygulama
    public function get lastOperationStatus():String

İlgili API Öğeleri

Yapıcı Ayrıntı

GlobalizationBase

()Yapıcı
public function GlobalizationBase()

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Flex 4.5
Çalışma Zamanı Sürümleri: Flash Player 10.1, AIR 2.5

Constructor.

Yöntem Ayrıntısı

getStyle

()yöntem
override public function getStyle(styleProp:String):*

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Flex 4.5
Çalışma Zamanı Sürümleri: Flash Player 10.1, AIR 2.5

Gets a style property that has been set anywhere in this component's style lookup chain.

This same method is used to get any kind of style property, so the value returned can be a Boolean, String, Number, int, uint (for an RGB color), Class (for a skin), or any kind of object. Therefore the return type is simply specified as *.

If you are getting a particular style property, you know its type and often want to store the result in a variable of that type. No casting from * to that type is necessary.

var backgroundColor:uint = getStyle("backgroundColor");

If the style property has not been set anywhere in the style lookup chain, the value returned by getStyle() is undefined. Note that undefined is a special value that is not the same as false, "", NaN, 0, or null. No valid style value is ever undefined. You can use the method IStyleManager2.isValidStyleValue() to test whether the value was set.

Parametreler

styleProp:String — Name of the style property.

Döndürür
* — Style value.
Olay Ayrıntısı

change

Olay
Olay Nesne Türü: flash.events.Event
özellik Event.type = flash.events.Event.CHANGE

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Flex 4.5
Çalışma Zamanı Sürümleri: Flash Player 10.1, AIR 2.5

The change event is generated whenever the locale style is changed or another property is set that would cause the format of a number to change or cause updates to the other values available through this class.

Event.CHANGE sabiti, change olay nesnesinin type özelliği değerini tanımlar.

Bu olay şu özelliklere sahiptir:

ÖzellikDeğer
bubblestrue
cancelablefalse; iptal edilecek varsayılan davranış yoktur.
currentTargetBu Event nesnesini olay dinleyicisiyle etkin olarak işleyen nesne.
targetDeğerleri değiştirilen nesne. target her zaman olay dinleyicisini kaydeden görüntüleme listesindeki nesne değildir. Geçerli olarak olayı işleyen görüntüleme listesindeki nesneye erişmek için currentTarget özelliğini kullanın.




[ 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.