info.magnolia.ui.workbench.list
Class ListViewImpl
java.lang.Object
info.magnolia.ui.workbench.list.ListViewImpl
- All Implemented Interfaces:
- info.magnolia.ui.api.view.View, ContentView, ListView, Serializable
- Direct Known Subclasses:
- SearchViewImpl, TreeViewImpl
public class ListViewImpl
- extends Object
- implements ListView
Default Vaadin implementation of the list view.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListViewImpl
public ListViewImpl()
ListViewImpl
public ListViewImpl(com.vaadin.ui.Table table)
bindHandlers
protected void bindHandlers()
getListener
protected ContentView.Listener getListener()
setListener
public void setListener(ContentView.Listener listener)
- Specified by:
setListener
in interface ContentView
setContainer
public void setContainer(com.vaadin.data.Container container)
- Specified by:
setContainer
in interface ListView
addColumn
public void addColumn(String propertyId,
String title)
- Specified by:
addColumn
in interface ListView
addColumn
public void addColumn(String propertyId,
String title,
int width)
- Specified by:
addColumn
in interface ListView
addColumn
public void addColumn(String propertyId,
String title,
float expandRatio)
- Specified by:
addColumn
in interface ListView
setColumnFormatter
public void setColumnFormatter(String propertyId,
ColumnFormatter formatter)
- Specified by:
setColumnFormatter
in interface ListView
select
public void select(List<String> itemIds)
- Description copied from interface:
ContentView
- Selects the items with given IDs in the content view.
- Specified by:
select
in interface ContentView
- Parameters:
itemIds
- IDs
getViewType
public ContentView.ViewType getViewType()
- Specified by:
getViewType
in interface ContentView
asVaadinComponent
public com.vaadin.ui.Table asVaadinComponent()
- Specified by:
asVaadinComponent
in interface info.magnolia.ui.api.view.View
setMultiselect
public void setMultiselect(boolean multiselect)
- Description copied from interface:
ContentView
- Decides whether the user can select multiple items.
- Specified by:
setMultiselect
in interface ContentView
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.