The Table Objects

Up: GEOS SDK TechDocs| Up | Down | Next: 1 Table Objects
| One-page Version of this Chapter for Easy Printing

The Table Library allows you to easily create dynamic scrolling tables. By using objects from TableClass , you can create tables with certain characteristics; in particular, tables with many rows, with the data organized by column. For example, you could use TableClass to present a phone number list. One column might have a person's name, the next the phone number, the next the fax number, and so on. Each row would have the same basic format, though it would have different contents. The Table is designed primarily for text tables, though it can display anything you wish to draw.

You can give each column its own characteristics. Users may begin entering data directly into the Table; the TableClass object will automatically present a VisText to let the user enter text, then send a message to itself to replace the cell's contents with the new text; you can subclass that message if you need to check the text the user has entered or perform some operation on the new data.

The Table object does not actually store data; it rather helps you organize data stored elsewhere, and helps you display that data in a tabular format. It also makes it much easier for a user to edit the data.


Up: GEOS SDK TechDocs| Up | Down | Next: 1 Table Objects
| One-page Version of this Chapter for Easy Printing