findSuperArea
public AreaImpl findSuperArea(AreaImpl sub,
java.util.Vector<AreaImpl> selected)
Starts with a specified subarea and finds all the subareas that
may be joined with the first one. Returns an empty area and the vector
of the areas inside. The subareas are not automatically added to the
new area because this would cause their removal from the parent area.
- Overrides:
findSuperArea
in class GroupAnalyzer
- Parameters:
sub
- the subnode to start withselected
- a vector that will be filled with the selected subnodes
that should be contained in the new area
- Returns:
- the new empty area