next up previous contents
Next: Constructors Up: UIList Previous: UIList

Description

VMD contains several user interface components, where each component (a UIObject subclass) can separately issue requested (via Command ojects) to have particular actions completed. The UIList class is used to maintain the entire collection of these user interface components. There is one global instance of this class, uiList; all user interface components which are active during a VMD run must register themselves with this list.

UIList is used for two main purposes:

When a new UIObject is created, it must register itself with the proper UIList. This is done by specifying a pointer to a UIList in the constructor of all subclasses of UIObject. At present, there is no way to `unregister' from the UIList, it is assumed all UIObject's will be used for the duration of the program.



Justin Gullingsrud
Tue Apr 6 09:26:48 CDT 1999