User Guide

207
13
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 Developers Guide.
Contents
Creating a custom formatter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
Using the SwitchSymbolFormatter class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .211
Extending a Formatter class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214