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 classPivotExportCell.TypeThe 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 CalculatorgetCalcuator()Returns the Calculator.intgetColumnSpan()The column span of the cell.StringgetFieldName()Return the field name.ObjectgetKey()The key of the cell.StringgetLabel()The label of the cell.intgetRowSpan()The row span of the cell.PivotExportCell.TypegetType()The type of cell.NumbergetValue()The value in the cell.StringtoString()
-
-
-
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.
-
-