org.zkoss.pivot.impl
Class TabularPivotField
java.lang.Object
org.zkoss.pivot.impl.SimplePivotField
org.zkoss.pivot.impl.TabularPivotField
- All Implemented Interfaces:
- PivotField
public class TabularPivotField
- extends SimplePivotField
A PivotField
implementation for TabularPivotModel
- Author:
- dennischen
Methods inherited from class org.zkoss.pivot.impl.SimplePivotField |
addFieldDataListener, fireEvent, getFieldName, getGroupHandler, getSubtotals, getSummary, getTitle, getType, removeFieldDataListener, setFieldName, setGroupHandler, setSubtotals, setSummary, setTitle, setType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_KEY_COMPARATOR
protected static final java.util.Comparator<java.lang.Object> DEFAULT_KEY_COMPARATOR
DEFAULT_KEY_COMPARATOR_DESC
protected static final java.util.Comparator<java.lang.Object> DEFAULT_KEY_COMPARATOR_DESC
TabularPivotField
public TabularPivotField()
TabularPivotField
public TabularPivotField(java.lang.String fieldName)
getSourceDataIndex
public int getSourceDataIndex()
- Returns the data index in
TabularPivotModel
.
getComparator
public java.util.Comparator<java.lang.Object> getComparator()
- Retrieve the comparator on field key.
- Returns:
- a comparator, never null.
Copyright © 2012. All Rights Reserved.