Chapter 3. TEXT COMPONENTS WITH CUSTOM VIEWS
Topics in this Chapter
The Element Hierarchy
Creating Customized Views
Using Customized Views to Build Clever Input Fields
In the first two chapters of this book, you've seen how the document content is stored in the model associated with a text component and how it is possible to store attributes that determine how the text is rendered on the screen. In this chapter, you'll see that the attributes that were discussed in Chapter 2, which exist at both the character and paragraph level, are actually stored in a hierarchy of "elements" that map out the various structures within the document. Once we've described the element structure, we'll move on ...