Interface ListArea.ClickHandler<E>

Type Parameters:
E - the type of items in the list
All Known Implementing Classes:
TreeListArea, WebSearchPopup
Enclosing class:
ListArea<E>

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 Type
    Method
    Description
    boolean
    onListClick(ListArea<E> area, int index, E item)
    Called when an item is activated.
  • Method Details

    • onListClick

      boolean onListClick(ListArea<E> area, int index, E item)
      Called when an item is activated.
      Parameters:
      area - the list area that received the click
      index - the index of the clicked item in the model
      item - the clicked item
      Returns:
      true if the event was handled; false otherwise