Rogue Wave Views Manager
Higher-level functionality, allied with
managers, goes beyond the operations possible with
containers to actively govern the interaction and display of objects in a variety of contexts.
Managers add performance, functionality, and global control to a set of graphic objects. For example, using a manager, you can attach objects to different views or zoom in and out on a region of your display.
For further information see:
Basic Manager Features
With managers you can:
Manage the relationship between sets of objects and sets of views.
Manage layering of objects.
Through managers, sets of objects can be displayed in separate views. Managers control layering, so that objects can be assigned to particular layers for display and behavior purposes. Each layer may be set visible or invisible in each view controlled by the manager.
Figure 0.11 Managers Allow Different Views to be Displayed on the Screen.
Manage different views of a set of objects.
Attach a particular behavior to a view.
When using managers, interactors go beyond object-level behavior by providing a behavioral context for entire views that is independent of the objects. By activating a view interactor, you enter into an editing mode where you can select objects, draw view objects, drag-and-drop, and so forth.
Manager Service Features
Managers also provide other services, such as:
Saving to files
Keeping a command log for undoing and redoing events with minimum coding
Using specialized data structures such as quadtrees to improve performance
Advanced refresh functionality
Comparing Managers and Containers
The following table summarizes the differences between containers and managers:
Comparative Features of Managers and Containers
Features | Managers | Containers |
Multiviews | | |
Layering | | |
Saving | | |
Object Interactors | | |
View Interactors | | |
Accelerators | | |
Transformers (Zoom/Move/Rotate) | | |
Double Buffering | | |
Regional Buffering | | |
Many objects | | 1 |
Gadget-oriented | 1 | |
Undo | | |
1 Possible, but not the best choice.
Prerequisite Packages:
Foundation,
Studio.
Version 6.0
Copyright © 2015, Rogue Wave Software, Inc. All Rights Reserved.