Interface JmixEnhancedTable

All Superinterfaces:
AggregationContainer, com.vaadin.v7.data.Container, Serializable
All Known Implementing Classes:
GroupTableImpl.JmixGroupTableExt, JmixGroupTable, JmixTable, JmixTreeTable

public interface JmixEnhancedTable extends AggregationContainer
Interface to generalize additional functionality in JmixTable, JmixGroupTable and JmixTreeTable
  • 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

      void setEditableColumns(Object[] editableColumns)
    • getSortDescendingLabel

      String getSortDescendingLabel()
    • setSortDescendingLabel

      void setSortDescendingLabel(String tableSortDescendingLabel)
    • getSortAscendingLabel

      String getSortAscendingLabel()
    • setSortAscendingLabel

      void setSortAscendingLabel(String tableSortAscendingLabel)
    • getSortResetLabel

      String getSortResetLabel()
    • setSortResetLabel

      void setSortResetLabel(String tableSortResetLabel)
    • getSelectAllLabel

      String getSelectAllLabel()
    • setSelectAllLabel

      void setSelectAllLabel(String selectAllLabel)
    • getDeselectAllLabel

      String getDeselectAllLabel()
    • setDeselectAllLabel

      void setDeselectAllLabel(String deselectAllLabel)
    • isColumnEditable

      boolean isColumnEditable(Object columnId)
    • 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

      void setAggregationStyle(JmixEnhancedTable.AggregationStyle aggregationStyle)
    • getAggregationStyle

      JmixEnhancedTable.AggregationStyle getAggregationStyle()
    • isShowTotalAggregation

      boolean isShowTotalAggregation()
    • setShowTotalAggregation

      void setShowTotalAggregation(boolean showTotalAggregation)
    • addTableCellClickListener

      void addTableCellClickListener(Object propertyId, JmixEnhancedTable.TableCellClickListener listener)
    • removeTableCellClickListener

      void removeTableCellClickListener(Object propertyId)
    • showCustomPopup

      void showCustomPopup(com.vaadin.ui.Component popupComponent)
    • getCustomPopupAutoClose

      boolean getCustomPopupAutoClose()
    • setCustomPopupAutoClose

      void setCustomPopupAutoClose(boolean popupAutoClose)
    • getColumnDescription

      @Nullable String getColumnDescription(Object columnId)
    • setColumnDescription

      void setColumnDescription(Object columnId, @Nullable String description)
    • getAggregationDescription

      @Nullable String getAggregationDescription(Object columnId)
    • setAggregationDescription

      void setAggregationDescription(Object columnId, @Nullable String description)
    • getColumnSortable

      boolean getColumnSortable(Object columnId)
    • setColumnSortable

      void setColumnSortable(Object columnId, boolean sortable)
    • requestFocus

      void requestFocus(Object itemId, Object columnId)
    • getIconProvider

      Function<Object,com.vaadin.server.Resource> getIconProvider()
    • setIconProvider

      void setIconProvider(Function<Object,com.vaadin.server.Resource> iconProvider)
    • setSpecificVariablesHandler

      void setSpecificVariablesHandler(JmixEnhancedTable.SpecificVariablesHandler handler)
    • getSpecificVariablesHandler

      JmixEnhancedTable.SpecificVariablesHandler getSpecificVariablesHandler()
    • getAfterUnregisterComponentHandler

      Consumer<com.vaadin.ui.Component> getAfterUnregisterComponentHandler()
    • setAfterUnregisterComponentHandler

      void setAfterUnregisterComponentHandler(Consumer<com.vaadin.ui.Component> afterUnregisterComponentHandler)
    • getBeforeRefreshRowCacheHandler

      Runnable getBeforeRefreshRowCacheHandler()
    • setBeforeRefreshRowCacheHandler

      void setBeforeRefreshRowCacheHandler(Runnable beforeRefreshRowCacheHandler)
    • addAggregationEditableColumn

      void addAggregationEditableColumn(Object columnId)
    • setAggregationDistributionProvider

      void setAggregationDistributionProvider(Function<JmixEnhancedTable.AggregationInputValueChangeContext,Boolean> distributionProvider)
    • getAggregationDistributionProvider

    • setSortOptions

      void setSortOptions(Object propertyId, boolean sortAscending)
      Sets column id to sort and sorting direction. It doesn't invoke sorting after setting parameters.
      Parameters:
      propertyId - column id
      sortAscending - sort ascending option
    • setBeforePaintListener

      void setBeforePaintListener(Runnable beforePaintListener)
    • setCustomCellValueFormatter

      void setCustomCellValueFormatter(@Nullable JmixEnhancedTable.CellValueFormatter cellValueFormatter)
    • getCustomCellValueFormatter

      @Nullable JmixEnhancedTable.CellValueFormatter getCustomCellValueFormatter()
    • setColumnCaptionAsHtml

      void setColumnCaptionAsHtml(Object columnId, boolean captionAsHtml)
      Sets whether caption of column with the given columnId should be interpreted as HTML or not.
      Parameters:
      columnId - column id
      captionAsHtml - interpret caption as HTML or not
    • getColumnCaptionAsHtml

      boolean getColumnCaptionAsHtml(Object columnId)
      Parameters:
      columnId - column id
      Returns:
      whether caption of column with the given columnId should be interpreted as HTML or not
    • getItemByRowKey

      Object getItemByRowKey(String rowKey)
      Parameters:
      rowKey - row index in the table
      Returns:
      item
    • setShowEmptyState

      void setShowEmptyState(boolean show)
    • setEmptyStateMessage

      void setEmptyStateMessage(@Nullable String message)
    • getEmptyStateMessage

      @Nullable String getEmptyStateMessage()
    • setEmptyStateLinkMessage

      void setEmptyStateLinkMessage(@Nullable String linkMessage)
    • getEmptyStateLinkMessage

      @Nullable String getEmptyStateLinkMessage()
    • setEmptyStateLinkClickHandler

      void setEmptyStateLinkClickHandler(Runnable handler)
    • getMinHeight

      @Nullable Float getMinHeight()
    • getMinHeightSizeUnit

      @Nullable com.vaadin.server.Sizeable.Unit getMinHeightSizeUnit()
    • setMinHeight

      void setMinHeight(@Nullable String minHeight)
    • getMinWidth

      @Nullable Float getMinWidth()
    • getMinWidthSizeUnit

      @Nullable com.vaadin.server.Sizeable.Unit getMinWidthSizeUnit()
    • setMinWidth

      void setMinWidth(@Nullable String minWidth)