DroidDiagram Programmer's Guide
DiagramView.adoptHostedControls Method
See Also
 






Adopts controls hosted in other views and moves them to this view.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public void adoptHostedControls (
    boolean onlyUnparented
)

 Parameters

onlyUnparented

true if only controls that currently do not have a parent view are adopted; false to adopt all controls.

 Remarks

This method is useful when displaying ControlNode objects in multiple views. For example, you might want to invoke it when a view becomes the topmost window in a MDI application.

 See Also

DiagramView Members
DiagramView Class
com.mindfusion.diagramming Namespace