Important Classes
The Main Application Class
When working with an application object, the main application class is AppModel, which is the type of model.app().
Declaration Classes
In addition to the basic data types and shortcut declarations, the Declaration node may include Choice List and Unit List declarations. The corresponding classes are ChoiceList and UnitSet. The parent class to ChoiceList and UnitSet is called DataSource. In addition, Scalar, Array 1D, and Array 2D data types are handled by the DataSource class. For more information, see Data Source and Declaration.
Method Class
The Method class is used to represent methods. For more information, see Method Class.
Main User Interface Component Classes
In an application object, the main user interface components correspond to the following classes:
MainWindow
-
Form
-
FormObject
-
Item
-
-
Each class has a set of associated methods that are used to edit the corresponding user interface component at runtime. These are described in the following sections.
In addition to the main user interface component classes, there are also list versions of the Form, FormObject, and Item classes. These are: FormList, FormObjectList, and ItemList.