207
1 3
CHAPTER 13
Creating Custom Formatters
Adobe Flex includes several predefined formatters that you can use in your applications to
format data. You also might have to extend the functionality of these predefined formatters, or
create formatters for your specific application needs. This topic describes how to create a
custom data formatter. For more information on using formatters, see Chapter 41,
“Formatting Data,” in
Flex 2 Developer’s Guide
.
Contents
Creating a custom formatter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
Using the SwitchSymbolFormatter class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .211
Extending a Formatter class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
Содержание 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...