Package | Description |
---|---|
org.zkoss.pivot |
Major classes of ZK Pivottable.
|
org.zkoss.pivot.impl |
Implementation of models.
|
org.zkoss.pivot.impl.calc | |
org.zkoss.pivot.ui |
Macro components for Pivottable control.
|
org.zkoss.pivot.util |
Pivottable related utility classes.
|
Modifier and Type | Method and Description |
---|---|
Calculator |
PivotHeaderContext.getCalculator()
Returns the subtotal Calculator if the context represents a subtotal
slot, null otherwise.
|
Calculator |
PivotField.getSubtotal(int index)
Returns the ith subtotal calculator on the field.
|
Calculator[] |
PivotField.getSubtotals()
Returns a set of subtotal calculator in order.
|
Calculator |
PivotField.getSummary()
Returns the summary calculator
|
Calculator[] |
PivotModelExt.getSupportedCalculators()
Return a list of supported Calculators as options of Summary and Subtotals.
|
Modifier and Type | Method and Description |
---|---|
String |
PivotRenderer.renderSubtotalField(Object data,
Pivottable table,
PivotField field,
Calculator calculator)
Renders the label of a subtotal field.
|
void |
PivotModelExt.setFieldSubtotals(PivotField field,
Calculator[] subtotals)
Set the subtotals on a field.
|
void |
PivotModelExt.setFieldSummary(PivotField field,
Calculator summary)
Set the summary on a field.
|
Constructor and Description |
---|
PivotHeaderContext(PivotHeaderNode node,
Calculator calculator,
int displayIndex) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCalculator<C extends Context<C>>
The skeleton to implement
ContextualCalculator . |
class |
StandardCalculator
The built-in Calculator set for
TabularPivotModel . |
Modifier and Type | Field and Description |
---|---|
protected Calculator[] |
SimplePivotField._subtotals |
protected Calculator |
SimplePivotField._summary |
Modifier and Type | Method and Description |
---|---|
Calculator |
SimplePivotField.getSubtotal(int index) |
Calculator[] |
SimplePivotField.getSubtotals() |
Calculator |
TabularPivotField.getSummary() |
Calculator |
SimplePivotField.getSummary() |
Calculator[] |
TabularPivotModel.getSupportedCalculators() |
Modifier and Type | Method and Description |
---|---|
protected ContextualCalculator<?> |
TabularPivotModel.cast(Calculator calc) |
String |
SimplePivotRenderer.renderSubtotalField(Object data,
Pivottable table,
PivotField field,
Calculator calculator) |
void |
TabularPivotModel.setFieldSubtotals(PivotField field,
Calculator[] subtotals) |
void |
TabularPivotModel.setFieldSubtotals(String fieldName,
Calculator[] subtotals)
Sets the subtotal calculators on a field, or null to show no subtotal.
|
void |
TabularPivotModel.setFieldSummary(PivotField field,
Calculator summary) |
void |
TabularPivotModel.setFieldSummary(String fieldName,
Calculator summary)
Sets the summary calculator on a field, or null to use the default one.
|
protected void |
SimplePivotField.setSubtotals(Calculator[] subtotals) |
protected void |
SimplePivotField.setSummary(Calculator summary) |
Modifier and Type | Interface and Description |
---|---|
interface |
ContextualCalculator<C extends Context<C>>
The interface for
Calculator that uses Context to compute an
aggregation summary. |
Modifier and Type | Field and Description |
---|---|
protected Map<String,Calculator> |
PivotFieldControl._calmap |
Modifier and Type | Method and Description |
---|---|
Calculator[] |
PivotFieldControl.getSubtotals(PivotField field) |
Modifier and Type | Method and Description |
---|---|
void |
PivotFieldControl.setSubtotals(PivotField field,
Calculator[] selected) |
Modifier and Type | Method and Description |
---|---|
Calculator |
PivotExportCell.getCalcuator()
Returns the Calculator.
|
static Calculator |
Trees.getCalculator(PivotField field,
int index)
Retrieves the Calculator from a field by index.
|
static Calculator |
Trees.getCalculator(PivotHeaderNode node,
int index)
Retrieves the Calculator from a node by index.
|
Constructor and Description |
---|
PivotExportCell(PivotExportCell.Type type,
String label,
Object key,
int[] span,
String fieldName,
Calculator calculator) |
Copyright © 2017. All rights reserved.