public class PivotTableImpl extends AbstractComponent<JmixPivotTable> implements PivotTable, org.springframework.beans.factory.InitializingBean
PivotTable.CellClickEvent, PivotTable.RefreshEvent
Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.Wrapper
HasContextHelp.ContextHelpIconClickEvent
Modifier and Type | Field and Description |
---|---|
protected CellClickListener |
cellClickHandler |
protected io.jmix.core.security.CurrentAuthentication |
currentAuthentication |
protected io.jmix.core.Messages |
messages |
protected io.jmix.core.MessageTools |
messageTools |
protected PivotTableLocaleHelper |
pivotTableLocaleHelper |
protected RefreshListener |
refreshHandler |
alignment, applicationContext, component, contextHelpIconClickHandler, contextHelpIconClickListener, descriptionAsHtml, element, frame, htmlSanitizerEnabled, icon, ICON_STYLE, id, parent
NAME
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE
Constructor and Description |
---|
PivotTableImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addAggregationProperties(java.lang.String... aggregationProperties)
Adds an array of properties names to prepopulate
in vals area (gets passed to aggregator generating function).
|
io.jmix.core.common.event.Subscription |
addCellClickListener(java.util.function.Consumer<PivotTable.CellClickEvent> listener)
Adds a listener to the pivot table cell click events.
|
void |
addColumns(java.lang.String... cols)
Adds an array of property names to use as columns.
|
void |
addData(DataItem... dataItems)
Adds a data item to data provider.
|
void |
addExclusions(java.lang.String property,
java.lang.String... exclusions)
Adds a values to given key of exclusions map.
|
void |
addHiddenFromAggregations(java.lang.String... hiddenFromAggregations)
Adds an array of properties names to omit from the aggregation arguments dropdowns.
|
void |
addHiddenFromDragDrop(java.lang.String... hiddenFromDragDrop)
Adds an array of properties names to omit from the drag'n'drop portion of the UI.
|
void |
addHiddenProperties(java.lang.String... hiddenProperties)
Adds an array of properties names to omit from the UI.
|
void |
addInclusions(java.lang.String property,
java.lang.String... inclusions)
Adds a values to given key of inclusions map.
|
void |
addProperties(java.util.Map<java.lang.String,java.lang.String> properties)
Adds a map whose keys are
DataItem property names to use as pivot table data
and values they localized names. |
void |
addProperty(java.lang.String property,
java.lang.String value)
Add a property eith its localized value
|
io.jmix.core.common.event.Subscription |
addRefreshListener(java.util.function.Consumer<PivotTable.RefreshEvent> refreshListener)
Adds a listener to the pivot table refresh events.
|
void |
addRows(java.lang.String... rows)
Adds an array of properties names to use as rows.
|
void |
afterPropertiesSet() |
protected JmixPivotTable |
createComponent() |
protected PivotTableSerializer |
createPivotTableSerializer() |
Aggregation |
getAggregation() |
java.util.List<java.lang.String> |
getAggregationProperties() |
Aggregations |
getAggregations() |
java.lang.Boolean |
getAutoSortUnusedProperties() |
ColumnOrder |
getColumnOrder() |
java.util.List<java.lang.String> |
getColumns() |
DataProvider |
getDataProvider() |
DerivedProperties |
getDerivedProperties() |
java.lang.String |
getEmptyDataMessage() |
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getExclusions() |
JsFunction |
getFilterFunction() |
java.util.List<java.lang.String> |
getHiddenFromAggregations() |
java.util.List<java.lang.String> |
getHiddenFromDragDrop() |
java.util.List<java.lang.String> |
getHiddenProperties() |
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getInclusions() |
java.lang.Integer |
getMenuLimit() |
java.lang.String |
getNativeJson() |
java.util.Map<java.lang.String,java.lang.String> |
getProperties() |
Renderer |
getRenderer() |
RendererOptions |
getRendererOptions() |
Renderers |
getRenderers() |
RowOrder |
getRowOrder() |
java.util.List<java.lang.String> |
getRows() |
JsFunction |
getSortersFunction() |
UnusedPropertiesVertical |
getUnusedPropertiesVertical() |
protected void |
initLocale() |
java.lang.Boolean |
isColTotalsShown() |
boolean |
isEditable() |
java.lang.Boolean |
isRowTotalsShown() |
java.lang.Boolean |
isShowUI() |
protected void |
onCellClick(CellClickEvent e) |
protected void |
onRefresh(RefreshEvent e) |
void |
repaint()
Resend all items and properties to client and repaint pivot table.
|
void |
setAggregation(Aggregation aggregation)
Sets the aggregation object.
|
void |
setAggregationProperties(java.util.List<java.lang.String> aggregationProperties)
Sets the list of properties names to prepopulate
in vals area (gets passed to aggregator generating function).
|
void |
setAggregations(Aggregations aggregations)
Sets the aggregations object which defines the collection of aggregations
to use in pivot table and additional settings for them.
|
void |
setAutoSortUnusedProperties(java.lang.Boolean autoSortUnusedProperties)
Controls whether or not unused properties are kept sorted in the UI.
|
void |
setColumnOrder(ColumnOrder columnOrder)
Set the order in which column data is provided to the renderer.
|
void |
setColumns(java.util.List<java.lang.String> cols)
Sets the list of property names to use as columns.
|
void |
setCurrentAuthentication(io.jmix.core.security.CurrentAuthentication currentAuthentication) |
void |
setDataProvider(DataProvider dataProvider)
Sets data provider for PivotTable.
|
void |
setDerivedProperties(DerivedProperties derivedProperties)
Sets object to define derived properties.
|
void |
setEditable(boolean editable) |
void |
setEmptyDataMessage(java.lang.String emptyDataMessage)
Sets the message that will be displayed in case of empty data.
|
void |
setExclusions(java.util.Map<java.lang.String,java.util.List<java.lang.String>> exclusions)
Sets map whose keys are properties names and values are lists of properties values
which denote records to exclude from rendering; used to prepopulate the filter menus
that appear on double-click.
|
void |
setExclusions(java.lang.String property,
java.util.List<java.lang.String> exclusions)
Sets the value of exclusions map.
|
void |
setFilterFunction(JsFunction filter)
Sets the
JsFunction which defines a javascript code
called on each record, returns false if the record is to be
excluded from the input before rendering or true otherwise |
void |
setHiddenFromAggregations(java.util.List<java.lang.String> hiddenFromAggregations)
Sets the list of properties names to omit from the aggregation arguments dropdowns.
|
void |
setHiddenFromDragDrop(java.util.List<java.lang.String> hiddenFromDragDrop)
Sets the list of properties names to omit from the drag'n'drop portion of the UI.
|
void |
setHiddenProperties(java.util.List<java.lang.String> hiddenProperties)
Sets the list of properties names to omit from the UI.
|
void |
setInclusions(java.util.Map<java.lang.String,java.util.List<java.lang.String>> inclusions)
Sets map whose keys are properties names and values are lists of properties values
which denote records to include in rendering; used to prepopulate the filter menus
that appear on double-click (overrides
exclusions ). |
void |
setInclusions(java.lang.String property,
java.util.List<java.lang.String> inclusions)
Sets the value of inclusions map.
|
void |
setMenuLimit(java.lang.Integer menuLimit)
Sets maximum number of values to list in the double-click menu.
|
void |
setMessages(io.jmix.core.Messages messages) |
void |
setMessageTools(io.jmix.core.MessageTools messageTools) |
void |
setNativeJson(java.lang.String json)
Set additional JSON configuration as a string.
|
void |
setPivotTableLocaleHelper(PivotTableLocaleHelper helper) |
void |
setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
Sets the map whose keys are
DataItem property names to use as pivot table data
and values they localized names. |
void |
setRenderer(Renderer renderer)
Sets the renderer object.
|
void |
setRendererOptions(RendererOptions rendererOptions)
Sets object passed through to renderer as options.
|
void |
setRenderers(Renderers renderers)
Sets the renderers object which defines the collection of renderers to use
in pivot table and additional settings for them.
|
void |
setRowOrder(RowOrder rowOrder)
Sets the order in which row data is provided to the renderer.
|
void |
setRows(java.util.List<java.lang.String> rows)
Sets the list of properties names to use as rows.
|
void |
setShowColTotals(java.lang.Boolean showColTotals)
Set
false if col totals shouldn't be shown and true otherwise. |
void |
setShowRowTotals(java.lang.Boolean showRowTotals)
Set
false if row totals shouldn't be shown and true otherwise. |
void |
setShowUI(java.lang.Boolean showUI)
Hides or shows UI elements in the editable pivot table.
|
void |
setSortersFunction(JsFunction sorters)
Sets the
JsFunction which defines a javascript code
called with an property name and can return a function which can be used
as an argument to Array.sort for output purposes. |
void |
setUnusedPropertiesVertical(UnusedPropertiesVertical unusedPropertiesVertical)
Controls whether or not unused properties are shown vertically
instead of the default which is horizontally.
|
addAttachListener, addDetachListener, addStyleName, assignDebugId, attached, detached, getAlignment, getCaption, getComponent, getComposition, getContextHelpIconClickHandler, getContextHelpText, getDebugId, getDescription, getEventHub, getFrame, getHeight, getHeightSizeUnit, getHtmlSanitizer, getIcon, getIconName, getIconResource, getId, getParent, getStyleName, getUiComponentProperties, getUiProperties, getWidth, getWidthSizeUnit, getXmlDescriptor, hasSubscriptions, hasValidationError, isAttached, isCaptionAsHtml, isContextHelpTextHtmlEnabled, isDescriptionAsHtml, isEnabled, isEnabledRecursive, isHtmlSanitizerEnabled, isResponsive, isVisible, isVisibleRecursive, onContextHelpIconClick, publish, removeStyleName, sanitize, setAlignment, setApplicationContext, setCaption, setCaptionAsHtml, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabled, setDebugId, setDescription, setDescriptionAsHtml, setEnabled, setFrame, setHeight, setHtmlSanitizerEnabled, setIcon, setIconFromSet, setId, setParent, setResponsive, setStyleName, setValidationError, setVisible, setWidth, setXmlDescriptor, unsubscribe, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedComposition
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFrame, setFrame
isEditableWithParent
addStyleName, getAlignment, getHeight, getHeightSizeUnit, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, isEnabled, isEnabledRecursive, isResponsive, isVisible, isVisibleRecursive, removeStyleName, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedComposition
getCaption, setCaption
getDescription, setDescription
protected RefreshListener refreshHandler
protected CellClickListener cellClickHandler
protected io.jmix.core.Messages messages
protected io.jmix.core.MessageTools messageTools
protected io.jmix.core.security.CurrentAuthentication currentAuthentication
protected PivotTableLocaleHelper pivotTableLocaleHelper
protected JmixPivotTable createComponent()
protected PivotTableSerializer createPivotTableSerializer()
@Autowired public void setMessages(io.jmix.core.Messages messages)
@Autowired public void setCurrentAuthentication(io.jmix.core.security.CurrentAuthentication currentAuthentication)
@Autowired public void setMessageTools(io.jmix.core.MessageTools messageTools)
@Autowired public void setPivotTableLocaleHelper(PivotTableLocaleHelper helper)
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
protected void initLocale()
public void repaint()
PivotTable
repaint
in interface PivotTable
public boolean isEditable()
isEditable
in interface Component.Editable
public void setEditable(boolean editable)
setEditable
in interface Component.Editable
public java.util.Map<java.lang.String,java.lang.String> getProperties()
getProperties
in interface PivotTable
DataItem
property names to use as pivot table data
and values they localized namespublic void setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
PivotTable
DataItem
property names to use as pivot table data
and values they localized names.setProperties
in interface PivotTable
properties
- a map of properties names with localized valuespublic void addProperties(java.util.Map<java.lang.String,java.lang.String> properties)
PivotTable
DataItem
property names to use as pivot table data
and values they localized names.addProperties
in interface PivotTable
properties
- a map of properties names with localized valuespublic void addProperty(java.lang.String property, java.lang.String value)
PivotTable
addProperty
in interface PivotTable
property
- property namevalue
- localized valuepublic java.util.List<java.lang.String> getRows()
getRows
in interface PivotTable
public void setRows(java.util.List<java.lang.String> rows)
PivotTable
setRows
in interface PivotTable
rows
- a list of properties namespublic void addRows(java.lang.String... rows)
PivotTable
addRows
in interface PivotTable
rows
- an array of properties namespublic java.util.List<java.lang.String> getColumns()
getColumns
in interface PivotTable
public void setColumns(java.util.List<java.lang.String> cols)
PivotTable
setColumns
in interface PivotTable
cols
- a list of properties namespublic void addColumns(java.lang.String... cols)
PivotTable
addColumns
in interface PivotTable
cols
- an array of properties namespublic Aggregation getAggregation()
getAggregation
in interface PivotTable
public void setAggregation(Aggregation aggregation)
PivotTable
Applies only when editable=false
.
setAggregation
in interface PivotTable
aggregation
- an aggregation objectpublic Renderer getRenderer()
getRenderer
in interface PivotTable
public void setRenderer(Renderer renderer)
PivotTable
Applies only when editable=false
.
setRenderer
in interface PivotTable
renderer
- a renderer objectpublic java.util.List<java.lang.String> getAggregationProperties()
getAggregationProperties
in interface PivotTable
public void setAggregationProperties(java.util.List<java.lang.String> aggregationProperties)
PivotTable
Applies only when editable=true
.
setAggregationProperties
in interface PivotTable
aggregationProperties
- a list of properties namespublic void addAggregationProperties(java.lang.String... aggregationProperties)
PivotTable
Applies only when editable=true
.
addAggregationProperties
in interface PivotTable
aggregationProperties
- an array of properties namespublic Aggregations getAggregations()
getAggregations
in interface PivotTable
public void setAggregations(Aggregations aggregations)
PivotTable
Applies only when editable=true
.
setAggregations
in interface PivotTable
aggregations
- an aggregations objectpublic Renderers getRenderers()
getRenderers
in interface PivotTable
public void setRenderers(Renderers renderers)
PivotTable
Applies only when editable=true
.
setRenderers
in interface PivotTable
renderers
- a renderers objectpublic java.util.List<java.lang.String> getHiddenProperties()
getHiddenProperties
in interface PivotTable
public void setHiddenProperties(java.util.List<java.lang.String> hiddenProperties)
PivotTable
Applies only when editable=true
.
setHiddenProperties
in interface PivotTable
hiddenProperties
- a list of properties namespublic void addHiddenProperties(java.lang.String... hiddenProperties)
PivotTable
Applies only when editable=true
.
addHiddenProperties
in interface PivotTable
hiddenProperties
- an array of properties namespublic java.util.List<java.lang.String> getHiddenFromAggregations()
getHiddenFromAggregations
in interface PivotTable
public void setHiddenFromAggregations(java.util.List<java.lang.String> hiddenFromAggregations)
PivotTable
Applies only when editable=true
.
setHiddenFromAggregations
in interface PivotTable
hiddenFromAggregations
- a list of properties namespublic void addHiddenFromAggregations(java.lang.String... hiddenFromAggregations)
PivotTable
Applies only when editable=true
.
addHiddenFromAggregations
in interface PivotTable
hiddenFromAggregations
- an array of properties namespublic java.util.List<java.lang.String> getHiddenFromDragDrop()
getHiddenFromDragDrop
in interface PivotTable
public void setHiddenFromDragDrop(java.util.List<java.lang.String> hiddenFromDragDrop)
PivotTable
Applies only when editable=true
.
setHiddenFromDragDrop
in interface PivotTable
hiddenFromDragDrop
- a list of properties namespublic void addHiddenFromDragDrop(java.lang.String... hiddenFromDragDrop)
PivotTable
Applies only when editable=true
.
addHiddenFromDragDrop
in interface PivotTable
hiddenFromDragDrop
- an array of properties namespublic ColumnOrder getColumnOrder()
getColumnOrder
in interface PivotTable
public void setColumnOrder(ColumnOrder columnOrder)
PivotTable
Ordering by value orders by column total.
setColumnOrder
in interface PivotTable
columnOrder
- the order in which column data is provided to the rendererpublic RowOrder getRowOrder()
getRowOrder
in interface PivotTable
public void setRowOrder(RowOrder rowOrder)
PivotTable
Ordering by value orders by row total.
setRowOrder
in interface PivotTable
rowOrder
- the order in which row data is provided to the rendererpublic java.lang.Integer getMenuLimit()
getMenuLimit
in interface PivotTable
public void setMenuLimit(java.lang.Integer menuLimit)
PivotTable
Applies only when editable=true
.
setMenuLimit
in interface PivotTable
menuLimit
- maximum number of values to list in the double-click menupublic java.lang.Boolean getAutoSortUnusedProperties()
getAutoSortUnusedProperties
in interface PivotTable
true
if unused properties are kept sorted in the UI and false
otherwisepublic void setAutoSortUnusedProperties(java.lang.Boolean autoSortUnusedProperties)
PivotTable
Applies only when editable=true
.
setAutoSortUnusedProperties
in interface PivotTable
autoSortUnusedProperties
- true
if unused properties are
kept sorted in the UI and false
otherwisepublic UnusedPropertiesVertical getUnusedPropertiesVertical()
getUnusedPropertiesVertical
in interface PivotTable
true
if unused attributes are shown always vertical,
false
if always horizontal. If set to
a number (as is the default) then if the properties' names' combined
length in characters exceeds the number then the properties will be shown vertically.public void setUnusedPropertiesVertical(UnusedPropertiesVertical unusedPropertiesVertical)
PivotTable
true
means
always vertical, false
means always horizontal. If set to
a number (as is the default) then if the properties' names' combined
length in characters exceeds the number then the properties will be shown vertically.
Applies only when editable=true
.
setUnusedPropertiesVertical
in interface PivotTable
unusedPropertiesVertical
- propertiespublic DataProvider getDataProvider()
getDataProvider
in interface PivotTable
public void setDataProvider(DataProvider dataProvider)
PivotTable
setDataProvider
in interface PivotTable
dataProvider
- a data providerpublic void addData(DataItem... dataItems)
PivotTable
addData
in interface PivotTable
dataItems
- a data item to addpublic JsFunction getFilterFunction()
getFilterFunction
in interface PivotTable
JsFunction
which defines a javascript code
called on each record, returns false
if the record is to be
excluded from the input before rendering or true
otherwisepublic void setFilterFunction(JsFunction filter)
PivotTable
JsFunction
which defines a javascript code
called on each record, returns false
if the record is to be
excluded from the input before rendering or true
otherwisesetFilterFunction
in interface PivotTable
filter
- a JsFunction
to use as a filterpublic JsFunction getSortersFunction()
getSortersFunction
in interface PivotTable
JsFunction
which defines a javascript code
called with an property name and can return a function which can be used
as an argument to Array.sort
for output purposes. If no function
is returned, the default sorting mechanism is a built-in "natural sort"
implementation. Useful for sorting attributes like month namespublic void setSortersFunction(JsFunction sorters)
PivotTable
JsFunction
which defines a javascript code
called with an property name and can return a function which can be used
as an argument to Array.sort
for output purposes. If no function
is returned, the default sorting mechanism is a built-in "natural sort"
implementation. Useful for sorting attributes like month namessetSortersFunction
in interface PivotTable
sorters
- a JsFunction
to use as a sorterspublic RendererOptions getRendererOptions()
getRendererOptions
in interface PivotTable
public void setRendererOptions(RendererOptions rendererOptions)
PivotTable
setRendererOptions
in interface PivotTable
rendererOptions
- object defines renderer optionspublic java.util.Map<java.lang.String,java.util.List<java.lang.String>> getInclusions()
getInclusions
in interface PivotTable
public void setInclusions(java.util.Map<java.lang.String,java.util.List<java.lang.String>> inclusions)
PivotTable
exclusions
).
Applies only when editable=true
.
setInclusions
in interface PivotTable
inclusions
- map with properties and values included in renderingPivotTable.setInclusions(String, List)
,
PivotTable.addInclusions(String, String...)
,
PivotTable.setExclusions(Map)
,
PivotTable.setExclusions(String, List)
,
PivotTable.addExclusions(String, String...)
public void setInclusions(java.lang.String property, java.util.List<java.lang.String> inclusions)
PivotTable
setInclusions
in interface PivotTable
property
- property nameinclusions
- a list of properties valuesPivotTable.setInclusions(Map)
,
PivotTable.addInclusions(String, String...)
,
PivotTable.setExclusions(Map)
,
PivotTable.setExclusions(String, List)
,
PivotTable.addExclusions(String, String...)
public void addInclusions(java.lang.String property, java.lang.String... inclusions)
PivotTable
addInclusions
in interface PivotTable
property
- a property nameinclusions
- an array of properties valuesPivotTable.setInclusions(Map)
,
PivotTable.setInclusions(String, List)
,
PivotTable.setExclusions(Map)
,
PivotTable.setExclusions(String, List)
,
PivotTable.addExclusions(String, String...)
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getExclusions()
getExclusions
in interface PivotTable
public void setExclusions(java.util.Map<java.lang.String,java.util.List<java.lang.String>> exclusions)
PivotTable
Applies only when editable=true
.
setExclusions
in interface PivotTable
exclusions
- map with properties and values excluded from renderingPivotTable.setExclusions(String, List)
,
PivotTable.addExclusions(String, String...)
,
PivotTable.setInclusions(Map)
,
PivotTable.setInclusions(String, List)
,
PivotTable.addInclusions(String, String...)
public void setExclusions(java.lang.String property, java.util.List<java.lang.String> exclusions)
PivotTable
setExclusions
in interface PivotTable
property
- property nameexclusions
- a list of properties valuesPivotTable.setExclusions(Map)
,
PivotTable.addExclusions(String, String...)
,
PivotTable.setInclusions(Map)
,
PivotTable.setInclusions(String, List)
,
PivotTable.addInclusions(String, String...)
public void addExclusions(java.lang.String property, java.lang.String... exclusions)
PivotTable
addExclusions
in interface PivotTable
property
- a property nameexclusions
- an array of properties valuesPivotTable.setExclusions(Map)
,
PivotTable.setExclusions(String, List)
,
PivotTable.setInclusions(Map)
,
PivotTable.setInclusions(String, List)
,
PivotTable.addInclusions(String, String...)
public DerivedProperties getDerivedProperties()
getDerivedProperties
in interface PivotTable
public void setDerivedProperties(DerivedProperties derivedProperties)
PivotTable
setDerivedProperties
in interface PivotTable
derivedProperties
- object to define derived propertiespublic java.lang.String getNativeJson()
getNativeJson
in interface PivotTable
public void setNativeJson(java.lang.String json)
PivotTable
setNativeJson
in interface PivotTable
json
- additional JSON configurationpublic java.lang.String getEmptyDataMessage()
getEmptyDataMessage
in interface PivotTable
public void setEmptyDataMessage(java.lang.String emptyDataMessage)
PivotTable
setEmptyDataMessage
in interface PivotTable
emptyDataMessage
- the message that will be displayed in case of empty datapublic io.jmix.core.common.event.Subscription addRefreshListener(java.util.function.Consumer<PivotTable.RefreshEvent> refreshListener)
PivotTable
addRefreshListener
in interface PivotTable
refreshListener
- a listener to addprotected void onRefresh(RefreshEvent e)
public io.jmix.core.common.event.Subscription addCellClickListener(java.util.function.Consumer<PivotTable.CellClickEvent> listener)
PivotTable
addCellClickListener
in interface PivotTable
listener
- a listener to addprotected void onCellClick(CellClickEvent e)
public void setShowUI(java.lang.Boolean showUI)
PivotTable
true
by default.
editable=true
.setShowUI
in interface PivotTable
showUI
- true
if UI elements should be shown and false
otherwisepublic java.lang.Boolean isShowUI()
isShowUI
in interface PivotTable
true
if pivotUI()
should be shown and false
otherwisepublic void setShowRowTotals(java.lang.Boolean showRowTotals)
PivotTable
false
if row totals shouldn't be shown and true
otherwise. Works only for table renderers.
true
by default.setShowRowTotals
in interface PivotTable
showRowTotals
- false
if row totals shouldn't be shown and true
otherwisepublic java.lang.Boolean isRowTotalsShown()
isRowTotalsShown
in interface PivotTable
false
if row totals shouldn't be shown and true
otherwisepublic void setShowColTotals(java.lang.Boolean showColTotals)
PivotTable
false
if col totals shouldn't be shown and true
otherwise. Works only for table renderers.
true
by default.setShowColTotals
in interface PivotTable
showColTotals
- false
if col totals shouldn't be shown and true
otherwisepublic java.lang.Boolean isColTotalsShown()
isColTotalsShown
in interface PivotTable
false
if col totals shouldn't be shown and true
otherwise