| Paket | org.osmf.layout |
| Arabirim | public interface ILayoutTarget extends IEventDispatcher |
| Uygulayıcılar | LayoutTargetSprite |
| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | OSMF 1.0 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
| Özellik | Tanımlayan: | ||
|---|---|---|---|
| displayObject : DisplayObject [salt okunur]
A reference to the display object that represents the target. | ILayoutTarget | ||
| layoutMetadata : LayoutMetadata [salt okunur]
The metadata that's used to hold information about the layout
of this layout target. | ILayoutTarget | ||
| measuredHeight : Number [salt okunur]
Defines the height of the element without any transformations being
applied. | ILayoutTarget | ||
| measuredWidth : Number [salt okunur]
Defines the width of the element without any transformations being
applied. | ILayoutTarget | ||
| Yöntem | Tanımlayan: | ||
|---|---|---|---|
![]() | 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. | IEventDispatcher | |
![]() |
Olay akışına bir olay gönderir. | IEventDispatcher | |
![]() |
EventDispatcher nesnesinin belirli bir olay türü için kayıtlı dinleyicisi olup olmadığını kontrol eder. | IEventDispatcher | |
Method that informs the implementation that it should update its
display to adjust to the given available width and height. | ILayoutTarget | ||
Method that informs the implementation that it should reassess its
measuredWidth and measuredHeight fields:
| ILayoutTarget | ||
![]() |
EventDispatcher nesnesinden bir dinleyiciyi kaldırır. | IEventDispatcher | |
![]() |
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. | IEventDispatcher | |
displayObject | özellik |
displayObject:DisplayObject [salt okunur] | Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | OSMF 1.0 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
A reference to the display object that represents the target. A client may use this reference to position or parent the target.
Uygulama
public function get displayObject():DisplayObjectlayoutMetadata | özellik |
layoutMetadata:LayoutMetadata [salt okunur] | Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | OSMF 1.0 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
The metadata that's used to hold information about the layout of this layout target. Cannot be null.
Uygulama
public function get layoutMetadata():LayoutMetadatameasuredHeight | özellik |
measuredHeight:Number [salt okunur] | Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | OSMF 1.0 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Defines the height of the element without any transformations being applied. For a JPG with an original resolution of 1024x768, this would be 768 pixels. A client may use this value to (for example) keep ratio on scaling the element.
Uygulama
public function get measuredHeight():NumbermeasuredWidth | özellik |
measuredWidth:Number [salt okunur] | Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | OSMF 1.0 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Defines the width of the element without any transformations being applied. For a JPG with an original resolution of 1024x768, this would be 1024 pixels. A client may use this value to (for example) keep ratio on scaling the element.
Uygulama
public function get measuredWidth():Numberlayout | () | yöntem |
public function layout(availableWidth:Number, availableHeight:Number, deep:Boolean = true):void| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | OSMF 1.0 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Method that informs the implementation that it should update its display to adjust to the given available width and height.
Parametreler
availableWidth:Number | |
availableHeight:Number | |
deep:Boolean (default = true) — True if the layout request is to be forwarded to
the target's potential inner layout system. The forwarding should take
place only after the target has laid itself out.
|
measure | () | yöntem |
public function measure(deep:Boolean = true):void| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | OSMF 1.0 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Method that informs the implementation that it should reassess its measuredWidth and measuredHeight fields:
Parametreler
deep:Boolean (default = true) — True if the measurement request is to be forwarded to
the target's potential inner layout system. The forwarding should take
place up front the target measuring itself.
|
Tue Jun 12 2018, 01:09 PM Z
Miras Alınan Genel Yöntemleri Gizle
Miras Alınan Genel Yöntemleri Göster