public interface ContentView extends View
Modifier and Type | Interface and Description |
---|---|
static interface |
ContentView.Listener
Listener for the ContentView.
|
Modifier and Type | Method and Description |
---|---|
void |
expand(Object itemId)
Expands an item if the view supports it.
|
void |
onShortcutKey(int keyCode,
int[] modifierKeys) |
void |
select(List<Object> itemIds)
Selects the items with given IDs in the content view.
|
void |
setListener(ContentView.Listener listener) |
void |
setMultiselect(boolean multiselect)
Decides whether the user can select multiple items.
|
asVaadinComponent
void setListener(ContentView.Listener listener)
void select(List<Object> itemIds)
itemIds
- IDsvoid expand(Object itemId)
itemId
- IDvoid onShortcutKey(int keyCode, int[] modifierKeys)
void setMultiselect(boolean multiselect)
Copyright © 2021 Magnolia International Ltd.. All rights reserved.