ListView.addOnItemActivate

Overview | Methods | This Package | All Packages

ListView.addOnItemActivate

Assigns a delegate to the itemActivate event.

Syntax

public final void addOnItemActivate( EventHandler value )

Parameters

value

The EventHandler delegate to be notified when the event occurs.

Remarks

Passing an event handler as a parameter to this method is equivalent to setting the itemActivate event to that method in the Properties window. The itemActivate event occurs when the user activates one or more items in the list view control. The user can activate an item with either a single-click or double-click, depending on the value of the activation property, or with the keyboard. The event handler should call the getSelectedItems method to determine which items are being activated.

See Also   removeOnItemActivate