Package org.luwrain.controls
Interface ListArea.ClickHandler<E>
- Type Parameters:
E- the type of items in the list
- All Known Implementing Classes:
TreeListArea,WebSearchPopup
public static interface ListArea.ClickHandler<E>
Handler for click (activation) events on list items. This is typically
triggered by pressing Enter or a dedicated OK command.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanonListClick(ListArea<E> area, int index, E item) Called when an item is activated.
-
Method Details
-
onListClick
Called when an item is activated.- Parameters:
area- the list area that received the clickindex- the index of the clicked item in the modelitem- the clicked item- Returns:
trueif the event was handled;falseotherwise
-