Package org.zkoss.pivot
Interface PivotField
- All Known Implementing Classes:
SimplePivotField,TabularPivotField
public interface PivotField
PivotField defines the methods to represent a field within a pivot table.
- Author:
- jumperchen, dennis
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumType of pivot field, which indicates whether the field is a column field, row field, or data field. -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a field data listener to the pivot field.Returns the field name which indicates the name within the data modelReturns the group handler.getSubtotal(int index) Returns the ith subtotal calculator on the field.Returns a set of subtotal calculator in order.Returns the summary calculatorgetTitle()Returns the title of the field.getType()Returns the area type.voidRemoves the specified field data listener from the pivot field.
-
Method Details
-
getTitle
String getTitle()Returns the title of the field. -
getType
PivotField.Type getType()Returns the area type.- See Also:
-
getFieldName
String getFieldName()Returns the field name which indicates the name within the data model -
getGroupHandler
GroupHandler getGroupHandler()Returns the group handler. -
addFieldDataListener
Adds a field data listener to the pivot field. -
removeFieldDataListener
Removes the specified field data listener from the pivot field. -
getSubtotals
Calculator[] getSubtotals()Returns a set of subtotal calculator in order. -
getSubtotal
Returns the ith subtotal calculator on the field. -
getSummary
Calculator getSummary()Returns the summary calculator
-