Adobe FLEX 2 - CREATING AND EXTENDING COMPONENTS Manual page 150

Creating and extending flex 2 components
Hide thumbs Also See for FLEX 2 - CREATING AND EXTENDING COMPONENTS:
Table of Contents

Advertisement

The following table describes the invalidation methods:
Invalidation method
invalidateProperties()
invalidateSize()
invalidateDisplayList()
When a component calls an invalidation method, it signals to Flex that the component must
be updated. When multiple components call invalidation methods, Flex coordinates updates
so that they all occur together during the next screen update.
Typically, component users do not call the invalidation methods directly. Instead, they are
called by the component's setter methods, or by any other methods of a component class as
necessary. For more information and examples, see
method" on page
158.
About the component instantiation life cycle
The component instantiation life cycle describes the sequence of steps that occur when you
create a component object from a component class. As part of that life cycle, Flex
automatically calls component methods, dispatches events, and makes the component visible.
150
Creating Advanced Visual Components in ActionScript
Description
Marks a component so that its
called during the next screen update.
Marks a component so that its
during the next screen update.
Marks a component so that its
updateDisplayList()
update.
commitProperties()
method gets called
measure()
layoutChrome()
methods get called during the next screen
"Implementing the commitProperties()
method gets
and

Advertisement

Table of Contents
loading

Table of Contents