public class ThumbnailViewImpl extends Object implements ThumbnailView
ContentView.Listener
Constructor and Description |
---|
ThumbnailViewImpl() |
Modifier and Type | Method and Description |
---|---|
com.vaadin.ui.Component |
asVaadinComponent()
Returns the Vaadin component managed by this view.
|
void |
expand(Object itemId)
Expands an item if the view supports it.
|
void |
onShortcutKey(int keyCode,
int[] modifierKeys) |
void |
refresh() |
void |
select(List<Object> itemIds)
Selects the items with given IDs in the content view.
|
void |
setContainer(com.vaadin.data.Container container) |
void |
setListener(ContentView.Listener listener) |
void |
setMultiselect(boolean multiselect)
Decides whether the user can select multiple items.
|
void |
setThumbnailSize(int width,
int height) |
public void setListener(ContentView.Listener listener)
setListener
in interface ContentView
public void select(List<Object> itemIds)
ContentView
select
in interface ContentView
itemIds
- IDspublic void refresh()
refresh
in interface ThumbnailView
public void setContainer(com.vaadin.data.Container container)
setContainer
in interface ThumbnailView
public void setThumbnailSize(int width, int height)
setThumbnailSize
in interface ThumbnailView
public com.vaadin.ui.Component asVaadinComponent()
View
asVaadinComponent
in interface View
public void setMultiselect(boolean multiselect)
ContentView
setMultiselect
in interface ContentView
public void onShortcutKey(int keyCode, int[] modifierKeys)
onShortcutKey
in interface ContentView
public void expand(Object itemId)
ContentView
expand
in interface ContentView
itemId
- IDCopyright © 2016 Magnolia International Ltd.. All rights reserved.