Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ public class ComboBoxListDataViewPage extends Div {
static final String SHOW_ITEM_DATA = "showItemData";
static final String SHOW_NEXT_DATA = "showNextData";
static final String SHOW_PREVIOUS_DATA = "showPreviousData";
static final String SHOW_ITEM_COUNT = "showItemCount";
static final String SHOW_ITEMS = "showItems";
static final String AGE_FILTER = "ageFilter";
static final String REMOVE_ITEM = "removeItem";
static final String REVERSE_SORTING = "reverseSorting";
Expand Down Expand Up @@ -96,17 +94,6 @@ public ComboBoxListDataViewPage() {
.getItem(itemSelect.getValue()).getFirstName()));
showItemData.setId(SHOW_ITEM_DATA);

NativeButton showItemCount = new NativeButton("Show Item Count",
click -> count
.setText(String.valueOf(dataView.getItemCount())));
showItemCount.setId(SHOW_ITEM_COUNT);

NativeButton showItems = new NativeButton("Show Items",
click -> itemData
.setText(dataView.getItems().map(Person::toString)
.collect(Collectors.joining(","))));
showItems.setId(SHOW_ITEMS);

// Navigation
NativeButton showNextData = new NativeButton("Next person", event -> {
itemData.setText("Item: " + dataView
Expand Down Expand Up @@ -170,8 +157,7 @@ public ComboBoxListDataViewPage() {

add(comboBox, itemSelect, filterByAge, reverseSorting,
selectItemOnIndex, showItemData, showNextData, showPreviousData,
removePerson, count, itemData, showItemCount, showItems,
secondComboBox);
removePerson, count, itemData, secondComboBox);
}

private List<Person> generatePersonItems() {
Expand Down

This file was deleted.

Loading