public abstract class AbstractPulseListView extends Object implements PulseListView
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractPulseListView.PulseNewItemColumnGenerator
The Vaadin
ColumnGenerator for denoting new messages or tasks in the Pulse list views. |
PulseListView.Listener
Modifier and Type | Field and Description |
---|---|
static String |
GROUP_PLACEHOLDER_ITEMID |
Constructor and Description |
---|
AbstractPulseListView(info.magnolia.ui.api.shell.Shell shell,
info.magnolia.i18nsystem.SimpleTranslator i18n,
String[] order,
String[] headers,
String emptyMessage,
PulseItemCategory... categories) |
Modifier and Type | Method and Description |
---|---|
com.vaadin.ui.Component |
asVaadinComponent() |
protected abstract com.vaadin.ui.Table.GeneratedRow |
generateGroupingRow(com.vaadin.data.Item item)
A row generator draws grouping headers if such are present in the container.
|
protected PulseListFooter |
getFooter() |
protected info.magnolia.i18nsystem.SimpleTranslator |
getI18n() |
protected com.vaadin.ui.TreeTable |
getItemTable() |
protected void |
onItemClicked(com.vaadin.event.MouseEvents.ClickEvent event,
Object itemId) |
void |
refresh() |
void |
setDataSource(com.vaadin.data.Container dataSource) |
void |
setFooter(PulseListFooter footer) |
void |
setListener(PulseListView.Listener listener) |
void |
setTabActive(PulseItemCategory category) |
void |
updateCategoryBadgeCount(PulseItemCategory category,
int count) |
public static final String GROUP_PLACEHOLDER_ITEMID
@Inject public AbstractPulseListView(info.magnolia.ui.api.shell.Shell shell, info.magnolia.i18nsystem.SimpleTranslator i18n, String[] order, String[] headers, String emptyMessage, PulseItemCategory... categories)
public void refresh()
refresh
in interface PulseListView
public void setDataSource(com.vaadin.data.Container dataSource)
setDataSource
in interface PulseListView
public void setListener(PulseListView.Listener listener)
setListener
in interface PulseListView
public void updateCategoryBadgeCount(PulseItemCategory category, int count)
updateCategoryBadgeCount
in interface PulseListView
public com.vaadin.ui.Component asVaadinComponent()
asVaadinComponent
in interface info.magnolia.ui.api.view.View
public void setFooter(PulseListFooter footer)
protected abstract com.vaadin.ui.Table.GeneratedRow generateGroupingRow(com.vaadin.data.Item item)
protected info.magnolia.i18nsystem.SimpleTranslator getI18n()
protected com.vaadin.ui.TreeTable getItemTable()
public void setTabActive(PulseItemCategory category)
setTabActive
in interface PulseListView
protected PulseListFooter getFooter()
protected void onItemClicked(com.vaadin.event.MouseEvents.ClickEvent event, Object itemId)
Copyright © 2015 Magnolia International Ltd.. All rights reserved.