Package io.jmix.ui.widget
Class JmixTreeTable
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
com.vaadin.v7.ui.TreeTable
io.jmix.ui.widget.JmixTreeTable
- 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.Hierarchical,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,TableSortableContainer,TreeTableContainer,JmixEnhancedTable,Serializable,Iterable<com.vaadin.ui.Component>,EventListener
public class JmixTreeTable
extends com.vaadin.v7.ui.TreeTable
implements TreeTableContainer, JmixEnhancedTable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.vaadin.v7.ui.TreeTable
com.vaadin.v7.ui.TreeTable.CollapsibleStrategy, com.vaadin.v7.ui.TreeTable.ContainerStrategy, com.vaadin.v7.ui.TreeTable.HierarchicalStrategyNested 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.TableTransferableNested 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.VerticalLocationIsNested classes/interfaces inherited from class com.vaadin.v7.ui.AbstractField
com.vaadin.v7.ui.AbstractField.FocusShortcut, com.vaadin.v7.ui.AbstractField.ReadOnlyStatusChangeEventNested classes/interfaces inherited from class com.vaadin.server.AbstractClientConnector
com.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandlerNested classes/interfaces inherited from interface io.jmix.ui.widget.data.AggregationContainer
AggregationContainer.Context, AggregationContainer.TypeNested classes/interfaces inherited from interface com.vaadin.v7.data.Buffered
com.vaadin.v7.data.Buffered.SourceExceptionNested 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.DetachListenerNested 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.ListenerNested classes/interfaces inherited from interface com.vaadin.ui.Component.HasContextHelp
com.vaadin.ui.Component.HasContextHelp.ContextHelpIconClickEvent, com.vaadin.ui.Component.HasContextHelp.ContextHelpIconClickListenerNested 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.ViewerNested classes/interfaces inherited from interface com.vaadin.v7.ui.Field
com.vaadin.v7.ui.Field.ValueChangeEventNested classes/interfaces inherited from interface com.vaadin.ui.HasChildMeasurementHint
com.vaadin.ui.HasChildMeasurementHint.ChildMeasurementHintNested 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.ComponentDetachListenerNested 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.TableCellClickListenerNested 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.ViewerNested classes/interfaces inherited from interface com.vaadin.server.Sizeable
com.vaadin.server.Sizeable.Unit -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Consumer<com.vaadin.ui.Component>protected JmixEnhancedTable.AggregationStyleprotected booleanprotected Runnableprotected Runnableprotected Map<Object,JmixEnhancedTable.TableCellClickListener> protected JmixEnhancedTable.CellValueFormatterprotected LinkedList<Object>protected Runnableprotected Objectprotected Objectprotected Stringprotected HtmlAttributesExtensionprotected com.vaadin.event.ActionManagerKeeps track of the ShortcutListeners added to this component, and manages the painting and handling as well.protected booleanprotected com.vaadin.shared.RegistrationFields 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, sortContainerPropertyIdFields 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, resetValueToNullOnContainerChangeFields inherited from class com.vaadin.ui.AbstractComponent
componentErrorProvider, DESIGN_ATTR_PLAIN_TEXTFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAggregationEditableColumn(Object columnId) voidaddContainerPropertyAggregation(Object propertyId, AggregationContainer.Type type) voidaddGeneratedColumn(Object id, com.vaadin.v7.ui.Table.ColumnGenerator generatedColumn) com.vaadin.shared.RegistrationaddShortcutListener(com.vaadin.event.ShortcutListener shortcut) voidaddTableCellClickListener(Object propertyId, JmixEnhancedTable.TableCellClickListener listener) aggregate(AggregationContainer.Context context) Perform aggregation and return map with formatted string values.Perform aggregation and return map with aggregation info and aggregation column type, i.e.voidbeforeClientResponse(boolean initial) voidchangeVariables(Object source, Map<String, Object> variables) protected booleanchangeVariables(Map<String, Object> variables) voidvoidvoidprotected com.vaadin.v7.data.ContainercreateOrderedWrapper(com.vaadin.v7.data.Container newDataSource) booleanvoidenableContentBufferRefreshing(boolean refreshContent) voidvoidvoidvoidvoidexpandUpTo(int level) protected intfindItemIndex(Object currentPageFirstItemId) protected voidfireValueChange(boolean repaintIsNotNeeded) protected StringformatPropertyValue(Object rowId, Object colId, com.vaadin.v7.data.Property<?> property) Consumer<com.vaadin.ui.Component>getAggregationDescription(Object columnId) protected String[]getClickableColumnKeys(Collection<Object> columnIds) booleangetColumnCaptionAsHtml(Object columnId) getColumnDescription(Object columnId) booleangetColumnSortable(Object columnId) booleanObject[]protected HtmlAttributesExtensiongetItemByRowKey(String rowKey) com.vaadin.server.ResourcegetItemIcon(Object itemId) intcom.vaadin.server.Sizeable.Unitcom.vaadin.server.Sizeable.Unitcom.vaadin.ui.Componentprotected ObjectgetPropertyValue(Object rowId, Object colId, com.vaadin.v7.data.Property property) Collection<?>protected JmixTreeTableStategetState()protected JmixTreeTableStategetState(boolean markAsDirty) voidvoidbooleanbooleanbooleanisColumnEditable(Object columnId) protected booleanisColumnEditable(Object columnId, boolean editable) booleanbooleanisExpanded(Object itemId) booleanbooleanbooleanIterator<com.vaadin.ui.Component>iterator()protected voidprotected voidpaintActions(com.vaadin.server.PaintTarget target, Set<com.vaadin.event.Action> actionSet) protected voidpaintAdditionalData(com.vaadin.server.PaintTarget target) protected voidpaintAggregationRow(com.vaadin.server.PaintTarget target, Map<Object, Object> aggregations) voidpaintContent(com.vaadin.server.PaintTarget target) voidvoidbooleanremoveContainerProperty(Object propertyId) voidremoveContainerPropertyAggregation(Object propertyId) voidremoveShortcutListener(com.vaadin.event.ShortcutListener shortcut) voidremoveTableCellClickListener(Object propertyId) voidrequestFocus(Object itemId, Object columnId) voidvoidsetAfterUnregisterComponentHandler(Consumer<com.vaadin.ui.Component> afterUnregisterComponentHandler) voidsetAggregatable(boolean aggregatable) voidsetAggregationDescription(Object columnId, String tooltip) voidsetAggregationDistributionProvider(Function<JmixEnhancedTable.AggregationInputValueChangeContext, Boolean> distributionProvider) voidsetAggregationStyle(JmixEnhancedTable.AggregationStyle aggregationStyle) voidsetAutowirePropertyDsForFields(boolean autowirePropertyDsForFields) voidsetBeforePaintListener(Runnable beforePaintListener) voidsetBeforeRefreshRowCacheHandler(Runnable beforeRefreshRowCacheHandler) voidsetColumnCaptionAsHtml(Object columnId, boolean captionAsHtml) Sets whether caption of column with the givencolumnIdshould be interpreted as HTML or not.voidsetColumnDescription(Object columnId, String description) voidsetColumnSortable(Object columnId, boolean sortable) voidsetContainerDataSource(com.vaadin.v7.data.Container newDataSource) voidsetContextMenuEnabled(boolean contextMenuEnabled) voidsetContextMenuPopup(com.vaadin.ui.Layout contextMenu) voidsetCustomCellValueFormatter(JmixEnhancedTable.CellValueFormatter cellValueFormatter) voidsetCustomPopupAutoClose(boolean popupAutoClose) voidsetDeselectAllLabel(String deselectAllLabel) voidsetEditable(boolean editable) voidsetEditableColumns(Object[] editableColumns) voidsetEmptyStateLinkClickHandler(Runnable handler) voidsetEmptyStateLinkMessage(String linkMessage) voidsetEmptyStateMessage(String message) voidsetExpanded(Object itemId) voidsetIconProvider(Function<Object, com.vaadin.server.Resource> iconProvider) voidsetMinHeight(String minHeight) voidsetMinWidth(String minWidth) voidsetMultiLineCells(boolean multiLineCells) voidsetPresentationsLayout(com.vaadin.ui.Component presentations) voidsetSelectAllLabel(String selectAllLabel) voidsetShowEmptyState(boolean show) voidsetShowTotalAggregation(boolean showTotalAggregation) voidsetSortAscendingLabel(String tableSortAscendingLabel) voidsetSortDescendingLabel(String tableSortDescendingLabel) voidsetSortOptions(Object propertyId, boolean sortAscending) Sets column id to sort and sorting direction.voidsetSortResetLabel(String tableSortResetLabel) voidsetSpecificVariablesHandler(JmixEnhancedTable.SpecificVariablesHandler specificVariablesHandler) voidsetTextSelectionEnabled(boolean textSelectionEnabled) voidshowCustomPopup(com.vaadin.ui.Component popupComponent) protected voidunregisterComponent(com.vaadin.ui.Component component) protected voidprotected voidprotected voidprotected voidprotected voidprotected intupdateNewIndexOnLastPage(int newIndex, int indexOnLastPage) Methods inherited from class com.vaadin.v7.ui.TreeTable
addCollapseListener, addExpandListener, addListener, addListener, areChildrenAllowed, containerItemSetChange, expandAllItems, fireCollapseEvent, fireExpandEvent, getAddedRowCount, getChildren, getContainerDataSource, getContainerStrategy, getFirstAddedItemIndex, getFirstUpdatedItemIndex, getHierarchyColumnId, getIdByIndex, getItemIds, getItemIds, getParent, getUpdatedRowCount, hasChildren, indexOfId, isAnimationsEnabled, isCollapsed, isLastId, isPartialRowUpdate, isRoot, lastItemId, nextItemId, paintRowAttributes, paintRowIcon, prevItemId, readBody, readItem, removeCollapseListener, removeExpandListener, removeListener, removeListener, rootItemIds, rowHeadersAreEnabled, setAnimationsEnabled, setChildrenAllowed, setCollapsed, setHierarchyColumn, setParent, shouldHideAddedRows, size, writeItem, writeItems, writeItemsMethods 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, containerPropertySetChange, detach, disableContentRefreshing, enableContentRefreshing, firstItemId, getCacheRate, getCellStyleGenerator, getChildMeasurementHint, getCollapseMenuContent, getColumnAlignment, getColumnAlignments, getColumnExpandRatio, getColumnFooter, getColumnGenerator, getColumnHeader, getColumnHeaderMode, getColumnHeaders, getColumnIcon, getColumnIcons, getColumnWidth, getComponentIterator, getConverter, getCurrentPageFirstItemId, getCurrentPageFirstItemIndex, getCustomAttributes, getDragMode, getDropHandler, getItemDescriptionGenerator, getItemIdsInRange, getMultiSelectMode, getPageLength, getRowGenerator, getRowHeaderMode, getSortContainerPropertyId, getTableFieldFactory, getTransferable, getVisibleColumns, getVisibleItemIds, hasConverter, isCellPaintingNeeded, isColumnCollapsed, isColumnCollapsible, isColumnCollapsingAllowed, isColumnNeedsToRefreshRendered, isColumnReorderingAllowed, isEditable, isFirstId, isFooterVisible, isItemNeedsToRefreshRendered, isMultiSelectTouchDetectionEnabled, isRowCacheInvalidated, isSelectable, isSortAscending, isSortDisabled, isSortEnabled, markAsDirty, markAsDirtyRecursive, paintRowHeader, paintVisibleColumns, readDesign, readItems, refreshRenderedCells, registerComponent, removeActionHandler, removeAllActionHandlers, removeAllItems, removeColumnCollapseListener, removeColumnReorderListener, removeColumnResizeListener, removeFooterClickListener, removeGeneratedColumn, removeHeaderClickListener, removeItem, removeItemClickListener, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, resetPageBuffer, 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, sort, sort, translateDropTargetDetails, valueChange, writeDesignMethods inherited from class com.vaadin.v7.ui.AbstractSelect
addItem, addItem, addItems, addItems, addItemSetChangeListener, addListener, addListener, addPropertySetChangeListener, containsId, fireItemSetChange, firePropertySetChange, getCaptionChangeListener, getContainerProperty, getContainerPropertyIds, getItem, getItemCaption, getItemCaptionMode, getItemCaptionPropertyId, getItemIconPropertyId, 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, unselectMethods 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, validateMethods inherited from class com.vaadin.v7.ui.AbstractLegacyComponent
getExplicitImmediateValue, isImmediate, setImmediateMethods 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, setWidthUndefinedMethods 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, updateDiffstateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.server.ClientConnector
addAttachListener, addDetachListener, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, removeAttachListener, removeDetachListener, removeExtension, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlerMethods 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, setStyleNameMethods inherited from interface com.vaadin.shared.Connector
getConnectorIdMethods inherited from interface com.vaadin.v7.data.Container
addContainerProperty, addItem, addItem, containsId, getContainerProperty, getContainerPropertyIds, getItem, getItemIds, getType, removeAllItems, sizeMethods inherited from interface com.vaadin.v7.data.Container.Hierarchical
areChildrenAllowed, getChildren, getParent, hasChildren, isRoot, removeItem, rootItemIds, setChildrenAllowed, setParentMethods inherited from interface com.vaadin.v7.data.Container.Ordered
addItemAfter, addItemAfter, firstItemId, isFirstId, isLastId, lastItemId, nextItemId, prevItemIdMethods inherited from interface com.vaadin.v7.data.Container.Sortable
sortMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface com.vaadin.server.Sizeable
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightFull, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull, setWidthUndefinedMethods inherited from interface com.vaadin.server.VariableOwner
isEnabled
-
Field Details
-
editableColumns
-
aggregationEditableColumns
-
shortcutActionManager
protected com.vaadin.event.ActionManager shortcutActionManagerKeeps track of the ShortcutListeners added to this component, and manages the painting and handling as well. -
autowirePropertyDsForFields
protected boolean autowirePropertyDsForFields -
showTotalAggregation
protected boolean showTotalAggregation -
nonSortableProperties
-
columnDescriptions
-
aggregationTooltips
-
htmlCaptionColumns
-
clickableTableColumnIds
-
tableCellClickListenerRegistration
protected com.vaadin.shared.Registration tableCellClickListenerRegistration -
aggregationStyle
-
focusColumn
-
focusItem
-
beforePaintListener
-
iconProvider
-
specificVariablesHandler
-
customCellValueFormatter
-
focusTotalAggregationInputColumnKey
-
aggregationDistributionProvider
protected Function<JmixEnhancedTable.AggregationInputValueChangeContext,Boolean> aggregationDistributionProvider -
afterUnregisterComponentHandler
-
beforeRefreshRowCacheHandler
-
emptyStateLinkClickHandler
-
htmlAttributesExtension
-
-
Constructor Details
-
JmixTreeTable
public JmixTreeTable()
-
-
Method Details
-
getState
- Overrides:
getStatein classcom.vaadin.v7.ui.TreeTable
-
getState
- Overrides:
getStatein classcom.vaadin.v7.ui.Table
-
setSortResetLabel
- Specified by:
setSortResetLabelin interfaceJmixEnhancedTable
-
getSortResetLabel
- Specified by:
getSortResetLabelin interfaceJmixEnhancedTable
-
setSortAscendingLabel
- Specified by:
setSortAscendingLabelin interfaceJmixEnhancedTable
-
getSortAscendingLabel
- Specified by:
getSortAscendingLabelin interfaceJmixEnhancedTable
-
setSortDescendingLabel
- Specified by:
setSortDescendingLabelin interfaceJmixEnhancedTable
-
getSortDescendingLabel
- Specified by:
getSortDescendingLabelin interfaceJmixEnhancedTable
-
getSelectAllLabel
- Specified by:
getSelectAllLabelin interfaceJmixEnhancedTable
-
setSelectAllLabel
- Specified by:
setSelectAllLabelin interfaceJmixEnhancedTable
-
getDeselectAllLabel
- Specified by:
getDeselectAllLabelin interfaceJmixEnhancedTable
-
setDeselectAllLabel
- Specified by:
setDeselectAllLabelin interfaceJmixEnhancedTable
-
getPresentationsLayout
public com.vaadin.ui.Component getPresentationsLayout()- Specified by:
getPresentationsLayoutin interfaceJmixEnhancedTable
-
setPresentationsLayout
public void setPresentationsLayout(com.vaadin.ui.Component presentations) - Specified by:
setPresentationsLayoutin interfaceJmixEnhancedTable
-
setContextMenuPopup
public void setContextMenuPopup(com.vaadin.ui.Layout contextMenu) - Specified by:
setContextMenuPopupin interfaceJmixEnhancedTable
-
hideContextMenuPopup
public void hideContextMenuPopup()- Specified by:
hideContextMenuPopupin interfaceJmixEnhancedTable
-
hidePresentationsPopup
public void hidePresentationsPopup()- Specified by:
hidePresentationsPopupin interfaceJmixEnhancedTable
-
isTextSelectionEnabled
public boolean isTextSelectionEnabled()- Specified by:
isTextSelectionEnabledin interfaceJmixEnhancedTable
-
setTextSelectionEnabled
public void setTextSelectionEnabled(boolean textSelectionEnabled) - Specified by:
setTextSelectionEnabledin interfaceJmixEnhancedTable
-
setMultiLineCells
public void setMultiLineCells(boolean multiLineCells) - Specified by:
setMultiLineCellsin interfaceJmixEnhancedTable
-
isMultiLineCells
public boolean isMultiLineCells()- Specified by:
isMultiLineCellsin interfaceJmixEnhancedTable
-
disableContentBufferRefreshing
public boolean disableContentBufferRefreshing()- Specified by:
disableContentBufferRefreshingin interfaceJmixEnhancedTable
-
enableContentBufferRefreshing
public void enableContentBufferRefreshing(boolean refreshContent) - Specified by:
enableContentBufferRefreshingin interfaceJmixEnhancedTable
-
getPropertyValue
- Overrides:
getPropertyValuein classcom.vaadin.v7.ui.Table
-
isAutowirePropertyDsForFields
public boolean isAutowirePropertyDsForFields()- Specified by:
isAutowirePropertyDsForFieldsin interfaceJmixEnhancedTable
-
setAutowirePropertyDsForFields
public void setAutowirePropertyDsForFields(boolean autowirePropertyDsForFields) - Specified by:
setAutowirePropertyDsForFieldsin interfaceJmixEnhancedTable
-
isContextMenuEnabled
public boolean isContextMenuEnabled()- Specified by:
isContextMenuEnabledin interfaceJmixEnhancedTable
-
setContextMenuEnabled
public void setContextMenuEnabled(boolean contextMenuEnabled) - Specified by:
setContextMenuEnabledin interfaceJmixEnhancedTable
-
getLevel
- Specified by:
getLevelin interfaceTreeTableContainer
-
changeVariables
- Specified by:
changeVariablesin interfacecom.vaadin.server.VariableOwner- Overrides:
changeVariablesin classcom.vaadin.v7.ui.TreeTable
-
addShortcutListener
public com.vaadin.shared.Registration addShortcutListener(com.vaadin.event.ShortcutListener shortcut) - Specified by:
addShortcutListenerin interfacecom.vaadin.event.Action.ShortcutNotifier- Overrides:
addShortcutListenerin classcom.vaadin.ui.AbstractComponent
-
removeShortcutListener
public void removeShortcutListener(com.vaadin.event.ShortcutListener shortcut) - Specified by:
removeShortcutListenerin interfacecom.vaadin.event.Action.ShortcutNotifier- Overrides:
removeShortcutListenerin classcom.vaadin.ui.AbstractComponent
-
paintActions
protected void paintActions(com.vaadin.server.PaintTarget target, Set<com.vaadin.event.Action> actionSet) throws com.vaadin.server.PaintException - Overrides:
paintActionsin classcom.vaadin.v7.ui.Table- Throws:
com.vaadin.server.PaintException
-
getEditableColumns
- Specified by:
getEditableColumnsin interfaceJmixEnhancedTable
-
setEditableColumns
- Specified by:
setEditableColumnsin interfaceJmixEnhancedTable
-
isColumnEditable
- Overrides:
isColumnEditablein classcom.vaadin.v7.ui.Table
-
isColumnEditable
- Specified by:
isColumnEditablein interfaceJmixEnhancedTable
-
addGeneratedColumn
- Overrides:
addGeneratedColumnin classcom.vaadin.v7.ui.Table
-
setEditable
public void setEditable(boolean editable) - Overrides:
setEditablein classcom.vaadin.v7.ui.Table
-
changeVariables
- Overrides:
changeVariablesin classcom.vaadin.v7.ui.Table
-
getItemIcon
- Overrides:
getItemIconin classcom.vaadin.v7.ui.AbstractSelect
-
formatPropertyValue
protected String formatPropertyValue(Object rowId, Object colId, com.vaadin.v7.data.Property<?> property) - Overrides:
formatPropertyValuein classcom.vaadin.v7.ui.Table
-
setContainerDataSource
public void setContainerDataSource(com.vaadin.v7.data.Container newDataSource) - Specified by:
setContainerDataSourcein interfacecom.vaadin.v7.data.Container.Viewer- Overrides:
setContainerDataSourcein classcom.vaadin.v7.ui.TreeTable
-
expandAll
public void expandAll() -
expandItemRecursively
-
expandItemWithParents
-
collapseItemRecursively
-
collapseAll
public void collapseAll() -
expandUpTo
public void expandUpTo(int level) -
setExpanded
-
isExpanded
-
resetSortOrder
public void resetSortOrder()- Specified by:
resetSortOrderin interfaceTableSortableContainer
-
iterator
-
refreshCellStyles
public void refreshCellStyles()- Specified by:
refreshCellStylesin interfaceJmixEnhancedTable
-
removeContainerProperty
- Specified by:
removeContainerPropertyin interfacecom.vaadin.v7.data.Container- Overrides:
removeContainerPropertyin classcom.vaadin.v7.ui.Table- Throws:
UnsupportedOperationException
-
isAggregatable
public boolean isAggregatable()- Specified by:
isAggregatablein interfaceJmixEnhancedTable
-
setAggregatable
public void setAggregatable(boolean aggregatable) - Specified by:
setAggregatablein interfaceJmixEnhancedTable
-
getAggregationStyle
- Specified by:
getAggregationStylein interfaceJmixEnhancedTable
-
setAggregationStyle
- Specified by:
setAggregationStylein interfaceJmixEnhancedTable
-
isShowTotalAggregation
public boolean isShowTotalAggregation()- Specified by:
isShowTotalAggregationin interfaceJmixEnhancedTable
-
setShowTotalAggregation
public void setShowTotalAggregation(boolean showTotalAggregation) - Specified by:
setShowTotalAggregationin interfaceJmixEnhancedTable
-
getAggregationPropertyIds
- Specified by:
getAggregationPropertyIdsin interfaceAggregationContainer
-
addContainerPropertyAggregation
- Specified by:
addContainerPropertyAggregationin interfaceAggregationContainer
-
removeContainerPropertyAggregation
- Specified by:
removeContainerPropertyAggregationin interfaceAggregationContainer
-
aggregate
Description copied from interface:AggregationContainerPerform aggregation and return map with formatted string values.- Specified by:
aggregatein interfaceAggregationContainer- Parameters:
context- aggregation context- Returns:
- map with aggregation info and formatted string values
-
aggregateValues
Description copied from interface:AggregationContainerPerform aggregation and return map with aggregation info and aggregation column type, i.e. if aggregation was performed for Long type column it will return pair: AggregationInfo - Long.- Specified by:
aggregateValuesin interfaceAggregationContainer- Parameters:
context- aggregation context- Returns:
- map with aggregation info and aggregation column type
-
paintAdditionalData
protected void paintAdditionalData(com.vaadin.server.PaintTarget target) throws com.vaadin.server.PaintException - Overrides:
paintAdditionalDatain classcom.vaadin.v7.ui.Table- Throws:
com.vaadin.server.PaintException
-
paintAggregationRow
protected void paintAggregationRow(com.vaadin.server.PaintTarget target, Map<Object, Object> aggregations) throws com.vaadin.server.PaintException- Throws:
com.vaadin.server.PaintException
-
addTableCellClickListener
public void addTableCellClickListener(Object propertyId, JmixEnhancedTable.TableCellClickListener listener) - Specified by:
addTableCellClickListenerin interfaceJmixEnhancedTable
-
onTableCellClick
-
removeTableCellClickListener
- Specified by:
removeTableCellClickListenerin interfaceJmixEnhancedTable
-
getColumnSortable
- Specified by:
getColumnSortablein interfaceJmixEnhancedTable
-
setColumnSortable
- Specified by:
setColumnSortablein interfaceJmixEnhancedTable
-
requestFocus
- Specified by:
requestFocusin interfaceJmixEnhancedTable
-
getIconProvider
- Specified by:
getIconProviderin interfaceJmixEnhancedTable
-
setIconProvider
- Specified by:
setIconProviderin interfaceJmixEnhancedTable
-
setSpecificVariablesHandler
public void setSpecificVariablesHandler(JmixEnhancedTable.SpecificVariablesHandler specificVariablesHandler) - Specified by:
setSpecificVariablesHandlerin interfaceJmixEnhancedTable
-
getSpecificVariablesHandler
- Specified by:
getSpecificVariablesHandlerin interfaceJmixEnhancedTable
-
getSortableContainerPropertyIds
- Specified by:
getSortableContainerPropertyIdsin interfacecom.vaadin.v7.data.Container.Sortable- Overrides:
getSortableContainerPropertyIdsin classcom.vaadin.v7.ui.Table
-
beforeClientResponse
public void beforeClientResponse(boolean initial) - Specified by:
beforeClientResponsein interfacecom.vaadin.server.ClientConnector- Overrides:
beforeClientResponsein classcom.vaadin.v7.ui.Table
-
updateAggregatableTooltips
protected void updateAggregatableTooltips() -
updateClickableTableColumnKeys
protected void updateClickableTableColumnKeys() -
getClickableColumnKeys
-
showCustomPopup
public void showCustomPopup(com.vaadin.ui.Component popupComponent) - Specified by:
showCustomPopupin interfaceJmixEnhancedTable
-
getCustomPopupAutoClose
public boolean getCustomPopupAutoClose()- Specified by:
getCustomPopupAutoClosein interfaceJmixEnhancedTable
-
setCustomPopupAutoClose
public void setCustomPopupAutoClose(boolean popupAutoClose) - Specified by:
setCustomPopupAutoClosein interfaceJmixEnhancedTable
-
setColumnDescription
- Specified by:
setColumnDescriptionin interfaceJmixEnhancedTable
-
getAggregationDescription
- Specified by:
getAggregationDescriptionin interfaceJmixEnhancedTable
-
setAggregationDescription
- Specified by:
setAggregationDescriptionin interfaceJmixEnhancedTable
-
getColumnDescription
- Specified by:
getColumnDescriptionin interfaceJmixEnhancedTable
-
updateColumnDescriptions
protected void updateColumnDescriptions() -
createOrderedWrapper
protected com.vaadin.v7.data.Container createOrderedWrapper(com.vaadin.v7.data.Container newDataSource) - Overrides:
createOrderedWrapperin classcom.vaadin.v7.ui.Table
-
setBeforePaintListener
- Specified by:
setBeforePaintListenerin interfaceJmixEnhancedTable
-
setCustomCellValueFormatter
public void setCustomCellValueFormatter(@Nullable JmixEnhancedTable.CellValueFormatter cellValueFormatter) - Specified by:
setCustomCellValueFormatterin interfaceJmixEnhancedTable
-
getCustomCellValueFormatter
- Specified by:
getCustomCellValueFormatterin interfaceJmixEnhancedTable
-
updateHtmlCaptionColumns
protected void updateHtmlCaptionColumns() -
setColumnCaptionAsHtml
Description copied from interface:JmixEnhancedTableSets whether caption of column with the givencolumnIdshould be interpreted as HTML or not.- Specified by:
setColumnCaptionAsHtmlin interfaceJmixEnhancedTable- Parameters:
columnId- column idcaptionAsHtml- interpret caption as HTML or not
-
getColumnCaptionAsHtml
- Specified by:
getColumnCaptionAsHtmlin interfaceJmixEnhancedTable- Parameters:
columnId- column id- Returns:
- whether caption of column with the given
columnIdshould be interpreted as HTML or not
-
paintContent
public void paintContent(com.vaadin.server.PaintTarget target) throws com.vaadin.server.PaintException - Specified by:
paintContentin interfacecom.vaadin.ui.LegacyComponent- Overrides:
paintContentin classcom.vaadin.v7.ui.TreeTable- Throws:
com.vaadin.server.PaintException
-
addAggregationEditableColumn
- Specified by:
addAggregationEditableColumnin interfaceJmixEnhancedTable
-
setAggregationDistributionProvider
public void setAggregationDistributionProvider(Function<JmixEnhancedTable.AggregationInputValueChangeContext, Boolean> distributionProvider) - Specified by:
setAggregationDistributionProviderin interfaceJmixEnhancedTable
-
getAggregationDistributionProvider
public Function<JmixEnhancedTable.AggregationInputValueChangeContext,Boolean> getAggregationDistributionProvider()- Specified by:
getAggregationDistributionProviderin interfaceJmixEnhancedTable
-
getItemByRowKey
- Specified by:
getItemByRowKeyin interfaceJmixEnhancedTable- Parameters:
rowKey- row index in the table- Returns:
- item
-
setShowEmptyState
public void setShowEmptyState(boolean show) - Specified by:
setShowEmptyStatein interfaceJmixEnhancedTable
-
getEmptyStateMessage
- Specified by:
getEmptyStateMessagein interfaceJmixEnhancedTable
-
setEmptyStateMessage
- Specified by:
setEmptyStateMessagein interfaceJmixEnhancedTable
-
getEmptyStateLinkMessage
- Specified by:
getEmptyStateLinkMessagein interfaceJmixEnhancedTable
-
setEmptyStateLinkMessage
- Specified by:
setEmptyStateLinkMessagein interfaceJmixEnhancedTable
-
setEmptyStateLinkClickHandler
- Specified by:
setEmptyStateLinkClickHandlerin interfaceJmixEnhancedTable
-
getMinHeight
- Specified by:
getMinHeightin interfaceJmixEnhancedTable
-
getMinHeightSizeUnit
@Nullable public com.vaadin.server.Sizeable.Unit getMinHeightSizeUnit()- Specified by:
getMinHeightSizeUnitin interfaceJmixEnhancedTable
-
setMinHeight
- Specified by:
setMinHeightin interfaceJmixEnhancedTable
-
getMinWidth
- Specified by:
getMinWidthin interfaceJmixEnhancedTable
-
getMinWidthSizeUnit
@Nullable public com.vaadin.server.Sizeable.Unit getMinWidthSizeUnit()- Specified by:
getMinWidthSizeUnitin interfaceJmixEnhancedTable
-
setMinWidth
- Specified by:
setMinWidthin interfaceJmixEnhancedTable
-
getHtmlAttributesExtension
-
expandAllHierarchical
-
collapseAllHierarchical
public void collapseAllHierarchical() -
getAfterUnregisterComponentHandler
- Specified by:
getAfterUnregisterComponentHandlerin interfaceJmixEnhancedTable
-
setAfterUnregisterComponentHandler
public void setAfterUnregisterComponentHandler(Consumer<com.vaadin.ui.Component> afterUnregisterComponentHandler) - Specified by:
setAfterUnregisterComponentHandlerin interfaceJmixEnhancedTable
-
unregisterComponent
protected void unregisterComponent(com.vaadin.ui.Component component) - Overrides:
unregisterComponentin classcom.vaadin.v7.ui.Table
-
getBeforeRefreshRowCacheHandler
- Specified by:
getBeforeRefreshRowCacheHandlerin interfaceJmixEnhancedTable
-
setBeforeRefreshRowCacheHandler
- Specified by:
setBeforeRefreshRowCacheHandlerin interfaceJmixEnhancedTable
-
refreshRowCache
public void refreshRowCache()- Overrides:
refreshRowCachein classcom.vaadin.v7.ui.Table
-
setSortOptions
Description copied from interface:JmixEnhancedTableSets column id to sort and sorting direction. It doesn't invoke sorting after setting parameters.- Specified by:
setSortOptionsin interfaceJmixEnhancedTable- Parameters:
propertyId- column idsortAscending- sort ascending option
-
findItemIndex
- Overrides:
findItemIndexin classcom.vaadin.v7.ui.Table
-
updateNewIndexOnLastPage
protected int updateNewIndexOnLastPage(int newIndex, int indexOnLastPage) - Overrides:
updateNewIndexOnLastPagein classcom.vaadin.v7.ui.Table
-
fireValueChange
protected void fireValueChange(boolean repaintIsNotNeeded) - Overrides:
fireValueChangein classcom.vaadin.v7.ui.AbstractField<Object>
-