Interface LookupComponent<E>

All Superinterfaces:
Component
All Known Subinterfaces:
DataGrid<E>, EntityComboBox<V>, EntityPicker<V>, EntitySuggestionField<V>, GroupTable<E>, LookupComponent.LookupSelectionChangeNotifier<T>, Table<E>, Tree<E>, TreeDataGrid<E>, TreeTable<E>
All Known Implementing Classes:
AbstractDataGrid, AbstractTable, DataGridImpl, EntityComboBoxImpl, EntityPickerImpl, EntitySuggestionFieldImpl, GroupTableImpl, TableImpl, TreeDataGridImpl, TreeImpl, TreeTableImpl

public interface LookupComponent<E> extends Component
A component which can be set as lookup component for a screen.
  • Method Details

    • setLookupSelectHandler

      void setLookupSelectHandler(Consumer<Collection<E>> selectHandler)
      Parameters:
      selectHandler - handler that should be executed when a user select an item in the lookup screen
    • getLookupSelectedItems

      Collection<E> getLookupSelectedItems()
      Returns:
      items selected in lookup component