ContextMenu.addOnPopup

Overview | Methods | This Package | All Packages

ContextMenu.addOnPopup

Assigns a delegate to the popup event.

Syntax

public void addOnPopup( EventHandler value )

Parameters

value

The EventHandler delegate to be notified when the event occurs.

Remarks

The popup event occurs when the context menu is about to be displayed. Typically, you use this event handler to add, remove, enable, or disable items contained in the menu, as appropriate.

See Also   onPopup, removeOnPopup