Uses of Interface
org.zkoss.pivot.PivotField
Packages that use PivotField
Package
Description
Major classes of ZK Pivottable.
Pivottable events.
Implementation of models.
Utilities for model implementations and Pivottable.
Macro components for Pivottable control.
Pivottable related utility classes.
-
Uses of PivotField in org.zkoss.pivot
Methods in org.zkoss.pivot that return PivotFieldModifier and TypeMethodDescriptionPivotHeaderNode.getField()Return the corresponding field of the nodePivotModel.getFields()Return a list of all fields in the model.PivotModel.getFields(PivotField.Type type) Return a list of pivot fields of the given type.Methods in org.zkoss.pivot with parameters of type PivotFieldModifier and TypeMethodDescriptionintPivotRenderer.getColumnSize(Pivottable table, PivotHeaderContext columnContext, PivotField field) Returns the column size in pixel.intPivotRenderer.getRowSize(Pivottable table, PivotHeaderContext rowContext, PivotField field) Returns the row size in pixel.PivotRenderer.renderCell(Number data, Pivottable table, PivotHeaderContext rowContext, PivotHeaderContext columnContext, PivotField dataField) Renders the content of each cell.PivotRendererExt.renderCellSClass(Number data, Pivottable table, PivotHeaderContext rowContext, PivotHeaderContext columnContext, PivotField dataField) Specify a CSS class on the cell.PivotRendererExt.renderCellStyle(Number data, Pivottable table, PivotHeaderContext rowContext, PivotHeaderContext columnContext, PivotField dataField) Specify the CSS style on the cell.PivotRenderer.renderDataField(PivotField field) Renders the label of a data field, shown when there are multiple data fields.PivotRenderer.renderField(Object data, Pivottable table, PivotField field) Renders the label of a header field in columns and rows.PivotRenderer.renderGrandTotalField(Pivottable table, PivotField field) Renders the title of a grand total field.PivotRenderer.renderSubtotalField(Object data, Pivottable table, PivotField field, Calculator calculator) Renders the label of a subtotal field.voidPivotModelExt.SortCtrl.setFieldKeyComparator(PivotField field, Comparator<Object> comparator) Set a comparator on a pivot field for node orderingvoidPivotModelExt.SortCtrl.setFieldKeyOrder(PivotField field, boolean ascending) Set the node ordering of the field.voidPivotModelExt.setFieldSubtotals(PivotField field, Calculator[] subtotals) Set the subtotals on a field.voidPivotModelExt.setFieldSummary(PivotField field, Calculator summary) Set the summary on a field.voidPivotModelExt.setFieldType(PivotField field, PivotField.Type type) Change the type of a pivot field.voidPivotModelExt.setFieldType(PivotField field, PivotField.Type type, int index) Change the type of a pivot field and insert it at the given level (in case of COLUMN or ROW) or display position (in case of DATA). -
Uses of PivotField in org.zkoss.pivot.event
Methods in org.zkoss.pivot.event that return PivotFieldModifier and TypeMethodDescriptionPivotColumnResizeEvent.getDataField()Return the data field on which the Event occurs, null if not applicable.PivotUIEvent.getDataField()Return the data field on which the Event occurs, null if not applicable.FieldDataEvent.getPivotField()Returns the pivot field which fires the event.Constructors in org.zkoss.pivot.event with parameters of type PivotFieldModifierConstructorDescriptionFieldDataEvent(PivotField field, String type, Object origin, Object current) ConstructorprotectedPivotColumnResizeEvent(String name, org.zkoss.zk.ui.Component target, PivotHeaderContext colContext, PivotField dataField, int width) PivotUIEvent(String name, org.zkoss.zk.ui.Component pivottable, boolean open, PivotField.Type pfType, PivotHeaderContext colContext, PivotHeaderContext rowContext, PivotField dataField) Construct PivotUIEvent for open event.PivotUIEvent(String name, org.zkoss.zk.ui.Component pivottable, int x, int y, PivotField.Type pfType, PivotHeaderContext colContext, PivotHeaderContext rowContext, PivotField dataField) Construct PivotUIEvent for popup, tooltip, and context. -
Uses of PivotField in org.zkoss.pivot.impl
Classes in org.zkoss.pivot.impl that implement PivotFieldModifier and TypeClassDescriptionclassA simple pivot field implementation.classAPivotFieldimplementation forTabularPivotModelMethods in org.zkoss.pivot.impl that return PivotFieldMethods in org.zkoss.pivot.impl that return types with arguments of type PivotFieldModifier and TypeMethodDescriptionCalculatorContextSignature.getDataFieldRequirement()CalculatorContextSignature.getRowColumnFieldRequirement()Methods in org.zkoss.pivot.impl with parameters of type PivotFieldModifier and TypeMethodDescriptionprotected TabularPivotFieldTabularPivotModel.cast(PivotField field) intSimplePivotRenderer.getColumnSize(Pivottable table, PivotHeaderContext colc, PivotField field) intSimplePivotRenderer.getRowSize(Pivottable table, PivotHeaderContext rowc, PivotField field) intTabularPivotModel.getSourceDataIndex(PivotField field) Return the index of raw data columns the field corresponds to.voidTabularPivotModel.removeField(PivotField field) Remove the field from column, row, or data.SimplePivotRenderer.renderCell(Number data, Pivottable table, PivotHeaderContext rowContext, PivotHeaderContext columnContext, PivotField dataField) SimplePivotRenderer.renderCellSClass(Number data, Pivottable table, PivotHeaderContext rowContext, PivotHeaderContext columnContext, PivotField dataField) SimplePivotRenderer.renderCellStyle(Number data, Pivottable table, PivotHeaderContext rowContext, PivotHeaderContext columnContext, PivotField dataField) SimplePivotRenderer.renderDataField(PivotField field) SimplePivotRenderer.renderField(Object data, Pivottable table, PivotField field) SimplePivotRenderer.renderGrandTotalField(Pivottable table, PivotField field) SimplePivotRenderer.renderSubtotalField(Object data, Pivottable table, PivotField field, Calculator calculator) protected final intTabularPivotModel.CalculatorContextSpace.searchSourceDataField(PivotField f) protected final intTabularPivotModel.CalculatorContextSpace.searchSourceRCField(PivotField f) voidTabularPivotModel.setFieldKeyComparator(PivotField field, Comparator<Object> comparator) voidTabularPivotModel.setFieldKeyOrder(PivotField field, boolean ascending) voidTabularPivotModel.setFieldSubtotals(PivotField field, Calculator[] subtotals) voidTabularPivotModel.setFieldSummary(PivotField field, Calculator summary) voidTabularPivotModel.setFieldType(PivotField field, PivotField.Type type) voidTabularPivotModel.setFieldType(PivotField field, PivotField.Type type, int index) Constructors in org.zkoss.pivot.impl with parameters of type PivotFieldModifierConstructorDescriptionCalculatorContextSignature(TabularPivotModel model, PivotField[] extraDataFields, ContextType<?>[] extraContextTypes) Optionally provide extra data fields and/or extra calculator context types to secure in the requirement set.SimplePivotHeaderTree(PivotField[] fields) Construct an empty tree -
Uses of PivotField in org.zkoss.pivot.impl.util
Methods in org.zkoss.pivot.impl.util that return PivotFieldModifier and TypeMethodDescriptionprotected abstract PivotFieldHeaderSizeFiller.getOffsetField(int index) Methods in org.zkoss.pivot.impl.util with parameters of type PivotFieldModifier and TypeMethodDescriptionvoidCellLabelFiller.fill(Number summary, PivotHeaderContext rowCtx, PivotHeaderContext colCtx, PivotField dataField, int ri, int ci, boolean isRowGT) voidCellStyleFiller.fill(Number summary, PivotHeaderContext rowCtx, PivotHeaderContext colCtx, PivotField dataField, int ri, int ci, boolean isRowGT) voidDataCellTraverser.CellFiller.fill(Number summary, PivotHeaderContext rowCtx, PivotHeaderContext colCtx, PivotField dataField, int ri, int ci, boolean isRowGT) voidExportDataCellFiller.fill(Number summary, PivotHeaderContext rowCtx, PivotHeaderContext colCtx, PivotField dataField, int ri, int ci, boolean isRowGT) protected abstract intHeaderSizeFiller.getRenderSize(PivotHeaderContext headerCtx, PivotField field) Constructors in org.zkoss.pivot.impl.util with parameters of type PivotFieldModifierConstructorDescriptionHeaderSizeFiller(PivotField[] dataFields, boolean hasDataFields, int headerDispOffset, PivotHeaderTree tree) -
Uses of PivotField in org.zkoss.pivot.ui
Methods in org.zkoss.pivot.ui that return PivotFieldModifier and TypeMethodDescriptionPivotFieldControlChangeEvent.getPivotField()The field being moved.Methods in org.zkoss.pivot.ui with parameters of type PivotFieldModifier and TypeMethodDescriptionPivotFieldControl.getSubtotals(PivotField field) voidPivotFieldControl.setSubtotals(PivotField field, Calculator[] selected) Constructors in org.zkoss.pivot.ui with parameters of type PivotFieldModifierConstructorDescriptionPivotFieldControlChangeEvent(org.zkoss.zk.ui.Component target, PivotField field, PivotField.Type oldType, PivotField.Type newType) Default constructor. -
Uses of PivotField in org.zkoss.pivot.util
Methods in org.zkoss.pivot.util that return PivotFieldModifier and TypeMethodDescriptionPivotExportContext.getAllFields()Returns all fields.PivotExportContext.getColumnFields()Returns column fields.PivotExportContext.getDataFields()Returns data fields.ExcelUnreadableException.getField()PivotExportContext.getRowFields()Returns row fields.Methods in org.zkoss.pivot.util with parameters of type PivotFieldModifier and TypeMethodDescriptionstatic CalculatorTrees.getCalculator(PivotField field, int index) Retrieves the Calculator from a field by index.static ObjectTrees.getKey(PivotField field, Object value) Returns the key defined by GroupHandler on the field, if any.static intTrees.getSubtotalCount(PivotField field) Return the count of subtotal Calculators on a fieldConstructors in org.zkoss.pivot.util with parameters of type PivotFieldModifierConstructorDescriptionExcelUnreadableException(PivotField _field, String _oldValue, String _newValue) Constructs an ExcelUnreadableException with the field and duplicate values that causes 'unreadable content' to occur