Microsoft SDK for Java

MenuItem.onClick

Triggers the click event.

Syntax

protected void onClick( Event e )

Parameters

e

The Event object to be notified when the event occurs.

Remarks

The click event occurs when this menu item is clicked by the user, using either the mouse, mnemonic keys, or shortcut keys.

This event is fired only for menu items that are not submenus.

See Also   addOnClick, removeOnClick

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