@Test public void testOnItemSelected() { listSelector.bind(bound, 0, 0); listSelector.onItemSelected(listSelectorItem2); verify(bound).onItemSelected(eq(listSelectorItem2)); }
@Override public void onItemSelected(final ListSelectorItem item) { binding.ifPresent(b -> b.onItemSelected(item)); }
ListSelector extends AbstractPopoverImpl<ListSelectorView, HasListSelectorControl> implements ListSelectorView.Presenter { @Override public void onItemSelected(final ListSelectorItem item) { binding.ifPresent(b -> b.onItemSelected(item)); } }
ListSelector extends AbstractPopoverImpl<ListSelectorView, HasListSelectorControl> implements ListSelectorView.Presenter { @Override public void onItemSelected(final ListSelectorItem item) { binding.ifPresent(b -> b.onItemSelected(item)); } ListSelector(); @Inject  ListSelector(final ListSelectorView view); }
ListSelector extends AbstractPopoverImpl<ListSelectorView, HasListSelectorControl> implements ListSelectorView.Presenter { @Override public void onItemSelected(final ListSelectorItem item) { binding.ifPresent(b -> b.onItemSelected(item)); } ListSelector(); @Inject  ListSelector(final ListSelectorView view); @Override void onItemSelected(final ListSelectorItem item); @Override void bind(final HasListSelectorControl bound,
                     final int uiRowIndex,
                     final int uiColumnIndex); }
ListSelector extends AbstractPopoverImpl<ListSelectorView, HasListSelectorControl> implements ListSelectorView.Presenter { @Override public void onItemSelected(final ListSelectorItem item) { binding.ifPresent(b -> b.onItemSelected(item)); } ListSelector(); @Inject  ListSelector(final ListSelectorView view); @Override void onItemSelected(final ListSelectorItem item); @Override void bind(final HasListSelectorControl bound,
                     final int uiRowIndex,
                     final int uiColumnIndex);  }