適用於 Adobe® Flash® Platform 的 ActionScript® 3.0 參考
首頁  |  隱藏套件和類別清單 |  套件  |  類別  |  新增內容  |  索引  |  附錄  |  為什麼顯示英文?
篩選: 從伺服器擷取資料...
從伺服器擷取資料...
mx.core 

IInvalidating  - AS3 Flex

套件mx.core
介面public interface IInvalidating
實作者 GraphicElement, PostScaleAdapter, ProgrammaticSkin, UIComponent, UIFTETextField, UITextField

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

The IInvalidating interface defines the interface for components that use invalidation to do delayed -- rather than immediate -- property commitment, measurement, drawing, and layout.



公用方法
 方法定義自
  
Calling this method results in a call to the component's validateDisplayList() method before the display list is rendered.
IInvalidating
  
Calling this method results in a call to the component's validateProperties() method before the display list is rendered.
IInvalidating
  
Calling this method results in a call to the component's validateSize() method before the display list is rendered.
IInvalidating
  
Validates and updates the properties and layout of this object by immediately calling validateProperties(), validateSize(), and validateDisplayList(), if necessary.
IInvalidating
方法詳細資訊

invalidateDisplayList

()方法
public function invalidateDisplayList():void

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Calling this method results in a call to the component's validateDisplayList() method before the display list is rendered.

For components that extend UIComponent, this implies that updateDisplayList() is called.

invalidateProperties

()方法 
public function invalidateProperties():void

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Calling this method results in a call to the component's validateProperties() method before the display list is rendered.

For components that extend UIComponent, this implies that commitProperties() is called.

invalidateSize

()方法 
public function invalidateSize():void

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Calling this method results in a call to the component's validateSize() method before the display list is rendered.

For components that extend UIComponent, this implies that measure() is called, unless the component has both explicitWidth and explicitHeight set.

validateNow

()方法 
public function validateNow():void

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Validates and updates the properties and layout of this object by immediately calling validateProperties(), validateSize(), and validateDisplayList(), if necessary.

When properties are changed, the new values do not usually have an immediate effect on the component. Usually, all of the application code that needs to be run at that time is executed. Then the LayoutManager starts calling the validateProperties(), validateSize(), and validateDisplayList() methods on components, based on their need to be validated and their depth in the hierarchy of display list objects.

For example, setting the width property is delayed, because it may require recalculating the widths of the object's children or its parent. Delaying the processing also prevents it from being repeated multiple times if the application code sets the width property more than once. This method lets you manually override this behavior.





[ X ]為什麼顯示英文?
「ActionScript 3.0 參考」的內容是以英文顯示

並非所有「ActionScript 3.0 參考」的內容都翻譯為所有語言。當語言元素未翻譯時,就會以英文顯示。例如,ga.controls.HelpBox 類別並沒有翻譯為任何語言。因此在參考的繁體中文版本中,ga.controls.HelpBox 類別就會以英文顯示。