Chapter Contents |
Previous |
Next |
SAS/AF Software: Class Dictionary |
The Form Data Model class is part of a collection of classes that combine to create the Data Form and Data Table classes. These classes work together to enable you to
Before you customize the functionality of these classes, you should understand the structure of the classes that underlie the Data Form and Data Table classes and how they communicate.
The Form Data Model class defines the communication protocol between the Form Editor class and its associated data model class.
Any model that has its data viewed using the Form Editor class must provide the methods defined by the Form Data Model class in order to give the form editor access to the data. You accomplish this by defining your model to be a subclass of the Form Data Model class and by defining the methods that are meaningful to your model. Note that none of the Form Data Model methods are required. For example, attaching the form data model itself to a form editor produces an empty form because the Form Data Model class does not own any data.
Model classes that need to be able to communicate with the table editor must also be subclasses of the Table Data Model class, which is a subclass of the Form Data Model class. For more information, see the Table Data Model class.
Models that only need to be used with the form editor can be direct subclasses of the Form Data Model class.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.