public interface CubaEnhancedTable extends AggregationContainer
Modifier and Type | Interface and Description |
---|---|
static class |
CubaEnhancedTable.AggregationInputValueChangeContext |
static class |
CubaEnhancedTable.AggregationStyle |
static interface |
CubaEnhancedTable.CellClickListener |
static interface |
CubaEnhancedTable.CellValueFormatter |
static interface |
CubaEnhancedTable.PlainTextGeneratedColumn
Marker interface for generated columns which return String value.
|
static interface |
CubaEnhancedTable.SpecificVariablesHandler |
AggregationContainer.Context, AggregationContainer.Type
com.vaadin.v7.data.Container.Editor, com.vaadin.v7.data.Container.Filter, com.vaadin.v7.data.Container.Filterable, com.vaadin.v7.data.Container.Hierarchical, com.vaadin.v7.data.Container.Indexed, com.vaadin.v7.data.Container.ItemSetChangeEvent, com.vaadin.v7.data.Container.ItemSetChangeListener, com.vaadin.v7.data.Container.ItemSetChangeNotifier, com.vaadin.v7.data.Container.Ordered, com.vaadin.v7.data.Container.PropertySetChangeEvent, com.vaadin.v7.data.Container.PropertySetChangeListener, com.vaadin.v7.data.Container.PropertySetChangeNotifier, com.vaadin.v7.data.Container.SimpleFilterable, com.vaadin.v7.data.Container.Sortable, com.vaadin.v7.data.Container.Viewer
Modifier and Type | Method and Description |
---|---|
void |
addAggregationEditableColumn(java.lang.Object columnId) |
boolean |
disableContentBufferRefreshing() |
void |
enableContentBufferRefreshing(boolean refreshContent) |
java.util.function.Consumer<com.vaadin.ui.Component> |
getAfterUnregisterComponentHandler() |
java.lang.String |
getAggregationDescription(java.lang.Object columnId) |
java.util.function.Function<CubaEnhancedTable.AggregationInputValueChangeContext,java.lang.Boolean> |
getAggregationDistributionProvider() |
CubaEnhancedTable.AggregationStyle |
getAggregationStyle() |
java.lang.Runnable |
getBeforeRefreshRowCacheHandler() |
boolean |
getColumnCaptionAsHtml(java.lang.Object columnId) |
java.lang.String |
getColumnDescription(java.lang.Object columnId) |
boolean |
getColumnSortable(java.lang.Object columnId) |
CubaEnhancedTable.CellValueFormatter |
getCustomCellValueFormatter() |
boolean |
getCustomPopupAutoClose() |
java.lang.Object[] |
getEditableColumns() |
java.util.function.Function<java.lang.Object,com.vaadin.server.Resource> |
getIconProvider() |
java.lang.Object |
getItemByRowKey(java.lang.String rowKey) |
com.vaadin.ui.Component |
getPresentations() |
java.lang.String |
getSortAscendingLabel() |
java.lang.String |
getSortDescendingLabel() |
java.lang.String |
getSortResetLabel() |
CubaEnhancedTable.SpecificVariablesHandler |
getSpecificVariablesHandler() |
void |
hideContextMenuPopup() |
void |
hidePresentationsPopup() |
boolean |
isAggregatable() |
boolean |
isAutowirePropertyDsForFields() |
boolean |
isColumnEditable(java.lang.Object columnId) |
boolean |
isContextMenuEnabled() |
boolean |
isMultiLineCells() |
boolean |
isShowTotalAggregation() |
boolean |
isTextSelectionEnabled() |
void |
refreshCellStyles() |
void |
removeClickListener(java.lang.Object propertyId) |
void |
requestFocus(java.lang.Object itemId,
java.lang.Object columnId) |
void |
setAfterUnregisterComponentHandler(java.util.function.Consumer<com.vaadin.ui.Component> afterUnregisterComponentHandler) |
void |
setAggregatable(boolean aggregatable) |
void |
setAggregationDescription(java.lang.Object columnId,
java.lang.String description) |
void |
setAggregationDistributionProvider(java.util.function.Function<CubaEnhancedTable.AggregationInputValueChangeContext,java.lang.Boolean> distributionProvider) |
void |
setAggregationStyle(CubaEnhancedTable.AggregationStyle aggregationStyle) |
void |
setAutowirePropertyDsForFields(boolean autowirePropertyDsForFields) |
void |
setBeforePaintListener(java.lang.Runnable beforePaintListener) |
void |
setBeforeRefreshRowCacheHandler(java.lang.Runnable beforeRefreshRowCacheHandler) |
void |
setClickListener(java.lang.Object propertyId,
CubaEnhancedTable.CellClickListener clickListener) |
void |
setColumnCaptionAsHtml(java.lang.Object columnId,
boolean captionAsHtml)
Sets whether caption of column with the given
columnId should be interpreted as HTML or not. |
void |
setColumnDescription(java.lang.Object columnId,
java.lang.String description) |
void |
setColumnSortable(java.lang.Object columnId,
boolean sortable) |
void |
setContextMenuEnabled(boolean contextMenuEnabled) |
void |
setContextMenuPopup(com.vaadin.ui.Layout contextMenu) |
void |
setCustomCellValueFormatter(CubaEnhancedTable.CellValueFormatter cellValueFormatter) |
void |
setCustomPopupAutoClose(boolean popupAutoClose) |
void |
setEditableColumns(java.lang.Object[] editableColumns) |
void |
setIconProvider(java.util.function.Function<java.lang.Object,com.vaadin.server.Resource> iconProvider) |
void |
setMultiLineCells(boolean multiLineCells) |
void |
setPresentations(com.vaadin.ui.Component presentations) |
void |
setShowTotalAggregation(boolean showTotalAggregation) |
void |
setSortAscendingLabel(java.lang.String tableSortAscendingLabel) |
void |
setSortDescendingLabel(java.lang.String tableSortDescendingLabel) |
void |
setSortResetLabel(java.lang.String tableSortResetLabel) |
void |
setSpecificVariablesHandler(CubaEnhancedTable.SpecificVariablesHandler handler) |
void |
setTextSelectionEnabled(boolean textSelectionEnabled) |
void |
showCustomPopup(com.vaadin.ui.Component popupComponent) |
addContainerPropertyAggregation, aggregate, aggregateValues, getAggregationPropertyIds, removeContainerPropertyAggregation
void setContextMenuPopup(com.vaadin.ui.Layout contextMenu)
void hideContextMenuPopup()
com.vaadin.ui.Component getPresentations()
void setPresentations(com.vaadin.ui.Component presentations)
void hidePresentationsPopup()
java.lang.Object[] getEditableColumns()
void setEditableColumns(java.lang.Object[] editableColumns)
java.lang.String getSortDescendingLabel()
void setSortDescendingLabel(java.lang.String tableSortDescendingLabel)
java.lang.String getSortAscendingLabel()
void setSortAscendingLabel(java.lang.String tableSortAscendingLabel)
java.lang.String getSortResetLabel()
void setSortResetLabel(java.lang.String tableSortResetLabel)
boolean isColumnEditable(java.lang.Object columnId)
void setMultiLineCells(boolean multiLineCells)
boolean isMultiLineCells()
boolean isContextMenuEnabled()
void setContextMenuEnabled(boolean contextMenuEnabled)
boolean isTextSelectionEnabled()
void setTextSelectionEnabled(boolean textSelectionEnabled)
boolean disableContentBufferRefreshing()
void enableContentBufferRefreshing(boolean refreshContent)
boolean isAutowirePropertyDsForFields()
void setAutowirePropertyDsForFields(boolean autowirePropertyDsForFields)
void refreshCellStyles()
boolean isAggregatable()
void setAggregatable(boolean aggregatable)
void setAggregationStyle(CubaEnhancedTable.AggregationStyle aggregationStyle)
CubaEnhancedTable.AggregationStyle getAggregationStyle()
boolean isShowTotalAggregation()
void setShowTotalAggregation(boolean showTotalAggregation)
void setClickListener(java.lang.Object propertyId, CubaEnhancedTable.CellClickListener clickListener)
void removeClickListener(java.lang.Object propertyId)
void showCustomPopup(com.vaadin.ui.Component popupComponent)
boolean getCustomPopupAutoClose()
void setCustomPopupAutoClose(boolean popupAutoClose)
java.lang.String getColumnDescription(java.lang.Object columnId)
void setColumnDescription(java.lang.Object columnId, java.lang.String description)
java.lang.String getAggregationDescription(java.lang.Object columnId)
void setAggregationDescription(java.lang.Object columnId, java.lang.String description)
boolean getColumnSortable(java.lang.Object columnId)
void setColumnSortable(java.lang.Object columnId, boolean sortable)
void requestFocus(java.lang.Object itemId, java.lang.Object columnId)
java.util.function.Function<java.lang.Object,com.vaadin.server.Resource> getIconProvider()
void setIconProvider(java.util.function.Function<java.lang.Object,com.vaadin.server.Resource> iconProvider)
void setSpecificVariablesHandler(CubaEnhancedTable.SpecificVariablesHandler handler)
CubaEnhancedTable.SpecificVariablesHandler getSpecificVariablesHandler()
java.util.function.Consumer<com.vaadin.ui.Component> getAfterUnregisterComponentHandler()
void setAfterUnregisterComponentHandler(java.util.function.Consumer<com.vaadin.ui.Component> afterUnregisterComponentHandler)
java.lang.Runnable getBeforeRefreshRowCacheHandler()
void setBeforeRefreshRowCacheHandler(java.lang.Runnable beforeRefreshRowCacheHandler)
void addAggregationEditableColumn(java.lang.Object columnId)
void setAggregationDistributionProvider(java.util.function.Function<CubaEnhancedTable.AggregationInputValueChangeContext,java.lang.Boolean> distributionProvider)
java.util.function.Function<CubaEnhancedTable.AggregationInputValueChangeContext,java.lang.Boolean> getAggregationDistributionProvider()
void setBeforePaintListener(java.lang.Runnable beforePaintListener)
void setCustomCellValueFormatter(CubaEnhancedTable.CellValueFormatter cellValueFormatter)
CubaEnhancedTable.CellValueFormatter getCustomCellValueFormatter()
void setColumnCaptionAsHtml(java.lang.Object columnId, boolean captionAsHtml)
columnId
should be interpreted as HTML or not.columnId
- column idcaptionAsHtml
- interpret caption as HTML or notboolean getColumnCaptionAsHtml(java.lang.Object columnId)
columnId
- column idcolumnId
should be interpreted as HTML or notjava.lang.Object getItemByRowKey(java.lang.String rowKey)
rowKey
- row index in the table