| Advanced Features > Nested Managers and Nested Graphers > Selection in a Nested Manager > Selection Methods for Nested Managers |
Selection Methods for Nested Managers |
INDEX
PREVIOUS
NEXT
|
Here is a set of methods that allows you to deal with the specific case of selections in a hierarchy of nested managers.
void selectAll(boolean traverse, boolean redraw)
This method selects all the objects in the manager and also all the objects in nested managers when the traverse parameter is true.
void deSelectAll(boolean traverse,boolean redraw)
This method deselects all the selected objects in the manager and also all the selected objects in nested managers when the traverse parameter is true.
IlvGraphicEnumeration getSelectedObjects(boolean traverse)
This method returns an enumeration that contains all the selected objects in this manager and in nested managers if the traverse parameter is set to true.
int getSelectedObjectsCount(boolean traverse)
This method returns the number of selected objects of this manager and in the nested managers if the traverse parameter is set to true.
void deleteSelections(boolean redraw, boolean traverse, boolean redraw)
This method removes the selected objects in the manager and also removes the selected objects in nested managers when the traverse parameter is set to true.
IlvSelection getSelection(IlvPoint p, IlvManagerView view, boolean traverse)
Finally, this method returns the selection object under the specified point. The method will search for selection objects in nested managers if the traverse parameter is set to true.
| Copyright © 1987-2007 ILOG S.A. All rights reserved. Documentation homepage. Legal terms. | PREVIOUS NEXT |