| Advanced Features > Nested Managers and Nested Graphers > Nested Managers > Working with Graphic Objects In Nested Managers |
Working with Graphic Objects In Nested Managers |
INDEX
PREVIOUS
NEXT
|
The API you will use to manipulate graphic objects stored in a nested manager is the same as the one you use when working on a top-level manager. For example, you will use the moveObject or reshapeObject method of the IlvManager class to move or reshape an object in a nested manager. You will also use the applyToObject method of IlvManager when modifying a property of a graphic object that changes the bounding box of a graphic object. The only difference for a nested manager is that when a graphic object is stored in a nested manager, changing its size or moving it can change the size of the manager itself, proceeding recursively up the hierarchy of the manager.
The IlvManager class provides some convenient methods for working with graphic objects in nested managers; these methods have a traverse parameter that when set to true means that the method applies also to nested managers in this manager.
You can access all the objects in the hierarchy of managers using the following methods with the traverse parameter set to true:
f to all objects of the hierarchy when the traverse parameter is set to true.
Some methods allow you to deal with selection and deselection of objects in a hierarchy of nested managers. This is explained in Selection in a Nested Manager.
| Copyright © 1987-2007 ILOG S.A. All rights reserved. Documentation homepage. Legal terms. | PREVIOUS NEXT |