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
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
protected CurrentAuthentication
protected FormatStringsRegistry
protected Messages
Fields inherited from class io.jmix.pivottableflowui.kit.component.JmixPivotTable
clientReady, DATA_ITEM_ID_PROPERTY_NAME, functions, jmixPivotTableItems, jmixPivotTableItemsChangeRegistration, options, serializer, synchronizeItemsExecution, synchronizeOptionsExecution
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected void
protected void
protected <OPTION_TYPE>
OPTION_TYPEoverrideOption
(OPTION_TYPE current, OPTION_TYPE override) protected void
requestPivotData
(Consumer<PivotData> consumer) void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext) protected void
setPivotTableOptions
(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, updateOptionsAfterRefresh
Methods 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, setVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListener
Methods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListener
Methods inherited from interface com.vaadin.flow.component.HasElement
getElement
Methods inherited from interface com.vaadin.flow.component.HasEnabled
isEnabled, setEnabled
Methods 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, setWidthFull
Methods 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:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in 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
-