IComponent.getChildOf

Overview | Methods | This Package | All Packages

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.