Package io.jmix.ui.widget
Interface JmixEnhancedTable
- All Superinterfaces:
AggregationContainer,com.vaadin.v7.data.Container,Serializable
- All Known Implementing Classes:
GroupTableImpl.JmixGroupTableExt,JmixGroupTable,JmixTable,JmixTreeTable
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic enumstatic interfaceReceives the events if the user clicks on text in a cell or the 'maxTextLength' is set for column cell.static interfacestatic interfaceMarker interface for generated columns which return String value.static interfacestatic classAn event is fired when the user clicks inside the table cell.static interfaceReceives the events when the user clicks on a cell.Nested classes/interfaces inherited from interface io.jmix.ui.widget.data.AggregationContainer
AggregationContainer.Context, AggregationContainer.TypeNested classes/interfaces inherited from interface com.vaadin.v7.data.Container
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAggregationEditableColumn(Object columnId) voidaddTableCellClickListener(Object propertyId, JmixEnhancedTable.TableCellClickListener listener) booleanvoidenableContentBufferRefreshing(boolean refreshContent) Consumer<com.vaadin.ui.Component>getAggregationDescription(Object columnId) booleangetColumnCaptionAsHtml(Object columnId) getColumnDescription(Object columnId) booleangetColumnSortable(Object columnId) booleanObject[]getItemByRowKey(String rowKey) com.vaadin.server.Sizeable.Unitcom.vaadin.server.Sizeable.Unitcom.vaadin.ui.ComponentvoidvoidbooleanbooleanbooleanisColumnEditable(Object columnId) booleanbooleanbooleanbooleanvoidvoidremoveTableCellClickListener(Object propertyId) voidrequestFocus(Object itemId, Object columnId) voidsetAfterUnregisterComponentHandler(Consumer<com.vaadin.ui.Component> afterUnregisterComponentHandler) voidsetAggregatable(boolean aggregatable) voidsetAggregationDescription(Object columnId, String description) voidsetAggregationDistributionProvider(Function<JmixEnhancedTable.AggregationInputValueChangeContext, Boolean> distributionProvider) voidsetAggregationStyle(JmixEnhancedTable.AggregationStyle aggregationStyle) voidsetAutowirePropertyDsForFields(boolean autowirePropertyDsForFields) voidsetBeforePaintListener(Runnable beforePaintListener) voidsetBeforeRefreshRowCacheHandler(Runnable beforeRefreshRowCacheHandler) voidsetColumnCaptionAsHtml(Object columnId, boolean captionAsHtml) Sets whether caption of column with the givencolumnIdshould be interpreted as HTML or not.voidsetColumnDescription(Object columnId, String description) voidsetColumnSortable(Object columnId, boolean sortable) voidsetContextMenuEnabled(boolean contextMenuEnabled) voidsetContextMenuPopup(com.vaadin.ui.Layout contextMenu) voidsetCustomCellValueFormatter(JmixEnhancedTable.CellValueFormatter cellValueFormatter) voidsetCustomPopupAutoClose(boolean popupAutoClose) voidsetDeselectAllLabel(String deselectAllLabel) voidsetEditableColumns(Object[] editableColumns) voidsetEmptyStateLinkClickHandler(Runnable handler) voidsetEmptyStateLinkMessage(String linkMessage) voidsetEmptyStateMessage(String message) voidsetIconProvider(Function<Object, com.vaadin.server.Resource> iconProvider) voidsetMinHeight(String minHeight) voidsetMinWidth(String minWidth) voidsetMultiLineCells(boolean multiLineCells) voidsetPresentationsLayout(com.vaadin.ui.Component presentations) voidsetSelectAllLabel(String selectAllLabel) voidsetShowEmptyState(boolean show) voidsetShowTotalAggregation(boolean showTotalAggregation) voidsetSortAscendingLabel(String tableSortAscendingLabel) voidsetSortDescendingLabel(String tableSortDescendingLabel) voidsetSortOptions(Object propertyId, boolean sortAscending) Sets column id to sort and sorting direction.voidsetSortResetLabel(String tableSortResetLabel) voidvoidsetTextSelectionEnabled(boolean textSelectionEnabled) voidshowCustomPopup(com.vaadin.ui.Component popupComponent) Methods inherited from interface io.jmix.ui.widget.data.AggregationContainer
addContainerPropertyAggregation, aggregate, aggregateValues, getAggregationPropertyIds, removeContainerPropertyAggregationMethods inherited from interface com.vaadin.v7.data.Container
addContainerProperty, addItem, addItem, containsId, getContainerProperty, getContainerPropertyIds, getItem, getItemIds, getType, removeAllItems, removeContainerProperty, removeItem, size
-
Method Details
-
setContextMenuPopup
void setContextMenuPopup(com.vaadin.ui.Layout contextMenu) -
hideContextMenuPopup
void hideContextMenuPopup() -
getPresentationsLayout
@Nullable com.vaadin.ui.Component getPresentationsLayout() -
setPresentationsLayout
void setPresentationsLayout(com.vaadin.ui.Component presentations) -
hidePresentationsPopup
void hidePresentationsPopup() -
getEditableColumns
Object[] getEditableColumns() -
setEditableColumns
-
getSortDescendingLabel
String getSortDescendingLabel() -
setSortDescendingLabel
-
getSortAscendingLabel
String getSortAscendingLabel() -
setSortAscendingLabel
-
getSortResetLabel
String getSortResetLabel() -
setSortResetLabel
-
getSelectAllLabel
String getSelectAllLabel() -
setSelectAllLabel
-
getDeselectAllLabel
String getDeselectAllLabel() -
setDeselectAllLabel
-
isColumnEditable
-
setMultiLineCells
void setMultiLineCells(boolean multiLineCells) -
isMultiLineCells
boolean isMultiLineCells() -
isContextMenuEnabled
boolean isContextMenuEnabled() -
setContextMenuEnabled
void setContextMenuEnabled(boolean contextMenuEnabled) -
isTextSelectionEnabled
boolean isTextSelectionEnabled() -
setTextSelectionEnabled
void setTextSelectionEnabled(boolean textSelectionEnabled) -
disableContentBufferRefreshing
boolean disableContentBufferRefreshing() -
enableContentBufferRefreshing
void enableContentBufferRefreshing(boolean refreshContent) -
isAutowirePropertyDsForFields
boolean isAutowirePropertyDsForFields() -
setAutowirePropertyDsForFields
void setAutowirePropertyDsForFields(boolean autowirePropertyDsForFields) -
refreshCellStyles
void refreshCellStyles() -
isAggregatable
boolean isAggregatable() -
setAggregatable
void setAggregatable(boolean aggregatable) -
setAggregationStyle
-
getAggregationStyle
JmixEnhancedTable.AggregationStyle getAggregationStyle() -
isShowTotalAggregation
boolean isShowTotalAggregation() -
setShowTotalAggregation
void setShowTotalAggregation(boolean showTotalAggregation) -
addTableCellClickListener
void addTableCellClickListener(Object propertyId, JmixEnhancedTable.TableCellClickListener listener) -
removeTableCellClickListener
-
showCustomPopup
void showCustomPopup(com.vaadin.ui.Component popupComponent) -
getCustomPopupAutoClose
boolean getCustomPopupAutoClose() -
setCustomPopupAutoClose
void setCustomPopupAutoClose(boolean popupAutoClose) -
getColumnDescription
-
setColumnDescription
-
getAggregationDescription
-
setAggregationDescription
-
getColumnSortable
-
setColumnSortable
-
requestFocus
-
getIconProvider
-
setIconProvider
-
setSpecificVariablesHandler
-
getSpecificVariablesHandler
JmixEnhancedTable.SpecificVariablesHandler getSpecificVariablesHandler() -
getAfterUnregisterComponentHandler
Consumer<com.vaadin.ui.Component> getAfterUnregisterComponentHandler() -
setAfterUnregisterComponentHandler
void setAfterUnregisterComponentHandler(Consumer<com.vaadin.ui.Component> afterUnregisterComponentHandler) -
getBeforeRefreshRowCacheHandler
Runnable getBeforeRefreshRowCacheHandler() -
setBeforeRefreshRowCacheHandler
-
addAggregationEditableColumn
-
setAggregationDistributionProvider
void setAggregationDistributionProvider(Function<JmixEnhancedTable.AggregationInputValueChangeContext, Boolean> distributionProvider) -
getAggregationDistributionProvider
Function<JmixEnhancedTable.AggregationInputValueChangeContext,Boolean> getAggregationDistributionProvider() -
setSortOptions
Sets column id to sort and sorting direction. It doesn't invoke sorting after setting parameters.- Parameters:
propertyId- column idsortAscending- sort ascending option
-
setBeforePaintListener
-
setCustomCellValueFormatter
-
getCustomCellValueFormatter
-
setColumnCaptionAsHtml
Sets whether caption of column with the givencolumnIdshould be interpreted as HTML or not.- Parameters:
columnId- column idcaptionAsHtml- interpret caption as HTML or not
-
getColumnCaptionAsHtml
- Parameters:
columnId- column id- Returns:
- whether caption of column with the given
columnIdshould be interpreted as HTML or not
-
getItemByRowKey
- Parameters:
rowKey- row index in the table- Returns:
- item
-
setShowEmptyState
void setShowEmptyState(boolean show) -
setEmptyStateMessage
-
getEmptyStateMessage
-
setEmptyStateLinkMessage
-
getEmptyStateLinkMessage
-
setEmptyStateLinkClickHandler
-
getMinHeight
-
getMinHeightSizeUnit
@Nullable com.vaadin.server.Sizeable.Unit getMinHeightSizeUnit() -
setMinHeight
-
getMinWidth
-
getMinWidthSizeUnit
@Nullable com.vaadin.server.Sizeable.Unit getMinWidthSizeUnit() -
setMinWidth
-