Class PivotTable<T>
java.lang.Object
com.vaadin.flow.component.Component
io.jmix.pivottableflowui.kit.component.JmixPivotTable<T>
io.jmix.pivottableflowui.component.PivotTable<T>
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasEnabled,com.vaadin.flow.component.HasSize,com.vaadin.flow.component.HasStyle,Serializable,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware
public class PivotTable<T>
extends JmixPivotTable<T>
implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
Integration of an open-source Javascript Pivot Table written by Nicolas Kruchten.
A pivot table component is a powerful data analysis tool that allows users to summarize, analyze and present
datasets in a flexible and interactive manner.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.pivottableflowui.kit.component.JmixPivotTable
JmixPivotTable.PendingJsFunction -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextprotected CurrentAuthenticationprotected FormatStringsRegistryprotected MessagesFields inherited from class io.jmix.pivottableflowui.kit.component.JmixPivotTable
clientReady, DATA_ITEM_ID_PROPERTY_NAME, functions, jmixPivotTableItems, jmixPivotTableItemsChangeRegistration, options, serializer, synchronizeItemsExecution, synchronizeOptionsExecution -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidprotected voidprotected <OPTION_TYPE>
OPTION_TYPEoverrideOption(OPTION_TYPE current, OPTION_TYPE override) protected voidrequestPivotData(Consumer<PivotData> consumer) voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) protected voidsetPivotTableOptions(PivotTableOptions pivotTableOptions) Methods inherited from class io.jmix.pivottableflowui.kit.component.JmixPivotTable
addAggregationProperties, addCellClickListener, addColumns, addExclusions, addHiddenFromAggregations, addHiddenFromDragDrop, addHiddenProperties, addInclusions, addProperties, addProperty, addRefreshEventListener, addRows, callJsFunction, callPendingJsFunction, createOptions, createSerializer, getAggregation, getAggregationProperties, getAggregations, getAutoSortUnusedProperties, getColumnOrder, getColumns, getDerivedProperties, getEmptyDataMessage, getExclusions, getFilterFunction, getHiddenFromAggregations, getHiddenFromDragDrop, getHiddenProperties, getInclusions, getItems, getMenuLimit, getProperties, getRenderer, getRendererOptions, getRenderers, getRowOrder, getRows, getSortersFunction, getUnusedPropertiesVertical, initComponent, initComponentListeners, isShowColumnTotals, isShowRowTotals, isShowUI, onAttach, onDetach, onOptionsChange, onRefresh, performUpdateItems, performUpdateOptions, ready, requestUpdateItems, requestUpdateOptions, setAggregation, setAggregationProperties, setAggregations, setAutoSortUnusedProperties, setColumnOrder, setColumns, setDerivedProperties, setEmptyDataMessage, setExclusions, setExclusions, setFilterFunction, setHiddenFromAggregations, setHiddenFromDragDrop, setHiddenProperties, setInclusions, setInclusions, setItems, setMenuLimit, setProperties, setRenderer, setRendererOptions, setRenderers, setRowOrder, setRows, setShowColumnTotals, setShowRowTotals, setShowUI, setSortersFunction, setUnusedPropertiesVertical, updateOptionsAfterRefreshMethods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasEnabled
isEnabled, setEnabledMethods inherited from interface com.vaadin.flow.component.HasSize
getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFullMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext -
messages
-
formatStringsRegistry
-
currentAuthentication
-
-
Constructor Details
-
PivotTable
public PivotTable()
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
requestPivotData
-
setPivotTableOptions
-
overrideOption
protected <OPTION_TYPE> OPTION_TYPE overrideOption(OPTION_TYPE current, @Nullable OPTION_TYPE override) -
initLocalization
protected void initLocalization() -
autowireDependencies
protected void autowireDependencies() -
getLocalizedStrings
-
getAggregationsLocaleMap
-
getRenderersLocaleMap
-