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.
|
Modifier and Type | Method and Description |
---|---|
PivotField |
PivotHeaderNode.getField()
Return the corresponding field of the node
|
PivotField[] |
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.
|
Modifier and Type | Method and 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 ordering
|
void |
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).
|
Modifier and Type | Method and 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.
|
Constructor and Description |
---|
FieldDataEvent(PivotField field,
String type,
Object origin,
Object current)
Constructor
|
PivotColumnResizeEvent(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.
|
Modifier and Type | Class and Description |
---|---|
class |
SimplePivotField
A simple pivot field implementation.
|
class |
TabularPivotField
A
PivotField implementation for TabularPivotModel |
Modifier and Type | Method and Description |
---|---|
PivotField |
SimplePivotHeaderNode.getField() |
Modifier and Type | Method and Description |
---|---|
Set<PivotField> |
CalculatorContextSignature.getDataFieldRequirement() |
Set<PivotField> |
CalculatorContextSignature.getRowColumnFieldRequirement() |
Modifier and Type | Method and 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) |
Constructor and 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
|
Modifier and Type | Method and Description |
---|---|
protected abstract PivotField |
HeaderSizeFiller.getOffsetField(int index) |
Modifier and Type | Method and Description |
---|---|
void |
CellStyleFiller.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) |
void |
DataCellTraverser.CellFiller.fill(Number summary,
PivotHeaderContext rowCtx,
PivotHeaderContext colCtx,
PivotField dataField,
int ri,
int ci,
boolean isRowGT) |
void |
CellLabelFiller.fill(Number summary,
PivotHeaderContext rowCtx,
PivotHeaderContext colCtx,
PivotField dataField,
int ri,
int ci,
boolean isRowGT) |
protected abstract int |
HeaderSizeFiller.getRenderSize(PivotHeaderContext headerCtx,
PivotField field) |
Constructor and Description |
---|
HeaderSizeFiller(PivotField[] dataFields,
boolean hasDataFields,
int headerDispOffset,
PivotHeaderTree tree) |
Modifier and Type | Method and Description |
---|---|
PivotField |
PivotFieldControlChangeEvent.getPivotField()
The field being moved.
|
Modifier and Type | Method and Description |
---|---|
Calculator[] |
PivotFieldControl.getSubtotals(PivotField field) |
void |
PivotFieldControl.setSubtotals(PivotField field,
Calculator[] selected) |
Constructor and Description |
---|
PivotFieldControlChangeEvent(org.zkoss.zk.ui.Component target,
PivotField field,
PivotField.Type oldType,
PivotField.Type newType)
Default constructor.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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 field
|
Constructor and Description |
---|
ExcelUnreadableException(PivotField _field,
String _oldValue,
String _newValue)
Constructs an ExcelUnreadableException with the field and duplicate values that causes 'unreadable content' to occur
|
Copyright © 2017. All rights reserved.