public class CubaGroupTable extends CubaTable implements GroupTableContainer
Modifier and Type | Class and Description |
---|---|
static class |
CubaGroupTable.GroupAggregationContext |
static class |
CubaGroupTable.GroupAggregationInputValueChangeContext |
static interface |
CubaGroupTable.GroupPropertyValueFormatter |
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, CubaEnhancedTable.TableCellClickEvent, CubaEnhancedTable.TableCellClickListener
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.Map<java.lang.Object,java.util.List<java.lang.String>> |
cachedAggregatedValues |
protected boolean |
fixedGrouping |
protected java.lang.String |
focusGroupAggregationInputColumnKey |
protected java.util.List<java.lang.Object> |
groupDisallowedProperties |
protected com.vaadin.server.KeyMapper |
groupIdMap |
protected CubaGroupTable.GroupPropertyValueFormatter |
groupPropertyValueFormatter |
protected boolean |
requestColumnReorderingAllowed |
protected boolean |
shouldPaintWithAggregations |
afterUnregisterComponentHandler, aggregationDistributionProvider, aggregationEditableColumns, aggregationStyle, aggregationTooltips, autowirePropertyDsForFields, beforePaintListener, beforeRefreshRowCacheHandler, cellClickListeners, clickableTableColumnIds, columnDescriptions, customCellValueFormatter, editableColumns, emptyStateLinkClickHandler, focusColumn, focusItem, focusTotalAggregationInputColumnKey, htmlAttributesExtension, htmlCaptionColumns, iconProvider, nonSortableProperties, shortcutActionManager, showTotalAggregation, specificVariablesHandler, tableCellClickListenerRegistration
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 |
---|
CubaGroupTable() |
Modifier and Type | Method and Description |
---|---|
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) |
void |
collapse(java.lang.Object id) |
protected void |
collapse(java.lang.Object id,
boolean rerender) |
void |
collapseAll() |
void |
expand(java.lang.Object id) |
protected void |
expand(java.lang.Object id,
boolean rerender) |
void |
expandAll() |
protected void |
expandAllInGroup(java.lang.Object id) |
protected void |
expandAllInGroup(java.lang.Object id,
boolean rerender) |
protected java.lang.String |
formatGroupPropertyValue(java.lang.Object groupId,
java.lang.Object groupValue) |
protected java.util.List<java.lang.String> |
getAggregatedValuesForGroup(java.lang.Object itemId) |
protected java.util.Collection<?> |
getAggregationItemIds() |
java.util.Collection<?> |
getChildren(java.lang.Object id) |
boolean |
getColumnGroupAllowed(java.lang.Object id) |
java.util.Collection<?> |
getGroupItemIds(java.lang.Object itemId) |
int |
getGroupItemsCount(java.lang.Object itemId) |
java.util.Collection<?> |
getGroupProperties() |
java.lang.Object |
getGroupProperty(java.lang.Object itemId) |
java.lang.Object |
getGroupPropertyValue(java.lang.Object itemId) |
CubaGroupTable.GroupPropertyValueFormatter |
getGroupPropertyValueFormatter() |
protected java.util.LinkedHashSet<java.lang.Object> |
getItemIdsInRange(java.lang.Object startItemId,
int length) |
void |
groupBy(java.lang.Object[] properties) |
protected void |
groupBy(java.lang.Object[] properties,
boolean rerender) |
protected void |
handleAggregationGroupInputChange(java.lang.String columnKey,
java.lang.String groupKey,
java.lang.String value,
boolean isFocused) |
boolean |
hasChildren(java.lang.Object id) |
protected boolean |
hasGroupDisallowedProperties(java.lang.Object[] newGroupProperties) |
boolean |
hasGroups() |
protected boolean |
isAggregatedValuesChanged(java.lang.Object itemId) |
protected boolean |
isCellPaintingNeeded(java.lang.Object itemId,
java.lang.Object columnId) |
protected boolean |
isColumnNeedsToRefreshRendered(java.lang.Object colId) |
boolean |
isColumnReorderingAllowed() |
boolean |
isExpanded(java.lang.Object id) |
boolean |
isFixedGrouping() |
boolean |
isGroup(java.lang.Object itemId) |
protected boolean |
isGroupsChanged(java.lang.Object[] newGroupProperties) |
protected boolean |
isItemNeedsToRefreshRendered(java.lang.Object itemId) |
protected boolean |
isNonGeneratedProperty(java.lang.Object id) |
protected void |
paintActions(com.vaadin.server.PaintTarget target,
java.util.Set<com.vaadin.event.Action> actionSet) |
protected void |
paintAdditionalData(com.vaadin.server.PaintTarget target) |
void |
paintContent(com.vaadin.server.PaintTarget target) |
protected void |
paintGroupAggregation(com.vaadin.server.PaintTarget target,
java.lang.Object groupId,
java.util.Map<java.lang.Object,java.lang.Object> aggregations) |
protected void |
paintRowAttributes(com.vaadin.server.PaintTarget target,
java.lang.Object itemId) |
protected void |
paintUpdatesForGroupRowWithAggregation(com.vaadin.server.PaintTarget target,
java.lang.Object groupId) |
protected void |
paintVisibleColumns(com.vaadin.server.PaintTarget target) |
protected void |
refreshRenderedCells() |
java.util.Collection<?> |
rootGroups() |
protected void |
selectAllInGroup(java.lang.Object id) |
void |
setColumnGroupAllowed(java.lang.Object id,
boolean allowed) |
void |
setColumnOrder(java.lang.Object[] columnOrder)
Attention: this method is copied from the parent class: Table.setColumnOrder(Object[])
|
void |
setContainerDataSource(com.vaadin.v7.data.Container newDataSource) |
void |
setFixedGrouping(boolean fixedGrouping) |
void |
setGroupPropertyValueFormatter(CubaGroupTable.GroupPropertyValueFormatter groupPropertyValueFormatter) |
void |
setSortOptions(java.lang.Object propertyId,
boolean sortAscending)
Sets column id to sort and sorting direction.
|
protected void |
updateClickableColumnKeys() |
addAggregationEditableColumn, addContainerPropertyAggregation, addGeneratedColumn, addShortcutListener, addTableCellClickListener, aggregate, aggregateValues, beforeClientResponse, createOrderedWrapper, disableContentBufferRefreshing, enableContentBufferRefreshing, findItemIndex, fireValueChange, formatPropertyValue, getAfterUnregisterComponentHandler, getAggregationDescription, getAggregationDistributionProvider, getAggregationPropertyIds, getAggregationStyle, getBeforeRefreshRowCacheHandler, getClickableColumnKeys, getColumnCaptionAsHtml, getColumnDescription, getColumnSortable, getCustomCellValueFormatter, getCustomPopupAutoClose, getDeselectAllLabel, getEditableColumns, getEmptyStateLinkMessage, getEmptyStateMessage, getHtmlAttributesExtension, getIconProvider, getItemByRowKey, getItemIcon, getMinHeight, getMinHeightSizeUnit, getMinWidth, getMinWidthSizeUnit, getPresentations, getPropertyValue, getSelectAllLabel, getSortableContainerPropertyIds, getSortAscendingLabel, getSortDescendingLabel, getSortResetLabel, getSpecificVariablesHandler, getState, getState, hideContextMenuPopup, hidePresentationsPopup, isAggregatable, isAutowirePropertyDsForFields, isColumnEditable, isColumnEditable, isContextMenuEnabled, isMultiLineCells, isShowTotalAggregation, isTextSelectionEnabled, iterator, paintAggregationRow, paintEditableAggregationColumns, refreshCellStyles, refreshRowCache, removeClickListener, removeContainerProperty, removeContainerPropertyAggregation, removeShortcutListener, removeTableCellClickListener, requestFocus, resetSortOrder, setAfterUnregisterComponentHandler, setAggregatable, setAggregationDescription, setAggregationDistributionProvider, setAggregationStyle, setAutowirePropertyDsForFields, setBeforePaintListener, setBeforeRefreshRowCacheHandler, setClickListener, setColumnCaptionAsHtml, setColumnDescription, setColumnSortable, setContextMenuEnabled, setContextMenuPopup, setCustomCellValueFormatter, setCustomPopupAutoClose, setDeselectAllLabel, setEditable, setEditableColumns, setEmptyStateLinkClickHandler, setEmptyStateLinkMessage, setEmptyStateMessage, setIconProvider, setMinHeight, setMinWidth, setMultiLineCells, setPresentations, setSelectAllLabel, setShowEmptyState, setShowTotalAggregation, setSortAscendingLabel, setSortDescendingLabel, setSortResetLabel, setSpecificVariablesHandler, setTextSelectionEnabled, showCustomPopup, unregisterComponent, updateAggregatableTooltips, updateClickableTableColumnKeys, updateColumnDescriptions, updateFooterAggregation, updateHtmlCaptionColumns, updateNewIndexOnLastPage
_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, getMultiSelectMode, getPageLength, getRowGenerator, getRowHeaderMode, getSortContainerPropertyId, getTableFieldFactory, getTransferable, getUpdatedRowCount, getVisibleColumns, getVisibleItemIds, hasConverter, indexOfId, isColumnCollapsed, isColumnCollapsible, isColumnCollapsingAllowed, isEditable, isFirstId, isFooterVisible, isLastId, isMultiSelectTouchDetectionEnabled, isPartialRowUpdate, isRowCacheInvalidated, isSelectable, isSortAscending, isSortDisabled, isSortEnabled, lastItemId, markAsDirty, markAsDirtyRecursive, nextItemId, paintRowHeader, paintRowIcon, prevItemId, readBody, readDesign, readItem, readItems, 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, setContainerSortOptions, setConverter, setCurrentPageFirstItemId, setCurrentPageFirstItemIndex, setCurrentPageFirstItemIndex, setDragMode, setDropHandler, setEnabled, setFooterVisible, setItemDescriptionGenerator, setMultiSelectMode, setMultiSelectTouchDetectionEnabled, 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, setHeightFull, setHeightUndefined, setIcon, setId, setParent, setPrimaryStyleName, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setWidth, setWidth, setWidthFull, setWidthUndefined
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, 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, removeListener, requestRepaintAll, retrievePendingRpcCalls, setConnectorResource, setErrorHandler, setIncorrectConcurrentAccessHandler, setResource, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
resetSortOrder
getSortableContainerPropertyIds, sort
addItemAfter, addItemAfter, firstItemId, isFirstId, isLastId, lastItemId, nextItemId, prevItemId
addContainerProperty, addItem, addItem, containsId, getContainerProperty, getContainerPropertyIds, getItem, getItemIds, getType, removeAllItems, removeContainerProperty, 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 com.vaadin.server.KeyMapper groupIdMap
protected java.util.Map<java.lang.Object,java.util.List<java.lang.String>> cachedAggregatedValues
protected java.util.List<java.lang.Object> groupDisallowedProperties
protected CubaGroupTable.GroupPropertyValueFormatter groupPropertyValueFormatter
protected boolean fixedGrouping
protected boolean requestColumnReorderingAllowed
protected boolean shouldPaintWithAggregations
protected java.lang.String focusGroupAggregationInputColumnKey
public void setColumnOrder(java.lang.Object[] columnOrder)
public void setContainerDataSource(com.vaadin.v7.data.Container newDataSource)
setContainerDataSource
in interface com.vaadin.v7.data.Container.Viewer
setContainerDataSource
in class com.vaadin.v7.ui.Table
public void paintContent(com.vaadin.server.PaintTarget target) throws com.vaadin.server.PaintException
paintContent
in interface com.vaadin.ui.LegacyComponent
paintContent
in class CubaTable
com.vaadin.server.PaintException
protected void paintAdditionalData(com.vaadin.server.PaintTarget target) throws com.vaadin.server.PaintException
paintAdditionalData
in class CubaTable
com.vaadin.server.PaintException
protected void paintVisibleColumns(com.vaadin.server.PaintTarget target) throws com.vaadin.server.PaintException
paintVisibleColumns
in class com.vaadin.v7.ui.Table
com.vaadin.server.PaintException
protected void paintActions(com.vaadin.server.PaintTarget target, java.util.Set<com.vaadin.event.Action> actionSet) throws com.vaadin.server.PaintException
paintActions
in class CubaTable
com.vaadin.server.PaintException
protected void paintUpdatesForGroupRowWithAggregation(com.vaadin.server.PaintTarget target, java.lang.Object groupId) throws com.vaadin.server.PaintException
com.vaadin.server.PaintException
protected boolean isAggregatedValuesChanged(java.lang.Object itemId)
protected java.util.List<java.lang.String> getAggregatedValuesForGroup(java.lang.Object itemId)
public boolean isColumnReorderingAllowed()
isColumnReorderingAllowed
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 CubaTable
protected boolean hasGroupDisallowedProperties(java.lang.Object[] newGroupProperties)
protected boolean isGroupsChanged(java.lang.Object[] newGroupProperties)
protected boolean changeVariables(java.util.Map<java.lang.String,java.lang.Object> variables)
changeVariables
in class CubaTable
protected boolean isCellPaintingNeeded(java.lang.Object itemId, java.lang.Object columnId)
isCellPaintingNeeded
in class com.vaadin.v7.ui.Table
protected void paintRowAttributes(com.vaadin.server.PaintTarget target, java.lang.Object itemId) throws com.vaadin.server.PaintException
paintRowAttributes
in class com.vaadin.v7.ui.Table
com.vaadin.server.PaintException
protected java.util.Collection<?> getAggregationItemIds()
getAggregationItemIds
in class CubaTable
protected void paintGroupAggregation(com.vaadin.server.PaintTarget target, java.lang.Object groupId, java.util.Map<java.lang.Object,java.lang.Object> aggregations) throws com.vaadin.server.PaintException
com.vaadin.server.PaintException
protected java.util.LinkedHashSet<java.lang.Object> getItemIdsInRange(java.lang.Object startItemId, int length)
getItemIdsInRange
in class com.vaadin.v7.ui.Table
protected boolean isColumnNeedsToRefreshRendered(java.lang.Object colId)
isColumnNeedsToRefreshRendered
in class com.vaadin.v7.ui.Table
protected boolean isItemNeedsToRefreshRendered(java.lang.Object itemId)
isItemNeedsToRefreshRendered
in class com.vaadin.v7.ui.Table
protected java.lang.String formatGroupPropertyValue(java.lang.Object groupId, java.lang.Object groupValue)
protected void expandAllInGroup(java.lang.Object id, boolean rerender)
protected void expandAllInGroup(java.lang.Object id)
protected void selectAllInGroup(java.lang.Object id)
protected void expand(java.lang.Object id, boolean rerender)
protected void collapse(java.lang.Object id, boolean rerender)
protected void groupBy(java.lang.Object[] properties, boolean rerender)
protected boolean isNonGeneratedProperty(java.lang.Object id)
public java.util.Collection<?> getGroupProperties()
getGroupProperties
in interface GroupTableContainer
public void expandAll()
expandAll
in interface GroupTableContainer
public void expand(java.lang.Object id)
expand
in interface GroupTableContainer
public void collapseAll()
collapseAll
in interface GroupTableContainer
public void collapse(java.lang.Object id)
collapse
in interface GroupTableContainer
public boolean hasGroups()
hasGroups
in interface GroupTableContainer
public void groupBy(java.lang.Object[] properties)
groupBy
in interface GroupTableContainer
public boolean getColumnGroupAllowed(java.lang.Object id)
public void setColumnGroupAllowed(java.lang.Object id, boolean allowed)
public boolean isGroup(java.lang.Object itemId)
isGroup
in interface GroupTableContainer
public java.util.Collection<?> rootGroups()
rootGroups
in interface GroupTableContainer
public boolean hasChildren(java.lang.Object id)
hasChildren
in interface GroupTableContainer
public java.util.Collection<?> getChildren(java.lang.Object id)
getChildren
in interface GroupTableContainer
public java.lang.Object getGroupProperty(java.lang.Object itemId)
getGroupProperty
in interface GroupTableContainer
public java.lang.Object getGroupPropertyValue(java.lang.Object itemId)
getGroupPropertyValue
in interface GroupTableContainer
public java.util.Collection<?> getGroupItemIds(java.lang.Object itemId)
getGroupItemIds
in interface GroupTableContainer
public int getGroupItemsCount(java.lang.Object itemId)
getGroupItemsCount
in interface GroupTableContainer
public boolean isExpanded(java.lang.Object id)
isExpanded
in interface GroupTableContainer
public boolean isFixedGrouping()
public void setFixedGrouping(boolean fixedGrouping)
protected void handleAggregationGroupInputChange(java.lang.String columnKey, java.lang.String groupKey, java.lang.String value, boolean isFocused)
handleAggregationGroupInputChange
in class CubaTable
protected void updateClickableColumnKeys()
updateClickableColumnKeys
in class CubaTable
public void setSortOptions(java.lang.Object propertyId, boolean sortAscending)
CubaEnhancedTable
setSortOptions
in interface CubaEnhancedTable
setSortOptions
in class CubaTable
propertyId
- column idsortAscending
- sort ascending optionprotected void refreshRenderedCells()
refreshRenderedCells
in class com.vaadin.v7.ui.Table
public CubaGroupTable.GroupPropertyValueFormatter getGroupPropertyValueFormatter()
public void setGroupPropertyValueFormatter(CubaGroupTable.GroupPropertyValueFormatter groupPropertyValueFormatter)