Rogue Wave JViews Maps for Defense
>
Programmer's documentation
>
Programming with
JViews Maps for Defense
>
Symbology
>
Managing groups of symbols automatically
>
Automatic displacement of groups and their children
INDEX
|
PREVIOUS
NEXT
Automatic displacement of groups and their children
In addition, the manager provides features that compute and enforce group/child location relationships when one or the other is moved:
em.setAutoComputeGroupLocation(true);
Moving a group
When the user interactively moves a group, the children belonging to that group are all moved using the same offsets.
The following figure shows how the children are moved when the group is moved.
Moving a group
Moving children
When the user interactively moves the children of a group to a new position, the corresponding group is moved accordingly.
The following figure shows how the group is moved when the children are moved.
Moving children
Current section
Managing groups of symbols automatically