class SearchBarComponentView implements SearchBarComponent.View {

    @EventHandler("prev-element")
    public void onPrevElementClick(final ClickEvent clickEvent) {
        presenter.previousResult();
        clickEvent.preventDefault();
        clickEvent.stopPropagation();
    }

    @Inject public  SearchBarComponentView(final HTMLButtonElement searchButton,
                                  final HTMLButtonElement searchContainer,
                                  final HTMLButtonElement prevElement,
                                  final HTMLButtonElement nextElement,
                                  final HTMLButtonElement closeSearch,
                                  final HTMLInputElement inputElement,
                                  final TranslationService translationService,
                                  final @Named("span") HTMLElement currentResult,
                                  final @Named("span") HTMLElement totalOfResults);

}