Assume for this example that you want to model a text editor in an object-oriented design. You could produce a list of objects at a high level that includes the following:
These are all contained inside the main application object, which is what you are trying to build. Each one will have some internal data and methods, as illustrated in Figure 15.2.
Figure 15.2 lists only the most obvious methods and data items; were you building a complete application, you would need to refine this model further. For now, it is sufficient for you to be able to identify ...