@Test public void testOnTermFilterChange() { final KeyUpEvent event = mock(KeyUpEvent.class); final String term = "term"; termFilter.value = term; view.onTermFilterChange(event); verify(presenter).applyTermFilter(term); }
@EventHandler("term-filter") public void onTermFilterChange(final KeyUpEvent e) { presenter.applyTermFilter(termFilter.value); }
DecisionComponentsView implements DecisionComponents.View { @EventHandler("term-filter") public void onTermFilterChange(final KeyUpEvent e) { presenter.applyTermFilter(termFilter.value); } }
DecisionComponentsView implements DecisionComponents.View { @EventHandler("term-filter") public void onTermFilterChange(final KeyUpEvent e) { presenter.applyTermFilter(termFilter.value); } @Inject  DecisionComponentsView(final HTMLSelectElement drgElementFilter,
                                  final HTMLInputElement termFilter,
                                  final HTMLDivElement list,
                                  final HTMLDivElement emptyState,
                                  final HTMLDivElement loading,
                                  final HTMLDivElement componentsCounter,
                                  final TranslationService translationService); }
DecisionComponentsView implements DecisionComponents.View { @EventHandler("term-filter") public void onTermFilterChange(final KeyUpEvent e) { presenter.applyTermFilter(termFilter.value); } @Inject  DecisionComponentsView(final HTMLSelectElement drgElementFilter,
                                  final HTMLInputElement termFilter,
                                  final HTMLDivElement list,
                                  final HTMLDivElement emptyState,
                                  final HTMLDivElement loading,
                                  final HTMLDivElement componentsCounter,
                                  final TranslationService translationService); @PostConstruct void init(); @Override void init(final DecisionComponents presenter); @EventHandler("term-filter") void onTermFilterChange(final KeyUpEvent e); @Override void clear(); @Override void addListItem(final HTMLElement htmlElement); @Override void showEmptyState(); @Override void showLoading(); @Override void hideLoading(); @Override void disableFilterInputs(); @Override void enableFilterInputs(); @Override void setComponentsCounter(final Integer count); }
DecisionComponentsView implements DecisionComponents.View { @EventHandler("term-filter") public void onTermFilterChange(final KeyUpEvent e) { presenter.applyTermFilter(termFilter.value); } @Inject  DecisionComponentsView(final HTMLSelectElement drgElementFilter,
                                  final HTMLInputElement termFilter,
                                  final HTMLDivElement list,
                                  final HTMLDivElement emptyState,
                                  final HTMLDivElement loading,
                                  final HTMLDivElement componentsCounter,
                                  final TranslationService translationService); @PostConstruct void init(); @Override void init(final DecisionComponents presenter); @EventHandler("term-filter") void onTermFilterChange(final KeyUpEvent e); @Override void clear(); @Override void addListItem(final HTMLElement htmlElement); @Override void showEmptyState(); @Override void showLoading(); @Override void hideLoading(); @Override void disableFilterInputs(); @Override void enableFilterInputs(); @Override void setComponentsCounter(final Integer count);  }