public class CubaTable extends com.vaadin.v7.ui.Table implements TableSortableContainer, CubaEnhancedTable
com.vaadin.v7.ui.Table.Align, com.vaadin.v7.ui.Table.CacheUpdateException, com.vaadin.v7.ui.Table.CellStyleGenerator, com.vaadin.v7.ui.Table.ColumnCollapseEvent, com.vaadin.v7.ui.Table.ColumnCollapseListener, com.vaadin.v7.ui.Table.ColumnGenerator, com.vaadin.v7.ui.Table.ColumnHeaderMode, com.vaadin.v7.ui.Table.ColumnReorderEvent, com.vaadin.v7.ui.Table.ColumnReorderListener, com.vaadin.v7.ui.Table.ColumnResizeEvent, com.vaadin.v7.ui.Table.ColumnResizeListener, com.vaadin.v7.ui.Table.FooterClickEvent, com.vaadin.v7.ui.Table.FooterClickListener, com.vaadin.v7.ui.Table.GeneratedRow, com.vaadin.v7.ui.Table.HeaderClickEvent, com.vaadin.v7.ui.Table.HeaderClickListener, com.vaadin.v7.ui.Table.RowGenerator, com.vaadin.v7.ui.Table.RowHeaderMode, com.vaadin.v7.ui.Table.TableContextClickEvent, com.vaadin.v7.ui.Table.TableDragMode, com.vaadin.v7.ui.Table.TableDropCriterion, com.vaadin.v7.ui.Table.TableTransferable
com.vaadin.v7.ui.AbstractSelect.AbstractSelectTargetDetails, com.vaadin.v7.ui.AbstractSelect.AcceptItem, com.vaadin.v7.ui.AbstractSelect.CaptionChangeListener, com.vaadin.v7.ui.AbstractSelect.DefaultNewItemHandler, com.vaadin.v7.ui.AbstractSelect.Filtering, com.vaadin.v7.ui.AbstractSelect.ItemCaptionMode, com.vaadin.v7.ui.AbstractSelect.ItemDescriptionGenerator, com.vaadin.v7.ui.AbstractSelect.NewItemHandler, com.vaadin.v7.ui.AbstractSelect.TargetItemIs, com.vaadin.v7.ui.AbstractSelect.VerticalLocationIs
com.vaadin.v7.ui.AbstractField.FocusShortcut, com.vaadin.v7.ui.AbstractField.ReadOnlyStatusChangeEvent
com.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandler
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
CubaEnhancedTable.AggregationInputValueChangeContext, CubaEnhancedTable.AggregationStyle, CubaEnhancedTable.CellClickListener, CubaEnhancedTable.CellValueFormatter, CubaEnhancedTable.PlainTextGeneratedColumn, CubaEnhancedTable.SpecificVariablesHandler
AggregationContainer.Context, AggregationContainer.Type
com.vaadin.ui.HasChildMeasurementHint.ChildMeasurementHint
com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListener
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.HasContextHelp, com.vaadin.ui.Component.Listener
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
com.vaadin.server.Sizeable.Unit
com.vaadin.v7.ui.Field.ValueChangeEvent
com.vaadin.v7.data.Buffered.SourceException
com.vaadin.v7.data.Property.Editor, com.vaadin.v7.data.Property.ReadOnlyException, com.vaadin.v7.data.Property.ReadOnlyStatusChangeListener, com.vaadin.v7.data.Property.ReadOnlyStatusChangeNotifier, com.vaadin.v7.data.Property.Transactional<T>, com.vaadin.v7.data.Property.ValueChangeListener, com.vaadin.v7.data.Property.ValueChangeNotifier, com.vaadin.v7.data.Property.Viewer
Modifier and Type | Field and Description |
---|---|
protected java.util.function.Consumer<com.vaadin.ui.Component> |
afterUnregisterComponentHandler |
protected java.util.function.Function<CubaEnhancedTable.AggregationInputValueChangeContext,java.lang.Boolean> |
aggregationDistributionProvider |
protected java.util.List<java.lang.Object> |
aggregationEditableColumns |
protected CubaEnhancedTable.AggregationStyle |
aggregationStyle |
protected java.util.Map<java.lang.Object,java.lang.String> |
aggregationTooltips |
protected boolean |
autowirePropertyDsForFields |
protected java.lang.Runnable |
beforePaintListener |
protected java.lang.Runnable |
beforeRefreshRowCacheHandler |
protected java.util.Map<java.lang.Object,CubaEnhancedTable.CellClickListener> |
cellClickListeners |
protected java.util.Map<java.lang.Object,java.lang.String> |
columnDescriptions |
protected CubaEnhancedTable.CellValueFormatter |
customCellValueFormatter |
protected java.util.List<java.lang.Object> |
editableColumns |
protected java.lang.Object |
focusColumn |
protected java.lang.Object |
focusItem |
protected java.lang.String |
focusTotalAggregationInputColumnKey |
protected java.util.Set<java.lang.Object> |
htmlCaptionColumns |
protected java.util.function.Function<java.lang.Object,com.vaadin.server.Resource> |
iconProvider |
protected java.util.Set<java.lang.Object> |
nonSortableProperties |
protected java.lang.Object |
scrollToItemId |
protected com.vaadin.event.ActionManager |
shortcutActionManager
Keeps track of the ShortcutListeners added to this component, and manages the painting and handling as well.
|
protected boolean |
showTotalAggregation |
protected CubaEnhancedTable.SpecificVariablesHandler |
specificVariablesHandler |
ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, alwaysRecalculateColumnWidths, CELL_FIRSTCOL, CELL_GENERATED_ROW, CELL_HEADER, CELL_ICON, CELL_ITEMID, CELL_KEY, COLUMN_HEADER_MODE_EXPLICIT, COLUMN_HEADER_MODE_EXPLICIT_DEFAULTS_ID, COLUMN_HEADER_MODE_HIDDEN, COLUMN_HEADER_MODE_ID, reqFirstRowToPaint, ROW_HEADER_MODE_EXPLICIT, ROW_HEADER_MODE_EXPLICIT_DEFAULTS_ID, ROW_HEADER_MODE_HIDDEN, ROW_HEADER_MODE_ICON_ONLY, ROW_HEADER_MODE_ID, ROW_HEADER_MODE_INDEX, ROW_HEADER_MODE_ITEM, ROW_HEADER_MODE_PROPERTY, sortAscending, sortContainerPropertyId
ITEM_CAPTION_MODE_EXPLICIT, ITEM_CAPTION_MODE_EXPLICIT_DEFAULTS_ID, ITEM_CAPTION_MODE_ICON_ONLY, ITEM_CAPTION_MODE_ID, ITEM_CAPTION_MODE_INDEX, ITEM_CAPTION_MODE_ITEM, ITEM_CAPTION_MODE_PROPERTY, itemIdMapper, items, resetValueToNullOnContainerChange
Constructor and Description |
---|
CubaTable() |
Modifier and Type | Method and Description |
---|---|
void |
addAggregationEditableColumn(java.lang.Object columnId) |
void |
addContainerPropertyAggregation(java.lang.Object propertyId,
AggregationContainer.Type type) |
void |
addGeneratedColumn(java.lang.Object id,
com.vaadin.v7.ui.Table.ColumnGenerator generatedColumn) |
com.vaadin.shared.Registration |
addShortcutListener(com.vaadin.event.ShortcutListener shortcut) |
java.util.Map<java.lang.Object,java.lang.Object> |
aggregate(AggregationContainer.Context context)
Perform aggregation and return map with formatted string values.
|
java.util.Map<java.lang.Object,java.lang.Object> |
aggregateValues(AggregationContainer.Context context)
Perform aggregation and return map with aggregation info and aggregation column type, i.e.
|
void |
beforeClientResponse(boolean initial) |
protected boolean |
changeVariables(java.util.Map<java.lang.String,java.lang.Object> variables) |
void |
changeVariables(java.lang.Object source,
java.util.Map<java.lang.String,java.lang.Object> variables) |
protected com.vaadin.v7.data.Container |
createOrderedWrapper(com.vaadin.v7.data.Container newDataSource) |
boolean |
disableContentBufferRefreshing() |
void |
enableContentBufferRefreshing(boolean refreshContent) |
protected void |
fireValueChange(boolean repaintIsNotNeeded) |
protected java.lang.String |
formatPropertyValue(java.lang.Object rowId,
java.lang.Object colId,
com.vaadin.v7.data.Property<?> property) |
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() |
protected java.util.Collection<?> |
getAggregationItemIds() |
java.util.Collection |
getAggregationPropertyIds() |
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.server.Resource |
getItemIcon(java.lang.Object itemId) |
com.vaadin.ui.Component |
getPresentations() |
protected java.lang.Object |
getPropertyValue(java.lang.Object rowId,
java.lang.Object colId,
com.vaadin.v7.data.Property property) |
java.util.Collection<?> |
getSortableContainerPropertyIds() |
java.lang.String |
getSortAscendingLabel() |
java.lang.String |
getSortDescendingLabel() |
java.lang.String |
getSortResetLabel() |
CubaEnhancedTable.SpecificVariablesHandler |
getSpecificVariablesHandler() |
protected com.haulmont.cuba.web.widgets.client.table.CubaTableState |
getState() |
protected com.haulmont.cuba.web.widgets.client.table.CubaTableState |
getState(boolean markAsDirty) |
protected void |
handleAggregationGroupInputChange(java.lang.String columnKey,
java.lang.String groupKey,
java.lang.String value,
boolean isFocused) |
void |
hideContextMenuPopup() |
void |
hidePresentationsPopup() |
boolean |
isAggregatable() |
boolean |
isAutowirePropertyDsForFields() |
boolean |
isColumnEditable(java.lang.Object columnId) |
protected boolean |
isColumnEditable(java.lang.Object columnId,
boolean editable) |
boolean |
isContextMenuEnabled() |
boolean |
isMultiLineCells() |
boolean |
isShowTotalAggregation() |
boolean |
isTextSelectionEnabled() |
java.util.Iterator<com.vaadin.ui.Component> |
iterator() |
protected void |
paintActions(com.vaadin.server.PaintTarget target,
java.util.Set<com.vaadin.event.Action> actionSet) |
protected void |
paintAdditionalData(com.vaadin.server.PaintTarget target) |
protected void |
paintAggregationRow(com.vaadin.server.PaintTarget target,
java.util.Map<java.lang.Object,java.lang.Object> aggregations) |
void |
paintContent(com.vaadin.server.PaintTarget target) |
protected void |
paintEditableAggregationColumns(com.vaadin.server.PaintTarget target) |
void |
refreshCellStyles() |
void |
refreshRowCache() |
void |
removeClickListener(java.lang.Object propertyId) |
boolean |
removeContainerProperty(java.lang.Object propertyId) |
void |
removeContainerPropertyAggregation(java.lang.Object propertyId) |
void |
removeShortcutListener(com.vaadin.event.ShortcutListener shortcut) |
void |
requestFocus(java.lang.Object itemId,
java.lang.Object columnId) |
void |
resetSortOrder() |
void |
setAfterUnregisterComponentHandler(java.util.function.Consumer<com.vaadin.ui.Component> afterUnregisterComponentHandler) |
void |
setAggregatable(boolean aggregatable) |
void |
setAggregationDescription(java.lang.Object columnId,
java.lang.String tooltip) |
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 |
setCurrentPageFirstItemId(java.lang.Object currentPageFirstItemId) |
void |
setCustomCellValueFormatter(CubaEnhancedTable.CellValueFormatter customCellValueFormatter) |
void |
setCustomPopupAutoClose(boolean popupAutoClose) |
void |
setEditable(boolean editable) |
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) |
protected void |
unregisterComponent(com.vaadin.ui.Component component) |
protected void |
updateAggregatableTooltips() |
protected void |
updateClickableColumnKeys() |
protected void |
updateColumnDescriptions() |
protected void |
updateFooterAggregation() |
protected void |
updateHtmlCaptionColumns() |
_associatedProperties, _columnGenerators, _columnIdMap, _fieldFactory, _setCurrentPageFirstItemIndex, _visibleColumns, _visibleComponents, addActionHandler, addColumnCollapseListener, addColumnReorderListener, addColumnResizeListener, addContainerProperty, addContainerProperty, addFooterClickListener, addHeaderClickListener, addItem, addItemAfter, addItemAfter, addItemClickListener, addListener, addListener, addListener, addListener, addListener, attach, bindPropertyToField, containerItemSetChange, containerPropertySetChange, detach, disableContentRefreshing, enableContentRefreshing, firstItemId, getAddedRowCount, getCacheRate, getCellStyleGenerator, getChildMeasurementHint, getCollapseMenuContent, getColumnAlignment, getColumnAlignments, getColumnExpandRatio, getColumnFooter, getColumnGenerator, getColumnHeader, getColumnHeaderMode, getColumnHeaders, getColumnIcon, getColumnIcons, getColumnWidth, getComponentIterator, getConverter, getCurrentPageFirstItemId, getCurrentPageFirstItemIndex, getCustomAttributes, getDragMode, getDropHandler, getFirstAddedItemIndex, getFirstUpdatedItemIndex, getIdByIndex, getItemDescriptionGenerator, getItemIds, getItemIdsInRange, getMultiSelectMode, getPageLength, getRowGenerator, getRowHeaderMode, getSortContainerPropertyId, getTableFieldFactory, getTransferable, getUpdatedRowCount, getVisibleColumns, getVisibleItemIds, hasConverter, indexOfId, isCellPaintingNeeded, isColumnCollapsed, isColumnCollapsible, isColumnCollapsingAllowed, isColumnNeedsToRefreshRendered, isColumnReorderingAllowed, isEditable, isFirstId, isFooterVisible, isItemNeedsToRefreshRendered, isLastId, isPartialRowUpdate, isRowCacheInvalidated, isSelectable, isSortAscending, isSortDisabled, isSortEnabled, lastItemId, markAsDirty, markAsDirtyRecursive, nextItemId, paintRowAttributes, paintRowHeader, paintRowIcon, paintVisibleColumns, prevItemId, readBody, readDesign, readItem, readItems, refreshRenderedCells, registerComponent, removeActionHandler, removeAllActionHandlers, removeAllItems, removeColumnCollapseListener, removeColumnReorderListener, removeColumnResizeListener, removeFooterClickListener, removeGeneratedColumn, removeHeaderClickListener, removeItem, removeItemClickListener, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, resetPageBuffer, rowHeadersAreEnabled, setCacheRate, setCellStyleGenerator, setChildMeasurementHint, setCollapseMenuContent, setColumnAlignment, setColumnAlignments, setColumnCollapsed, setColumnCollapsible, setColumnCollapsingAllowed, setColumnExpandRatio, setColumnFooter, setColumnHeader, setColumnHeaderMode, setColumnHeaders, setColumnIcon, setColumnIcons, setColumnReorderingAllowed, setColumnWidth, setContainerDataSource, setContainerDataSource, setContainerSortOptions, setConverter, setCurrentPageFirstItemIndex, setCurrentPageFirstItemIndex, setDragMode, setDropHandler, setEnabled, setFooterVisible, setItemDescriptionGenerator, setMultiSelectMode, setNewItemsAllowed, setPageLength, setRowGenerator, setRowHeaderMode, setSelectable, setSortAscending, setSortContainerPropertyId, setSortDisabled, setSortEnabled, setTableFieldFactory, setVisible, setVisibleColumns, shouldHideAddedRows, sort, sort, translateDropTargetDetails, valueChange, writeDesign, writeItem, writeItems
addItem, addItem, addItems, addItems, addItemSetChangeListener, addListener, addListener, addPropertySetChangeListener, containsId, fireItemSetChange, firePropertySetChange, getCaptionChangeListener, getContainerDataSource, getContainerProperty, getContainerPropertyIds, getItem, getItemCaption, getItemCaptionMode, getItemCaptionPropertyId, getItemIconPropertyId, getItemIds, getListeners, getNewItemHandler, getNullSelectionItemId, getType, getType, getValue, isDataSourceContainsValue, isEmpty, isMultiSelect, isNewItemsAllowed, isNullSelectionAllowed, isSelected, paintItem, removeItemSetChangeListener, removeListener, removeListener, removePropertySetChangeListener, sanitizeSelection, select, setItemCaption, setItemCaptionMode, setItemCaptionPropertyId, setItemIcon, setItemIconPropertyId, setMultiSelect, setNewItemHandler, setNullSelectionAllowed, setNullSelectionItemId, setValue, setValue, size, unselect
addListener, addListener, addReadOnlyStatusChangeListener, addValidator, addValueChangeListener, clear, commit, discard, fieldValueEquals, fireReadOnlyStatusChange, focus, getConversionError, getConversionError, getConvertedValue, getConverter, getCurrentBufferedSourceException, getErrorMessage, getInternalValue, getModelType, getPropertyDataSource, getRequiredError, getTabIndex, getValidators, isBuffered, isInvalidAllowed, isInvalidCommitted, isModified, isReadOnly, isRequired, isShowBufferedSourceException, isShowErrorForDisabledState, isValid, isValidationVisible, readOnlyStatusChange, removeAllValidators, removeListener, removeListener, removeReadOnlyStatusChangeListener, removeValidator, removeValueChangeListener, setBuffered, setConversionError, setConvertedValue, setConverter, setConverter, setCurrentBufferedSourceException, setInternalValue, setInvalidAllowed, setInvalidCommitted, setLocale, setPropertyDataSource, setReadOnly, setRequired, setRequiredError, setShowBufferedSourceException, setShowErrorForDisabledState, setTabIndex, setValidationVisible, setValue, setValueIgnoreReadOnly, shouldHideErrors, validate, validate
getExplicitImmediateValue, isImmediate, setImmediate
addContextClickListener, addContextHelpIconClickListener, addListener, addStyleName, ensureContextHelpInitialized, findAncestor, fireComponentErrorEvent, fireComponentEvent, fireContextHelpClick, getActionManager, getCaption, getComponentError, getComponentErrorProvider, getContextHelpText, getCubaId, getData, getDebugId, getDescription, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isContextHelpTextHtmlEnabled, isEnabled, isOrHasAncestor, isRequiredIndicatorVisible, isResponsive, isVisible, removeContextClickListener, removeListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setComponentErrorProvider, setContextHelpText, setContextHelpTextHtmlEnabled, setCubaId, setData, setDebugId, setDescription, setDescription, setHeight, setHeight, setHeightUndefined, setIcon, setId, setParent, setPrimaryStyleName, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setWidth, setWidth, setWidthUndefined
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getIncorrectConcurrentAccessHandler, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaintAll, retrievePendingRpcCalls, setConnectorResource, setErrorHandler, setIncorrectConcurrentAccessHandler, setResource, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addItemAfter, addItemAfter, firstItemId, isFirstId, isLastId, lastItemId, nextItemId, prevItemId
addContainerProperty, addItem, addItem, containsId, getContainerProperty, getContainerPropertyIds, getItem, getItemIds, getType, removeAllItems, removeItem, size
addListener, addStyleName, addStyleNames, getCaption, getCubaId, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, removeListener, removeStyleName, removeStyleNames, setCaption, setCubaId, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName
addAttachListener, addDetachListener, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, removeAttachListener, removeDetachListener, removeExtension, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
protected java.util.List<java.lang.Object> editableColumns
protected java.util.List<java.lang.Object> aggregationEditableColumns
protected com.vaadin.event.ActionManager shortcutActionManager
protected boolean autowirePropertyDsForFields
protected boolean showTotalAggregation
protected java.util.Set<java.lang.Object> nonSortableProperties
protected java.util.Map<java.lang.Object,CubaEnhancedTable.CellClickListener> cellClickListeners
protected java.util.Map<java.lang.Object,java.lang.String> columnDescriptions
protected java.util.Map<java.lang.Object,java.lang.String> aggregationTooltips
protected java.util.Set<java.lang.Object> htmlCaptionColumns
protected CubaEnhancedTable.AggregationStyle aggregationStyle
protected java.lang.Object focusColumn
protected java.lang.Object focusItem
protected java.lang.Runnable beforePaintListener
protected CubaEnhancedTable.CellValueFormatter customCellValueFormatter
protected java.util.function.Function<java.lang.Object,com.vaadin.server.Resource> iconProvider
protected CubaEnhancedTable.SpecificVariablesHandler specificVariablesHandler
protected java.lang.String focusTotalAggregationInputColumnKey
protected java.util.function.Function<CubaEnhancedTable.AggregationInputValueChangeContext,java.lang.Boolean> aggregationDistributionProvider
protected java.util.function.Consumer<com.vaadin.ui.Component> afterUnregisterComponentHandler
protected java.lang.Runnable beforeRefreshRowCacheHandler
protected java.lang.Object scrollToItemId
protected com.haulmont.cuba.web.widgets.client.table.CubaTableState getState()
getState
in class com.vaadin.v7.ui.Table
protected com.haulmont.cuba.web.widgets.client.table.CubaTableState getState(boolean markAsDirty)
getState
in class com.vaadin.v7.ui.Table
public com.vaadin.ui.Component getPresentations()
getPresentations
in interface CubaEnhancedTable
public void setPresentations(com.vaadin.ui.Component presentations)
setPresentations
in interface CubaEnhancedTable
public void hidePresentationsPopup()
hidePresentationsPopup
in interface CubaEnhancedTable
public void setContextMenuPopup(com.vaadin.ui.Layout contextMenu)
setContextMenuPopup
in interface CubaEnhancedTable
public void hideContextMenuPopup()
hideContextMenuPopup
in interface CubaEnhancedTable
public boolean isTextSelectionEnabled()
isTextSelectionEnabled
in interface CubaEnhancedTable
public void setTextSelectionEnabled(boolean textSelectionEnabled)
setTextSelectionEnabled
in interface CubaEnhancedTable
public void setSortResetLabel(java.lang.String tableSortResetLabel)
setSortResetLabel
in interface CubaEnhancedTable
public java.lang.String getSortResetLabel()
getSortResetLabel
in interface CubaEnhancedTable
public void setSortAscendingLabel(java.lang.String tableSortAscendingLabel)
setSortAscendingLabel
in interface CubaEnhancedTable
public java.lang.String getSortAscendingLabel()
getSortAscendingLabel
in interface CubaEnhancedTable
public void setSortDescendingLabel(java.lang.String tableSortDescendingLabel)
setSortDescendingLabel
in interface CubaEnhancedTable
public java.lang.String getSortDescendingLabel()
getSortDescendingLabel
in interface CubaEnhancedTable
public boolean disableContentBufferRefreshing()
disableContentBufferRefreshing
in interface CubaEnhancedTable
public void enableContentBufferRefreshing(boolean refreshContent)
enableContentBufferRefreshing
in interface CubaEnhancedTable
protected java.lang.Object getPropertyValue(java.lang.Object rowId, java.lang.Object colId, com.vaadin.v7.data.Property property)
getPropertyValue
in class com.vaadin.v7.ui.Table
public boolean isAutowirePropertyDsForFields()
isAutowirePropertyDsForFields
in interface CubaEnhancedTable
public void setAutowirePropertyDsForFields(boolean autowirePropertyDsForFields)
setAutowirePropertyDsForFields
in interface CubaEnhancedTable
public boolean isContextMenuEnabled()
isContextMenuEnabled
in interface CubaEnhancedTable
public void setContextMenuEnabled(boolean contextMenuEnabled)
setContextMenuEnabled
in interface CubaEnhancedTable
public void setMultiLineCells(boolean multiLineCells)
setMultiLineCells
in interface CubaEnhancedTable
public boolean isMultiLineCells()
isMultiLineCells
in interface CubaEnhancedTable
public CubaEnhancedTable.CellValueFormatter getCustomCellValueFormatter()
getCustomCellValueFormatter
in interface CubaEnhancedTable
public void setCustomCellValueFormatter(CubaEnhancedTable.CellValueFormatter customCellValueFormatter)
setCustomCellValueFormatter
in interface CubaEnhancedTable
protected void updateHtmlCaptionColumns()
public void setColumnCaptionAsHtml(java.lang.Object columnId, boolean captionAsHtml)
CubaEnhancedTable
columnId
should be interpreted as HTML or not.setColumnCaptionAsHtml
in interface CubaEnhancedTable
columnId
- column idcaptionAsHtml
- interpret caption as HTML or notpublic boolean getColumnCaptionAsHtml(java.lang.Object columnId)
getColumnCaptionAsHtml
in interface CubaEnhancedTable
columnId
- column idcolumnId
should be interpreted as HTML or notprotected java.lang.String formatPropertyValue(java.lang.Object rowId, java.lang.Object colId, com.vaadin.v7.data.Property<?> property)
formatPropertyValue
in class com.vaadin.v7.ui.Table
public void changeVariables(java.lang.Object source, java.util.Map<java.lang.String,java.lang.Object> variables)
changeVariables
in interface com.vaadin.server.VariableOwner
changeVariables
in class com.vaadin.v7.ui.Table
public java.lang.Object[] getEditableColumns()
getEditableColumns
in interface CubaEnhancedTable
public void setEditableColumns(java.lang.Object[] editableColumns)
setEditableColumns
in interface CubaEnhancedTable
protected boolean isColumnEditable(java.lang.Object columnId, boolean editable)
isColumnEditable
in class com.vaadin.v7.ui.Table
public boolean isColumnEditable(java.lang.Object columnId)
isColumnEditable
in interface CubaEnhancedTable
public void addGeneratedColumn(java.lang.Object id, com.vaadin.v7.ui.Table.ColumnGenerator generatedColumn)
addGeneratedColumn
in class com.vaadin.v7.ui.Table
public void setEditable(boolean editable)
setEditable
in class com.vaadin.v7.ui.Table
public com.vaadin.shared.Registration addShortcutListener(com.vaadin.event.ShortcutListener shortcut)
addShortcutListener
in interface com.vaadin.event.Action.ShortcutNotifier
addShortcutListener
in class com.vaadin.ui.AbstractComponent
public void removeShortcutListener(com.vaadin.event.ShortcutListener shortcut)
removeShortcutListener
in interface com.vaadin.event.Action.ShortcutNotifier
removeShortcutListener
in class com.vaadin.ui.AbstractComponent
protected void paintActions(com.vaadin.server.PaintTarget target, java.util.Set<com.vaadin.event.Action> actionSet) throws com.vaadin.server.PaintException
paintActions
in class com.vaadin.v7.ui.Table
com.vaadin.server.PaintException
protected boolean changeVariables(java.util.Map<java.lang.String,java.lang.Object> variables)
changeVariables
in class com.vaadin.v7.ui.Table
public void setSpecificVariablesHandler(CubaEnhancedTable.SpecificVariablesHandler handler)
setSpecificVariablesHandler
in interface CubaEnhancedTable
public CubaEnhancedTable.SpecificVariablesHandler getSpecificVariablesHandler()
getSpecificVariablesHandler
in interface CubaEnhancedTable
public void resetSortOrder()
resetSortOrder
in interface TableSortableContainer
public com.vaadin.server.Resource getItemIcon(java.lang.Object itemId)
getItemIcon
in class com.vaadin.v7.ui.AbstractSelect
public java.util.function.Function<java.lang.Object,com.vaadin.server.Resource> getIconProvider()
getIconProvider
in interface CubaEnhancedTable
public void setIconProvider(java.util.function.Function<java.lang.Object,com.vaadin.server.Resource> iconProvider)
setIconProvider
in interface CubaEnhancedTable
public java.util.Iterator<com.vaadin.ui.Component> iterator()
iterator
in interface com.vaadin.ui.HasComponents
iterator
in interface java.lang.Iterable<com.vaadin.ui.Component>
iterator
in class com.vaadin.v7.ui.Table
public void refreshCellStyles()
refreshCellStyles
in interface CubaEnhancedTable
public boolean removeContainerProperty(java.lang.Object propertyId) throws java.lang.UnsupportedOperationException
removeContainerProperty
in interface com.vaadin.v7.data.Container
removeContainerProperty
in class com.vaadin.v7.ui.Table
java.lang.UnsupportedOperationException
public boolean isAggregatable()
isAggregatable
in interface CubaEnhancedTable
public void setAggregatable(boolean aggregatable)
setAggregatable
in interface CubaEnhancedTable
public CubaEnhancedTable.AggregationStyle getAggregationStyle()
getAggregationStyle
in interface CubaEnhancedTable
public void setAggregationStyle(CubaEnhancedTable.AggregationStyle aggregationStyle)
setAggregationStyle
in interface CubaEnhancedTable
public boolean isShowTotalAggregation()
isShowTotalAggregation
in interface CubaEnhancedTable
public void setShowTotalAggregation(boolean showTotalAggregation)
setShowTotalAggregation
in interface CubaEnhancedTable
public java.util.Collection getAggregationPropertyIds()
getAggregationPropertyIds
in interface AggregationContainer
public void addContainerPropertyAggregation(java.lang.Object propertyId, AggregationContainer.Type type)
addContainerPropertyAggregation
in interface AggregationContainer
public void removeContainerPropertyAggregation(java.lang.Object propertyId)
removeContainerPropertyAggregation
in interface AggregationContainer
public java.util.Map<java.lang.Object,java.lang.Object> aggregate(AggregationContainer.Context context)
AggregationContainer
aggregate
in interface AggregationContainer
context
- aggregation contextpublic java.util.Map<java.lang.Object,java.lang.Object> aggregateValues(AggregationContainer.Context context)
AggregationContainer
aggregateValues
in interface AggregationContainer
context
- aggregation contextprotected void paintAdditionalData(com.vaadin.server.PaintTarget target) throws com.vaadin.server.PaintException
paintAdditionalData
in class com.vaadin.v7.ui.Table
com.vaadin.server.PaintException
protected java.util.Collection<?> getAggregationItemIds()
protected void paintAggregationRow(com.vaadin.server.PaintTarget target, java.util.Map<java.lang.Object,java.lang.Object> aggregations) throws com.vaadin.server.PaintException
com.vaadin.server.PaintException
protected void paintEditableAggregationColumns(com.vaadin.server.PaintTarget target) throws com.vaadin.server.PaintException
com.vaadin.server.PaintException
public void addAggregationEditableColumn(java.lang.Object columnId)
addAggregationEditableColumn
in interface CubaEnhancedTable
public void setAggregationDistributionProvider(java.util.function.Function<CubaEnhancedTable.AggregationInputValueChangeContext,java.lang.Boolean> distributionProvider)
setAggregationDistributionProvider
in interface CubaEnhancedTable
public java.util.function.Function<CubaEnhancedTable.AggregationInputValueChangeContext,java.lang.Boolean> getAggregationDistributionProvider()
getAggregationDistributionProvider
in interface CubaEnhancedTable
protected void handleAggregationGroupInputChange(java.lang.String columnKey, java.lang.String groupKey, java.lang.String value, boolean isFocused)
public void setClickListener(java.lang.Object propertyId, CubaEnhancedTable.CellClickListener clickListener)
setClickListener
in interface CubaEnhancedTable
public void removeClickListener(java.lang.Object propertyId)
removeClickListener
in interface CubaEnhancedTable
public boolean getColumnSortable(java.lang.Object columnId)
getColumnSortable
in interface CubaEnhancedTable
public void setColumnSortable(java.lang.Object columnId, boolean sortable)
setColumnSortable
in interface CubaEnhancedTable
public void requestFocus(java.lang.Object itemId, java.lang.Object columnId)
requestFocus
in interface CubaEnhancedTable
public java.util.Collection<?> getSortableContainerPropertyIds()
getSortableContainerPropertyIds
in interface com.vaadin.v7.data.Container.Sortable
getSortableContainerPropertyIds
in class com.vaadin.v7.ui.Table
public void beforeClientResponse(boolean initial)
beforeClientResponse
in interface com.vaadin.server.ClientConnector
beforeClientResponse
in class com.vaadin.v7.ui.Table
public java.lang.Object getItemByRowKey(java.lang.String rowKey)
getItemByRowKey
in interface CubaEnhancedTable
rowKey
- row index in the tableprotected void updateFooterAggregation()
protected void updateClickableColumnKeys()
public void showCustomPopup(com.vaadin.ui.Component popupComponent)
showCustomPopup
in interface CubaEnhancedTable
public boolean getCustomPopupAutoClose()
getCustomPopupAutoClose
in interface CubaEnhancedTable
public void setCustomPopupAutoClose(boolean popupAutoClose)
setCustomPopupAutoClose
in interface CubaEnhancedTable
public void setColumnDescription(java.lang.Object columnId, java.lang.String description)
setColumnDescription
in interface CubaEnhancedTable
public java.lang.String getColumnDescription(java.lang.Object columnId)
getColumnDescription
in interface CubaEnhancedTable
public void setAggregationDescription(java.lang.Object columnId, java.lang.String tooltip)
setAggregationDescription
in interface CubaEnhancedTable
public java.lang.String getAggregationDescription(java.lang.Object columnId)
getAggregationDescription
in interface CubaEnhancedTable
protected void updateColumnDescriptions()
protected void updateAggregatableTooltips()
protected com.vaadin.v7.data.Container createOrderedWrapper(com.vaadin.v7.data.Container newDataSource)
createOrderedWrapper
in class com.vaadin.v7.ui.Table
public void setBeforePaintListener(java.lang.Runnable beforePaintListener)
setBeforePaintListener
in interface CubaEnhancedTable
public void paintContent(com.vaadin.server.PaintTarget target) throws com.vaadin.server.PaintException
paintContent
in interface com.vaadin.ui.LegacyComponent
paintContent
in class com.vaadin.v7.ui.Table
com.vaadin.server.PaintException
protected void fireValueChange(boolean repaintIsNotNeeded)
fireValueChange
in class com.vaadin.v7.ui.AbstractField<java.lang.Object>
public java.util.function.Consumer<com.vaadin.ui.Component> getAfterUnregisterComponentHandler()
getAfterUnregisterComponentHandler
in interface CubaEnhancedTable
public void setAfterUnregisterComponentHandler(java.util.function.Consumer<com.vaadin.ui.Component> afterUnregisterComponentHandler)
setAfterUnregisterComponentHandler
in interface CubaEnhancedTable
protected void unregisterComponent(com.vaadin.ui.Component component)
unregisterComponent
in class com.vaadin.v7.ui.Table
public java.lang.Runnable getBeforeRefreshRowCacheHandler()
getBeforeRefreshRowCacheHandler
in interface CubaEnhancedTable
public void setBeforeRefreshRowCacheHandler(java.lang.Runnable beforeRefreshRowCacheHandler)
setBeforeRefreshRowCacheHandler
in interface CubaEnhancedTable
public void refreshRowCache()
refreshRowCache
in class com.vaadin.v7.ui.Table
public void setCurrentPageFirstItemId(java.lang.Object currentPageFirstItemId)
setCurrentPageFirstItemId
in class com.vaadin.v7.ui.Table