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

IItemRendererOwner  - AS3 Flex

Paketspark.components
Arabirimpublic interface IItemRendererOwner
Uygulayıcılar DataGroup, SkinnableDataContainer

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Flex 4
Çalışma Zamanı Sürümleri: Flash Player 10, AIR 1.5

The IItemRendererOwner interface defines the basic set of APIs that a class must implement to support items renderers. A class that implements the IItemRendererOwner interface is called the host component of the item renderer.

The class defining the item renderer must implement the IItemRenderer interface.

İlgili API Öğeleri



Genel Yöntemler
 YöntemTanımlayan:
  
Returns the String for display in an item renderer.
IItemRendererOwner
  
updateRenderer(renderer:IVisualElement, itemIndex:int, data:Object):void
Updates the renderer for reuse.
IItemRendererOwner
Yöntem Ayrıntısı

itemToLabel

()yöntem
public function itemToLabel(item:Object):String

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Flex 4
Çalışma Zamanı Sürümleri: Flash Player 10, AIR 1.5

Returns the String for display in an item renderer. The String is written to the labelText property of the item renderer.

Parametreler

item:Object — The data item to display.

Döndürür
String — The String for display in an item renderer.

updateRenderer

()yöntem 
public function updateRenderer(renderer:IVisualElement, itemIndex:int, data:Object):void

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Flex 4
Çalışma Zamanı Sürümleri: Flash Player 10, AIR 1.5

Updates the renderer for reuse. This method first prepares the item renderer for reuse by cleaning out any stale properties as well as updating it with new properties.

The last thing this method should do is set the data property of the item renderer.

Parametreler

renderer:IVisualElement — The item renderer.
 
itemIndex:int — The index of the data in the data provider.
 
data:Object — The data object this item renderer is representing.





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