Microsoft SDK for Java

TreeView.addOnAfterCollapse

Assigns a delegate to the afterCollapse event.

Syntax

public void addOnAfterCollapse( TreeViewEventHandler value )

Parameters

value

The TreeViewEventHandler delegate to be notified when the event occurs.

Remarks

Passing an event handler as a parameter to this method is equivalent to setting the afterCollapse event to that method in the Properties window. The afterCollapse event occurs when a tree node has been collapsed.

See Also   removeOnAfterCollapse

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