Microsoft SDK for Java

IComponent.getChildOf

Determines whether this component is a child of the specified component.

Syntax

public boolean getChildOf( IComponent component )

Parameters

component

The parent component.

Return Value

Returns true if this component is a child of component; otherwise, returns false.

Remarks

A component is considered a child of a specified parent component if the parent component's implementation of the dispose method also disposes the child component. Examples of child components are child windows and submenus.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.