|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PivotField | |
---|---|
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 | |
---|---|
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. |
Methods in org.zkoss.pivot with parameters of type PivotField | |
---|---|
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. |
java.lang.String |
PivotRenderer.renderCell(java.lang.Number data,
Pivottable table,
PivotHeaderContext rowContext,
PivotHeaderContext columnContext,
PivotField dataField)
Renders the content of each cell. |
java.lang.String |
PivotRendererExt.renderCellSClass(java.lang.Number data,
Pivottable table,
PivotHeaderContext rowContext,
PivotHeaderContext columnContext,
PivotField dataField)
Specify a CSS class on the cell. |
java.lang.String |
PivotRendererExt.renderCellStyle(java.lang.Number data,
Pivottable table,
PivotHeaderContext rowContext,
PivotHeaderContext columnContext,
PivotField dataField)
Specify the CSS style on the cell. |
java.lang.String |
PivotRenderer.renderDataField(PivotField field)
Renders the label of a data field, shown when there are multiple data fields. |
java.lang.String |
PivotRenderer.renderField(java.lang.Object data,
Pivottable table,
PivotField field)
Renders the label of a header field in columns and rows. |
java.lang.String |
PivotRenderer.renderGrandTotalField(Pivottable table,
PivotField field)
Renders the title of a grand total field. |
java.lang.String |
PivotRenderer.renderSubtotalField(java.lang.Object data,
Pivottable table,
PivotField field,
Calculator calculator)
Renders the label of a subtotal field. |
void |
PivotModelExt.SortCtrl.setFieldKeyComparator(PivotField field,
java.util.Comparator<java.lang.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). |
Uses of PivotField in org.zkoss.pivot.event |
---|
Methods in org.zkoss.pivot.event that return PivotField | |
---|---|
PivotField |
PivotUIEvent.getDataField()
Return the data field on which the Event occurs, null if not applicable. |
PivotField |
PivotColumnResizeEvent.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 | |
---|---|
FieldDataEvent(PivotField field,
java.lang.String type,
java.lang.Object origin,
java.lang.Object current)
Constructor |
|
PivotColumnResizeEvent(java.lang.String name,
org.zkoss.zk.ui.Component target,
PivotHeaderContext colContext,
PivotField dataField,
int width)
|
|
PivotUIEvent(java.lang.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(java.lang.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 | |
---|---|
class |
SimplePivotField
A simple pivot field implementation. |
class |
TabularPivotField
A PivotField implementation for TabularPivotModel |
Methods in org.zkoss.pivot.impl that return PivotField | |
---|---|
PivotField |
SimplePivotHeaderNode.getField()
|
Methods in org.zkoss.pivot.impl that return types with arguments of type PivotField | |
---|---|
java.util.Set<PivotField> |
CalculatorContextSignature.getDataFieldRequirement()
|
java.util.Set<PivotField> |
CalculatorContextSignature.getRowColumnFieldRequirement()
|
Methods in org.zkoss.pivot.impl with parameters of type PivotField | |
---|---|
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. |
java.lang.String |
SimplePivotRenderer.renderCell(java.lang.Number data,
Pivottable table,
PivotHeaderContext rowContext,
PivotHeaderContext columnContext,
PivotField dataField)
|
java.lang.String |
SimplePivotRenderer.renderCellSClass(java.lang.Number data,
Pivottable table,
PivotHeaderContext rowContext,
PivotHeaderContext columnContext,
PivotField dataField)
|
java.lang.String |
SimplePivotRenderer.renderCellStyle(java.lang.Number data,
Pivottable table,
PivotHeaderContext rowContext,
PivotHeaderContext columnContext,
PivotField dataField)
|
java.lang.String |
SimplePivotRenderer.renderDataField(PivotField field)
|
java.lang.String |
SimplePivotRenderer.renderField(java.lang.Object data,
Pivottable table,
PivotField field)
|
java.lang.String |
SimplePivotRenderer.renderGrandTotalField(Pivottable table,
PivotField field)
|
java.lang.String |
SimplePivotRenderer.renderSubtotalField(java.lang.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,
java.util.Comparator<java.lang.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 | |
---|---|
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 | |
---|---|
protected abstract PivotField |
HeaderSizeFiller.getOffsetField(int index)
|
Methods in org.zkoss.pivot.impl.util with parameters of type PivotField | |
---|---|
void |
ExportDataCellFiller.fill(java.lang.Number summary,
PivotHeaderContext rowCtx,
PivotHeaderContext colCtx,
PivotField dataField,
int ri,
int ci,
boolean isRowGT)
|
void |
DataCellTraverser.CellFiller.fill(java.lang.Number summary,
PivotHeaderContext rowCtx,
PivotHeaderContext colCtx,
PivotField dataField,
int ri,
int ci,
boolean isRowGT)
|
void |
CellStyleFiller.fill(java.lang.Number summary,
PivotHeaderContext rowCtx,
PivotHeaderContext colCtx,
PivotField dataField,
int ri,
int ci,
boolean isRowGT)
|
void |
CellLabelFiller.fill(java.lang.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 | |
---|---|
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 | |
---|---|
PivotField |
PivotFieldControlChangeEvent.getPivotField()
The field being moved. |
Methods in org.zkoss.pivot.ui with parameters of type PivotField | |
---|---|
Calculator[] |
PivotFieldControl.getSubtotals(PivotField field)
|
void |
PivotFieldControl.setSubtotals(PivotField field,
Calculator[] selected)
|
Constructors in org.zkoss.pivot.ui with parameters of type PivotField | |
---|---|
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 | |
---|---|
PivotField[] |
Exports.PivotExportContext.getAllFields()
Returns all fields. |
PivotField[] |
Exports.PivotExportContext.getColumnFields()
Returns column fields. |
PivotField[] |
Exports.PivotExportContext.getDataFields()
Returns data fields. |
PivotField[] |
Exports.PivotExportContext.getRowFields()
Returns row fields. |
Methods in org.zkoss.pivot.util with parameters of type PivotField | |
---|---|
static Calculator |
Trees.getCalculator(PivotField field,
int index)
Retrieves the Calculator from a field by index. |
static java.lang.Object |
Trees.getKey(PivotField field,
java.lang.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 |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |