ListView.addOnAfterLabelEdit

Overview | Methods | This Package | All Packages

ListView.addOnAfterLabelEdit

Assigns a delegate to the afterLabelEdit event.

Syntax

public final void addOnAfterLabelEdit( LabelEditEventHandler value )

Parameters

value

The LabelEditEventHandler delegate to be notified when the event occurs.

Remarks

Passing an event handler as a parameter to this method is equivalent to setting the afterLabelEdit event to that method in the Properties window. The afterLabelEdit event occurs when the user finishes modifying the text for a list view item. The new string that the user types for the item is passed to the event, and the event handler can reject the change. If the handler rejects the change, the text reverts to what it was before the user began editing the item.

See Also   removeOnAfterLabelEdit