Uses of Interface
org.zkoss.pivot.PivotField
-
Packages that use PivotField Package Description org.zkoss.pivot Major classes of ZK Pivottable.org.zkoss.pivot.event Pivottable events.org.zkoss.pivot.impl Implementation of models.org.zkoss.pivot.impl.util Utilities for model implementations and Pivottable.org.zkoss.pivot.ui Macro components for Pivottable control.org.zkoss.pivot.util Pivottable related utility classes. -
-
Uses of PivotField in org.zkoss.pivot
Methods in org.zkoss.pivot that return PivotField Modifier and Type Method Description PivotField
PivotHeaderNode. getField()
Return the corresponding field of the nodePivotField[]
PivotModel. getFields()
Return a list of all fields in the model.PivotField[]
PivotModel. getFields(PivotField.Type type)
Return a list of pivot fields of the given type.Methods in org.zkoss.pivot with parameters of type PivotField Modifier and Type Method Description int
PivotRenderer. getColumnSize(Pivottable table, PivotHeaderContext columnContext, PivotField field)
Returns the column size in pixel.int
PivotRenderer. getRowSize(Pivottable table, PivotHeaderContext rowContext, PivotField field)
Returns the row size in pixel.String
PivotRenderer. renderCell(Number data, Pivottable table, PivotHeaderContext rowContext, PivotHeaderContext columnContext, PivotField dataField)
Renders the content of each cell.String
PivotRendererExt. renderCellSClass(Number data, Pivottable table, PivotHeaderContext rowContext, PivotHeaderContext columnContext, PivotField dataField)
Specify a CSS class on the cell.String
PivotRendererExt. renderCellStyle(Number data, Pivottable table, PivotHeaderContext rowContext, PivotHeaderContext columnContext, PivotField dataField)
Specify the CSS style on the cell.String
PivotRenderer. renderDataField(PivotField field)
Renders the label of a data field, shown when there are multiple data fields.String
PivotRenderer. renderField(Object data, Pivottable table, PivotField field)
Renders the label of a header field in columns and rows.String
PivotRenderer. renderGrandTotalField(Pivottable table, PivotField field)
Renders the title of a grand total field.String
PivotRenderer. renderSubtotalField(Object data, Pivottable table, PivotField field, Calculator calculator)
Renders the label of a subtotal field.void
PivotModelExt.SortCtrl. setFieldKeyComparator(PivotField field, Comparator<Object> comparator)
Set a comparator on a pivot field for node orderingvoid
PivotModelExt.SortCtrl. setFieldKeyOrder(PivotField field, boolean ascending)
Set the node ordering of the 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.void
PivotModelExt. setFieldType(PivotField field, PivotField.Type type)
Change the type of a pivot field.void
PivotModelExt. 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 PivotField Modifier and Type Method Description PivotField
PivotColumnResizeEvent. getDataField()
Return the data field on which the Event occurs, null if not applicable.PivotField
PivotUIEvent. getDataField()
Return the data field on which the Event occurs, null if not applicable.PivotField
FieldDataEvent. getPivotField()
Returns the pivot field which fires the event.Constructors in org.zkoss.pivot.event with parameters of type PivotField Constructor Description FieldDataEvent(PivotField field, String type, Object origin, Object current)
ConstructorPivotColumnResizeEvent(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 PivotField Modifier and Type Class Description class
SimplePivotField
A simple pivot field implementation.class
TabularPivotField
APivotField
implementation forTabularPivotModel
Methods in org.zkoss.pivot.impl that return PivotField Modifier and Type Method Description PivotField
SimplePivotHeaderNode. getField()
Methods in org.zkoss.pivot.impl that return types with arguments of type PivotField Modifier and Type Method Description Set<PivotField>
CalculatorContextSignature. getDataFieldRequirement()
Set<PivotField>
CalculatorContextSignature. getRowColumnFieldRequirement()
Methods in org.zkoss.pivot.impl with parameters of type PivotField Modifier and Type Method Description protected TabularPivotField
TabularPivotModel. cast(PivotField field)
int
SimplePivotRenderer. getColumnSize(Pivottable table, PivotHeaderContext colc, PivotField field)
int
SimplePivotRenderer. getRowSize(Pivottable table, PivotHeaderContext rowc, PivotField field)
int
TabularPivotModel. getSourceDataIndex(PivotField field)
Return the index of raw data columns the field corresponds to.void
TabularPivotModel. removeField(PivotField field)
Remove the field from column, row, or data.String
SimplePivotRenderer. renderCell(Number data, Pivottable table, PivotHeaderContext rowContext, PivotHeaderContext columnContext, PivotField dataField)
String
SimplePivotRenderer. renderCellSClass(Number data, Pivottable table, PivotHeaderContext rowContext, PivotHeaderContext columnContext, PivotField dataField)
String
SimplePivotRenderer. renderCellStyle(Number data, Pivottable table, PivotHeaderContext rowContext, PivotHeaderContext columnContext, PivotField dataField)
String
SimplePivotRenderer. renderDataField(PivotField field)
String
SimplePivotRenderer. renderField(Object data, Pivottable table, PivotField field)
String
SimplePivotRenderer. renderGrandTotalField(Pivottable table, PivotField field)
String
SimplePivotRenderer. renderSubtotalField(Object data, Pivottable table, PivotField field, Calculator calculator)
protected int
TabularPivotModel.CalculatorContextSpace. searchSourceDataField(PivotField f)
protected int
TabularPivotModel.CalculatorContextSpace. searchSourceRCField(PivotField f)
void
TabularPivotModel. setFieldKeyComparator(PivotField field, Comparator<Object> comparator)
void
TabularPivotModel. setFieldKeyOrder(PivotField field, boolean ascending)
void
TabularPivotModel. setFieldSubtotals(PivotField field, Calculator[] subtotals)
void
TabularPivotModel. setFieldSummary(PivotField field, Calculator summary)
void
TabularPivotModel. setFieldType(PivotField field, PivotField.Type type)
void
TabularPivotModel. setFieldType(PivotField field, PivotField.Type type, int index)
Constructors in org.zkoss.pivot.impl with parameters of type PivotField Constructor Description CalculatorContextSignature(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 PivotField Modifier and Type Method Description protected abstract PivotField
HeaderSizeFiller. getOffsetField(int index)
Methods in org.zkoss.pivot.impl.util with parameters of type PivotField Modifier and Type Method Description void
CellLabelFiller. fill(Number summary, PivotHeaderContext rowCtx, PivotHeaderContext colCtx, PivotField dataField, int ri, int ci, boolean isRowGT)
void
CellStyleFiller. fill(Number summary, PivotHeaderContext rowCtx, PivotHeaderContext colCtx, PivotField dataField, int ri, int ci, boolean isRowGT)
void
DataCellTraverser.CellFiller. fill(Number summary, PivotHeaderContext rowCtx, PivotHeaderContext colCtx, PivotField dataField, int ri, int ci, boolean isRowGT)
void
ExportDataCellFiller. fill(Number summary, PivotHeaderContext rowCtx, PivotHeaderContext colCtx, PivotField dataField, int ri, int ci, boolean isRowGT)
protected abstract int
HeaderSizeFiller. getRenderSize(PivotHeaderContext headerCtx, PivotField field)
Constructors in org.zkoss.pivot.impl.util with parameters of type PivotField Constructor Description HeaderSizeFiller(PivotField[] dataFields, boolean hasDataFields, int headerDispOffset, PivotHeaderTree tree)
-
Uses of PivotField in org.zkoss.pivot.ui
Methods in org.zkoss.pivot.ui that return PivotField Modifier and Type Method Description PivotField
PivotFieldControlChangeEvent. getPivotField()
The field being moved.Methods in org.zkoss.pivot.ui with parameters of type PivotField Modifier and Type Method Description Calculator[]
PivotFieldControl. getSubtotals(PivotField field)
void
PivotFieldControl. setSubtotals(PivotField field, Calculator[] selected)
Constructors in org.zkoss.pivot.ui with parameters of type PivotField Constructor Description PivotFieldControlChangeEvent(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 PivotField Modifier and Type Method Description PivotField[]
PivotExportContext. getAllFields()
Returns all fields.PivotField[]
PivotExportContext. getColumnFields()
Returns column fields.PivotField[]
PivotExportContext. getDataFields()
Returns data fields.PivotField
ExcelUnreadableException. getField()
PivotField[]
PivotExportContext. getRowFields()
Returns row fields.Methods in org.zkoss.pivot.util with parameters of type PivotField Modifier and Type Method Description static Calculator
Trees. getCalculator(PivotField field, int index)
Retrieves the Calculator from a field by index.static Object
Trees. getKey(PivotField field, Object value)
Returns the key defined by GroupHandler on the field, if any.static int
Trees. getSubtotalCount(PivotField field)
Return the count of subtotal Calculators on a fieldConstructors in org.zkoss.pivot.util with parameters of type PivotField Constructor Description ExcelUnreadableException(PivotField _field, String _oldValue, String _newValue)
Constructs an ExcelUnreadableException with the field and duplicate values that causes 'unreadable content' to occur
-