public class TabularPivotField extends SimplePivotField
PivotField
implementation for TabularPivotModel
PivotField.Type
Modifier and Type | Field and Description |
---|---|
static StandardCalculator |
DEFAULT_CALCULATOR
Marks
StandardCalculator.SUM_OR_COUNT as the default calculator. |
protected static Comparator<Object> |
DEFAULT_KEY_COMPARATOR |
protected static Comparator<Object> |
DEFAULT_KEY_COMPARATOR_DESC |
_groupHandler, _name, _subtotals, _summary, _title, _type
Constructor and Description |
---|
TabularPivotField() |
TabularPivotField(String fieldName) |
Modifier and Type | Method and Description |
---|---|
Comparator<Object> |
getComparator()
Retrieve the comparator on field key.
|
int |
getSourceDataIndex()
Returns the data index in
TabularPivotModel . |
Calculator |
getSummary()
Returns the summary calculator
|
addFieldDataListener, fireEvent, getFieldName, getGroupHandler, getSubtotal, getSubtotals, getTitle, getType, removeFieldDataListener, setFieldName, setGroupHandler, setSubtotals, setSummary, setTitle
public static final StandardCalculator DEFAULT_CALCULATOR
StandardCalculator.SUM_OR_COUNT
as the default calculator.protected static final Comparator<Object> DEFAULT_KEY_COMPARATOR
protected static final Comparator<Object> DEFAULT_KEY_COMPARATOR_DESC
public TabularPivotField()
public TabularPivotField(String fieldName)
public int getSourceDataIndex()
TabularPivotModel
.public Calculator getSummary()
PivotField
getSummary
in interface PivotField
getSummary
in class SimplePivotField
public Comparator<Object> getComparator()
Copyright © 2017. All rights reserved.