Package io.jmix.ui.widget
Class JmixGroupTable
java.lang.Object
com.vaadin.server.AbstractClientConnector
com.vaadin.ui.AbstractComponent
com.vaadin.v7.ui.AbstractLegacyComponent
com.vaadin.v7.ui.AbstractField<Object>
com.vaadin.v7.ui.AbstractSelect
com.vaadin.v7.ui.Table
io.jmix.ui.widget.JmixTable
io.jmix.ui.widget.JmixGroupTable
- All Implemented Interfaces:
com.vaadin.event.Action.Container
,com.vaadin.event.Action.ShortcutNotifier
,com.vaadin.event.ConnectorEventListener
,com.vaadin.event.ContextClickEvent.ContextClickNotifier
,com.vaadin.event.dd.DragSource
,com.vaadin.event.dd.DropTarget
,com.vaadin.event.MethodEventSource
,com.vaadin.event.SerializableEventListener
,com.vaadin.server.ClientConnector
,com.vaadin.server.Sizeable
,com.vaadin.server.VariableOwner
,com.vaadin.shared.Connector
,com.vaadin.ui.Component
,com.vaadin.ui.Component.Focusable
,com.vaadin.ui.Component.HasContextHelp
,com.vaadin.ui.HasChildMeasurementHint
,com.vaadin.ui.HasComponents
,com.vaadin.ui.LegacyComponent
,com.vaadin.v7.data.Buffered
,com.vaadin.v7.data.BufferedValidatable
,com.vaadin.v7.data.Container
,com.vaadin.v7.data.Container.ItemSetChangeListener
,com.vaadin.v7.data.Container.ItemSetChangeNotifier
,com.vaadin.v7.data.Container.Ordered
,com.vaadin.v7.data.Container.PropertySetChangeListener
,com.vaadin.v7.data.Container.PropertySetChangeNotifier
,com.vaadin.v7.data.Container.Sortable
,com.vaadin.v7.data.Container.Viewer
,com.vaadin.v7.data.Property<Object>
,com.vaadin.v7.data.Property.Editor
,com.vaadin.v7.data.Property.ReadOnlyStatusChangeListener
,com.vaadin.v7.data.Property.ReadOnlyStatusChangeNotifier
,com.vaadin.v7.data.Property.ValueChangeListener
,com.vaadin.v7.data.Property.ValueChangeNotifier
,com.vaadin.v7.data.Property.Viewer
,com.vaadin.v7.data.Validatable
,com.vaadin.v7.event.ItemClickEvent.ItemClickNotifier
,com.vaadin.v7.ui.Field<Object>
,AggregationContainer
,GroupTableContainer
,TableSortableContainer
,JmixEnhancedTable
,Serializable
,Iterable<com.vaadin.ui.Component>
,EventListener
- Direct Known Subclasses:
GroupTableImpl.JmixGroupTableExt
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static interface
protected static class
Nested classes/interfaces inherited from class com.vaadin.v7.ui.Table
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
Nested classes/interfaces inherited from class com.vaadin.v7.ui.AbstractSelect
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
Nested classes/interfaces inherited from class com.vaadin.v7.ui.AbstractField
com.vaadin.v7.ui.AbstractField.FocusShortcut, com.vaadin.v7.ui.AbstractField.ReadOnlyStatusChangeEvent
Nested classes/interfaces inherited from class com.vaadin.server.AbstractClientConnector
com.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandler
Nested classes/interfaces inherited from interface io.jmix.ui.widget.data.AggregationContainer
AggregationContainer.Context, AggregationContainer.Type
Nested classes/interfaces inherited from interface com.vaadin.v7.data.Buffered
com.vaadin.v7.data.Buffered.SourceException
Nested classes/interfaces inherited from interface com.vaadin.server.ClientConnector
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
Nested classes/interfaces inherited from interface com.vaadin.ui.Component
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
Nested classes/interfaces inherited from interface com.vaadin.ui.Component.HasContextHelp
com.vaadin.ui.Component.HasContextHelp.ContextHelpIconClickEvent, com.vaadin.ui.Component.HasContextHelp.ContextHelpIconClickListener
Nested 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
Nested classes/interfaces inherited from interface com.vaadin.v7.ui.Field
com.vaadin.v7.ui.Field.ValueChangeEvent
Nested classes/interfaces inherited from interface com.vaadin.ui.HasChildMeasurementHint
com.vaadin.ui.HasChildMeasurementHint.ChildMeasurementHint
Nested classes/interfaces inherited from interface com.vaadin.ui.HasComponents
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
Nested classes/interfaces inherited from interface io.jmix.ui.widget.JmixEnhancedTable
JmixEnhancedTable.AggregationInputValueChangeContext, JmixEnhancedTable.AggregationStyle, JmixEnhancedTable.CellClickListener, JmixEnhancedTable.CellValueFormatter, JmixEnhancedTable.PlainTextGeneratedColumn, JmixEnhancedTable.SpecificVariablesHandler, JmixEnhancedTable.TableCellClickEvent, JmixEnhancedTable.TableCellClickListener
Nested classes/interfaces inherited from interface com.vaadin.v7.data.Property
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 extends Object>, com.vaadin.v7.data.Property.ValueChangeListener, com.vaadin.v7.data.Property.ValueChangeNotifier, com.vaadin.v7.data.Property.Viewer
Nested classes/interfaces inherited from interface com.vaadin.server.Sizeable
com.vaadin.server.Sizeable.Unit
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected String
protected com.vaadin.server.KeyMapper
protected Map<Object,
JmixGroupTable.SortDetails> protected boolean
protected boolean
protected boolean
Fields inherited from class io.jmix.ui.widget.JmixTable
afterUnregisterComponentHandler, aggregationDistributionProvider, aggregationEditableColumns, aggregationStyle, aggregationTooltips, autowirePropertyDsForFields, beforePaintListener, beforeRefreshRowCacheHandler, clickableTableColumnIds, columnDescriptions, customCellValueFormatter, editableColumns, emptyStateLinkClickHandler, focusColumn, focusItem, focusTotalAggregationInputColumnKey, htmlAttributesExtension, htmlCaptionColumns, iconProvider, nonSortableProperties, shortcutActionManager, showTotalAggregation, specificVariablesHandler, tableCellClickListenerRegistration
Fields inherited from class com.vaadin.v7.ui.Table
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
Fields inherited from class com.vaadin.v7.ui.AbstractSelect
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
Fields inherited from class com.vaadin.ui.AbstractComponent
componentErrorProvider, DESIGN_ATTR_PLAIN_TEXT
Fields inherited from interface com.vaadin.server.Sizeable
SIZE_UNDEFINED, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
changeVariables
(Object source, Map<String, Object> variables) protected boolean
changeVariables
(Map<String, Object> variables) void
protected void
void
protected void
doSortOnGroup
(Object[] propertyIds, boolean[] ascendingValues) void
protected void
void
protected void
protected void
expandAllInGroup
(Object id, boolean rerender) protected String
formatGroupPropertyValue
(Object groupId, Object groupValue) getAggregatedValuesForGroup
(Object itemId) protected Collection<?>
protected Map<Object,
JmixGroupTable.SortDetails> getAllPropertyIdsToSort
(Object[] propertyIds, boolean[] ascendingValues) Gets all property ids to sort including automatically sorted grouping properties and properties directly set to sortCollection<?>
getChildren
(Object id) boolean
protected Map<Object,
JmixGroupTable.SortDetails> Collection<?>
getGroupItemIds
(Object itemId) int
getGroupItemsCount
(Object itemId) Collection<?>
getGroupProperty
(Object itemId) getGroupPropertyValue
(Object itemId) protected LinkedHashSet<Object>
getItemIdsInRange
(Object startItemId, int length) void
protected void
protected void
handleAggregationGroupInputChange
(String columnKey, String groupKey, String value, boolean isFocused) boolean
hasChildren
(Object id) protected boolean
hasGroupDisallowedProperties
(Object[] newGroupProperties) boolean
protected boolean
isAggregatedValuesChanged
(Object itemId) protected boolean
isCellPaintingNeeded
(Object itemId, Object columnId) protected boolean
boolean
boolean
isExpanded
(Object id) boolean
boolean
protected boolean
isGroupsChanged
(Object[] newGroupProperties) protected boolean
isItemNeedsToRefreshRendered
(Object itemId) protected boolean
boolean
protected void
paintActions
(com.vaadin.server.PaintTarget target, 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, Object groupId, Map<Object, Object> aggregations) protected void
paintRowAttributes
(com.vaadin.server.PaintTarget target, Object itemId) protected void
paintUpdatesForGroupRowWithAggregation
(com.vaadin.server.PaintTarget target, Object groupId) protected void
paintVisibleColumns
(com.vaadin.server.PaintTarget target) protected void
refreshGroupingPropertyUserOriginated
(Object[] currentPropertyIdsToSort) protected void
void
Collection<?>
protected void
void
setColumnGroupAllowed
(Object id, boolean allowed) void
setColumnOrder
(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
(JmixGroupTable.GroupPropertyValueFormatter groupPropertyValueFormatter) void
setSortOnGroupEnabled
(boolean sortOnGroupEnabled) void
setSortOptions
(Object propertyId, boolean sortAscending) Sets column id to sort and sorting direction.void
protected void
sortByDataSource
(Map<Object, JmixGroupTable.SortDetails> sortPropertyIds, com.vaadin.v7.data.Container.Sortable sortableContainer) protected void
sortByGroupingProperties
(Object[] groupingPropertyIds) protected void
updateCurrentSortInfo
(Map<Object, JmixGroupTable.SortDetails> sortedProperties) Methods inherited from class io.jmix.ui.widget.JmixTable
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, getPresentationsLayout, getPropertyValue, getSelectAllLabel, getSortableContainerPropertyIds, getSortAscendingLabel, getSortDescendingLabel, getSortResetLabel, getSpecificVariablesHandler, getState, getState, hideContextMenuPopup, hidePresentationsPopup, isAggregatable, isAutowirePropertyDsForFields, isColumnEditable, isColumnEditable, isContextMenuEnabled, isMultiLineCells, isShowTotalAggregation, isTextSelectionEnabled, iterator, onTableCellClick, paintAggregationRow, paintEditableAggregationColumns, refreshCellStyles, refreshRowCache, removeContainerProperty, removeContainerPropertyAggregation, removeShortcutListener, removeTableCellClickListener, requestFocus, setAfterUnregisterComponentHandler, setAggregatable, setAggregationDescription, setAggregationDistributionProvider, setAggregationStyle, setAutowirePropertyDsForFields, setBeforePaintListener, setBeforeRefreshRowCacheHandler, setColumnCaptionAsHtml, setColumnDescription, setColumnSortable, setContextMenuEnabled, setContextMenuPopup, setCustomCellValueFormatter, setCustomPopupAutoClose, setDeselectAllLabel, setEditable, setEditableColumns, setEmptyStateLinkClickHandler, setEmptyStateLinkMessage, setEmptyStateMessage, setIconProvider, setMinHeight, setMinWidth, setMultiLineCells, setPresentationsLayout, setSelectAllLabel, setShowEmptyState, setShowTotalAggregation, setSortAscendingLabel, setSortDescendingLabel, setSortResetLabel, setSpecificVariablesHandler, setTextSelectionEnabled, showCustomPopup, unregisterComponent, updateAggregatableTooltips, updateClickableTableColumnKeys, updateColumnDescriptions, updateFooterAggregation, updateHtmlCaptionColumns, updateNewIndexOnLastPage
Methods inherited from class com.vaadin.v7.ui.Table
_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, translateDropTargetDetails, valueChange, writeDesign, writeItem, writeItems
Methods inherited from class com.vaadin.v7.ui.AbstractSelect
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
Methods inherited from class com.vaadin.v7.ui.AbstractField
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
Methods inherited from class com.vaadin.v7.ui.AbstractLegacyComponent
getExplicitImmediateValue, isImmediate, setImmediate
Methods inherited from class com.vaadin.ui.AbstractComponent
addContextClickListener, addContextHelpIconClickListener, addListener, addStyleName, ensureContextHelpInitialized, findAncestor, fireComponentErrorEvent, fireComponentEvent, fireContextHelpClick, getActionManager, getCaption, getComponentError, getComponentErrorProvider, getContextHelpText, getData, getDebugId, getDescription, getHeight, getHeightUnits, getIcon, getId, getJTestId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isContextHelpTextHtmlEnabled, isEnabled, isOrHasAncestor, isRequiredIndicatorVisible, isResponsive, isVisible, removeContextClickListener, removeListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setComponentErrorProvider, setContextHelpText, setContextHelpTextHtmlEnabled, setData, setDebugId, setDescription, setDescription, setHeight, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setJTestId, setParent, setPrimaryStyleName, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setWidth, setWidth, setWidthFull, setWidthUndefined
Methods inherited from class com.vaadin.server.AbstractClientConnector
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
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.server.ClientConnector
addAttachListener, addDetachListener, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, removeAttachListener, removeDetachListener, removeExtension, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
Methods inherited from interface com.vaadin.ui.Component
addListener, addStyleName, addStyleNames, getCaption, getDescription, getIcon, getId, getJTestId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, removeListener, removeStyleName, removeStyleNames, setCaption, setIcon, setId, setJTestId, setParent, setPrimaryStyleName, setStyleName, setStyleName
Methods inherited from interface com.vaadin.shared.Connector
getConnectorId
Methods inherited from interface com.vaadin.v7.data.Container
addContainerProperty, addItem, addItem, containsId, getContainerProperty, getContainerPropertyIds, getItem, getItemIds, getType, removeAllItems, removeContainerProperty, removeItem, size
Methods inherited from interface com.vaadin.v7.data.Container.Ordered
addItemAfter, addItemAfter, firstItemId, isFirstId, isLastId, lastItemId, nextItemId, prevItemId
Methods inherited from interface com.vaadin.v7.data.Container.Sortable
getSortableContainerPropertyIds
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface com.vaadin.server.Sizeable
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightFull, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull, setWidthUndefined
Methods inherited from interface com.vaadin.server.VariableOwner
isEnabled
-
Field Details
-
groupIdMap
protected com.vaadin.server.KeyMapper groupIdMap -
cachedAggregatedValues
-
groupDisallowedProperties
-
groupPropertyValueFormatter
-
fixedGrouping
protected boolean fixedGrouping -
requestColumnReorderingAllowed
protected boolean requestColumnReorderingAllowed -
shouldPaintWithAggregations
protected boolean shouldPaintWithAggregations -
focusGroupAggregationInputColumnKey
-
sortOnGroupEnabled
protected boolean sortOnGroupEnabled -
groupingPropertyIdsToSort
-
-
Constructor Details
-
JmixGroupTable
public JmixGroupTable()
-
-
Method Details
-
setColumnOrder
Attention: this method is copied from the parent class: Table.setColumnOrder(Object[]) -
setContainerDataSource
public void setContainerDataSource(com.vaadin.v7.data.Container newDataSource) - Specified by:
setContainerDataSource
in interfacecom.vaadin.v7.data.Container.Viewer
- Overrides:
setContainerDataSource
in classcom.vaadin.v7.ui.Table
-
paintContent
public void paintContent(com.vaadin.server.PaintTarget target) throws com.vaadin.server.PaintException - Specified by:
paintContent
in interfacecom.vaadin.ui.LegacyComponent
- Overrides:
paintContent
in classJmixTable
- Throws:
com.vaadin.server.PaintException
-
paintAdditionalData
protected void paintAdditionalData(com.vaadin.server.PaintTarget target) throws com.vaadin.server.PaintException - Overrides:
paintAdditionalData
in classJmixTable
- Throws:
com.vaadin.server.PaintException
-
paintVisibleColumns
protected void paintVisibleColumns(com.vaadin.server.PaintTarget target) throws com.vaadin.server.PaintException - Overrides:
paintVisibleColumns
in classcom.vaadin.v7.ui.Table
- Throws:
com.vaadin.server.PaintException
-
paintActions
protected void paintActions(com.vaadin.server.PaintTarget target, Set<com.vaadin.event.Action> actionSet) throws com.vaadin.server.PaintException - Overrides:
paintActions
in classJmixTable
- Throws:
com.vaadin.server.PaintException
-
paintUpdatesForGroupRowWithAggregation
protected void paintUpdatesForGroupRowWithAggregation(com.vaadin.server.PaintTarget target, Object groupId) throws com.vaadin.server.PaintException - Throws:
com.vaadin.server.PaintException
-
isAggregatedValuesChanged
-
getAggregatedValuesForGroup
-
isColumnReorderingAllowed
public boolean isColumnReorderingAllowed()- Overrides:
isColumnReorderingAllowed
in classcom.vaadin.v7.ui.Table
-
changeVariables
- Specified by:
changeVariables
in interfacecom.vaadin.server.VariableOwner
- Overrides:
changeVariables
in classJmixTable
-
hasGroupDisallowedProperties
-
isGroupsChanged
-
changeVariables
- Overrides:
changeVariables
in classJmixTable
-
isCellPaintingNeeded
- Overrides:
isCellPaintingNeeded
in classcom.vaadin.v7.ui.Table
-
paintRowAttributes
protected void paintRowAttributes(com.vaadin.server.PaintTarget target, Object itemId) throws com.vaadin.server.PaintException - Overrides:
paintRowAttributes
in classcom.vaadin.v7.ui.Table
- Throws:
com.vaadin.server.PaintException
-
getAggregationItemIds
- Overrides:
getAggregationItemIds
in classJmixTable
-
paintGroupAggregation
protected void paintGroupAggregation(com.vaadin.server.PaintTarget target, Object groupId, Map<Object, Object> aggregations) throws com.vaadin.server.PaintException- Throws:
com.vaadin.server.PaintException
-
getItemIdsInRange
- Overrides:
getItemIdsInRange
in classcom.vaadin.v7.ui.Table
-
isColumnNeedsToRefreshRendered
- Overrides:
isColumnNeedsToRefreshRendered
in classcom.vaadin.v7.ui.Table
-
isItemNeedsToRefreshRendered
- Overrides:
isItemNeedsToRefreshRendered
in classcom.vaadin.v7.ui.Table
-
formatGroupPropertyValue
-
expandAllInGroup
-
expandAllInGroup
-
selectAllInGroup
-
expand
-
collapse
-
groupBy
-
sortByGroupingProperties
-
getGroupingPropertyIdsToSort
-
sort
public void sort(Object[] propertyIds, boolean[] ascendingValues) throws UnsupportedOperationException - Specified by:
sort
in interfacecom.vaadin.v7.data.Container.Sortable
- Overrides:
sort
in classcom.vaadin.v7.ui.Table
- Throws:
UnsupportedOperationException
-
doSortOnGroup
-
getAllPropertyIdsToSort
protected Map<Object,JmixGroupTable.SortDetails> getAllPropertyIdsToSort(Object[] propertyIds, boolean[] ascendingValues) Gets all property ids to sort including automatically sorted grouping properties and properties directly set to sort- Parameters:
propertyIds
- property ids that were directly set to sortascendingValues
- ascending values of properties that were directly set to sort- Returns:
- property ids to sort which include automatically sorted grouping properties and properties directly set to sort
-
refreshGroupingPropertyUserOriginated
-
sortByDataSource
protected void sortByDataSource(Map<Object, JmixGroupTable.SortDetails> sortPropertyIds, com.vaadin.v7.data.Container.Sortable sortableContainer) -
updateCurrentSortInfo
-
resetSortOrder
public void resetSortOrder()- Specified by:
resetSortOrder
in interfaceTableSortableContainer
- Overrides:
resetSortOrder
in classJmixTable
-
isNonGeneratedProperty
-
getGroupProperties
- Specified by:
getGroupProperties
in interfaceGroupTableContainer
-
expandAll
public void expandAll()- Specified by:
expandAll
in interfaceGroupTableContainer
-
expand
- Specified by:
expand
in interfaceGroupTableContainer
-
collapseAll
public void collapseAll()- Specified by:
collapseAll
in interfaceGroupTableContainer
-
collapse
- Specified by:
collapse
in interfaceGroupTableContainer
-
hasGroups
public boolean hasGroups()- Specified by:
hasGroups
in interfaceGroupTableContainer
-
groupBy
- Specified by:
groupBy
in interfaceGroupTableContainer
-
getColumnGroupAllowed
-
setColumnGroupAllowed
-
isGroup
- Specified by:
isGroup
in interfaceGroupTableContainer
-
rootGroups
- Specified by:
rootGroups
in interfaceGroupTableContainer
-
hasChildren
- Specified by:
hasChildren
in interfaceGroupTableContainer
-
getChildren
- Specified by:
getChildren
in interfaceGroupTableContainer
-
getGroupProperty
- Specified by:
getGroupProperty
in interfaceGroupTableContainer
-
getGroupPropertyValue
- Specified by:
getGroupPropertyValue
in interfaceGroupTableContainer
-
getGroupItemIds
- Specified by:
getGroupItemIds
in interfaceGroupTableContainer
-
getGroupItemsCount
- Specified by:
getGroupItemsCount
in interfaceGroupTableContainer
-
isExpanded
- Specified by:
isExpanded
in interfaceGroupTableContainer
-
isFixedGrouping
public boolean isFixedGrouping() -
setFixedGrouping
public void setFixedGrouping(boolean fixedGrouping) -
handleAggregationGroupInputChange
protected void handleAggregationGroupInputChange(String columnKey, String groupKey, String value, boolean isFocused) - Overrides:
handleAggregationGroupInputChange
in classJmixTable
-
setSortOptions
Description copied from interface:JmixEnhancedTable
Sets column id to sort and sorting direction. It doesn't invoke sorting after setting parameters.- Specified by:
setSortOptions
in interfaceJmixEnhancedTable
- Overrides:
setSortOptions
in classJmixTable
- Parameters:
propertyId
- column idsortAscending
- sort ascending option
-
refreshRenderedCells
protected void refreshRenderedCells()- Overrides:
refreshRenderedCells
in classcom.vaadin.v7.ui.Table
-
getGroupPropertyValueFormatter
-
setGroupPropertyValueFormatter
public void setGroupPropertyValueFormatter(JmixGroupTable.GroupPropertyValueFormatter groupPropertyValueFormatter) -
isSortOnGroupEnabled
public boolean isSortOnGroupEnabled() -
setSortOnGroupEnabled
public void setSortOnGroupEnabled(boolean sortOnGroupEnabled)
-