Package org.zkoss.pivot.util
Class PivotExportCell
- java.lang.Object
-
- org.zkoss.pivot.util.PivotExportCell
-
public class PivotExportCell extends Object
The cell unit for exporting to sheet-based format.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PivotExportCell.Type
The type of PivotExportCell
-
Constructor Summary
Constructors Constructor Description PivotExportCell(Number value)
PivotExportCell(Number value, String fieldName)
PivotExportCell(PivotExportCell.Type type, String label, int[] span)
PivotExportCell(PivotExportCell.Type type, String label, Object key, int[] span, String fieldName)
PivotExportCell(PivotExportCell.Type type, String label, Object key, int[] span, String fieldName, Calculator calculator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Calculator
getCalcuator()
Returns the Calculator.int
getColumnSpan()
The column span of the cell.String
getFieldName()
Return the field name.Object
getKey()
The key of the cell.String
getLabel()
The label of the cell.int
getRowSpan()
The row span of the cell.PivotExportCell.Type
getType()
The type of cell.Number
getValue()
The value in the cell.String
toString()
-
-
-
Constructor Detail
-
PivotExportCell
public PivotExportCell(Number value)
-
PivotExportCell
public PivotExportCell(PivotExportCell.Type type, String label, int[] span)
-
PivotExportCell
public PivotExportCell(PivotExportCell.Type type, String label, Object key, int[] span, String fieldName)
-
PivotExportCell
public PivotExportCell(PivotExportCell.Type type, String label, Object key, int[] span, String fieldName, Calculator calculator)
-
-
Method Detail
-
getType
public PivotExportCell.Type getType()
The type of cell.
-
getValue
public Number getValue()
The value in the cell. Only available on cells of type DATA.
-
getLabel
public String getLabel()
The label of the cell. Only available on cells of header type.
-
getKey
public Object getKey()
The key of the cell. Only available on cells of header type.
-
getRowSpan
public int getRowSpan()
The row span of the cell.
-
getColumnSpan
public int getColumnSpan()
The column span of the cell.
-
getFieldName
public String getFieldName()
Return the field name.
-
getCalcuator
public Calculator getCalcuator()
Returns the Calculator.
-
-