摘要 |
A geometry management system provides an initial bottom-up layout that determines the ideal and default sizes of objects including the pages, views, and frame windows. The geometry management system further includes a top down configuration to handle resizing of a window including the objects contained in the window. The geometry management system includes geometry manager objects, container objects, and child objects. At design or layout time, the child objects are placed in a parent container via a drag and drop operation. The geometry management system specifies size parameters through negotiation among the child objects, the containers, and the high level geometry manager. When a child object requires resizing, the child object requests geometry from the parent container object. Based on the specified parameters, the container determines whether a given geometry is feasible. If the parameters are acceptable, the container implements the geometry. The container may be bound to a geometry manager that implements an overall geometry management policy for the display.
|