150
Creating Advanced Visual Components in ActionScript
The following table describes the invalidation methods:
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
“Implementing the commitProperties()
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.
Invalidation method
Description
invalidateProperties()
Marks a component so that its
commitProperties()
method gets
called during the next screen update.
invalidateSize()
Marks a component so that its
measure()
method gets called
during the next screen update.
invalidateDisplayList()
Marks a component so that its
layoutChrome()
and
updateDisplayList()
methods get called during the next screen
update.
Содержание FLEX 2 - CREATING AND EXTENDING COMPONENTS
Страница 1: ...Creating and Extending Flex 2 Components Adobe Flex 2...
Страница 6: ...6 Contents...
Страница 10: ...10 About Flex Documentation...
Страница 12: ......
Страница 24: ...24 Creating Flex Components...
Страница 74: ...74 Compiling Components...
Страница 76: ......
Страница 118: ...118 Creating Advanced MXML Components...
Страница 120: ......
Страница 182: ...182 Creating Advanced Visual Components in ActionScript...
Страница 194: ...194 Creating Custom Style Properties...
Страница 204: ...204 Creating Template Components...
Страница 206: ......
Страница 216: ...216 Creating Custom Formatters...
Страница 254: ...254 Index...