패키지 | mx.core |
인터페이스 | public interface IInvalidating |
구현자 | GraphicElement, PostScaleAdapter, ProgrammaticSkin, UIComponent, UIFTETextField, UITextField |
언어 버전: | 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. | 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.
Tue Jun 12 2018, 03:17 PM Z