CompositeWrapper
CompositeWrapper
- Superclass
- ApplicationModel
- Subclasses
- NestedCompositeWrapper, CompositeReportModel, CatModelWrapper
- Referenced By
- NestedCompositeWrapper, CatModelWrapper, TableGraph
This class opens a collection of application models in a single window. The application
models must have been instantiated before being passed to this class. The information on
the layout, menu, and other information of each model is passed through a class called
ModelInfo. Based on the knowledge, the models are created. All the menus are collected
and made accessible. The actions are inherent in each model. The layout can be
specified. If so, they are put in the specified position. If it is not specified, then
all the models that are not specified are gathered together and laid out in a certain
manner. This class lays them out in a vertical fashion, from top to bottom.
This class can be created either with the model information, in which case the ModelInfos
are created with default parameters, or with the ModelInfo information. The window label
can also be specified.
This class also allows automatic update of the subcanvases. This is needed, for example,
when the layouts must change.
The biggest window possible is hard-coded. It is slightly smaller than the screen size.
Instance Variables:
models <OrderedCollection of: ModelInfo> Holds the model infos.
windowSpec <WindowSpec> The window spec of this class.
windowSize <Point> The preferred size of the window.
windowLabel <String> The name of the window.
subMenuName <String> The name of the menu item that may hold the menus of the models.
Developed By: Joseph W. Yoder (yoder@cs.uiuc.edu) and Jee Ku (jku@cat.ncsa.uiuc.edu)