org.zkoss.pivot.util
Class Exports.PivotExportCell

java.lang.Object
  extended by org.zkoss.pivot.util.Exports.PivotExportCell
Enclosing class:
Exports

public static class Exports.PivotExportCell
extends java.lang.Object

The cell unit for exporting to sheet-based format.


Nested Class Summary
static class Exports.PivotExportCell.Type
          The type of PivotExportCell
 
Constructor Summary
Exports.PivotExportCell(Exports.PivotExportCell.Type type, java.lang.String label, int[] span)
           
Exports.PivotExportCell(Exports.PivotExportCell.Type type, java.lang.String label, java.lang.Object key, int[] span)
           
Exports.PivotExportCell(java.lang.Number value)
           
 
Method Summary
 int getColumnSpan()
          The column span of the cell.
 java.lang.Object getKey()
          The key of the cell.
 java.lang.String getLabel()
          The label of the cell.
 int getRowSpan()
          The row span of the cell.
 Exports.PivotExportCell.Type getType()
          The type of cell.
 java.lang.Number getValue()
          The value in the cell.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Exports.PivotExportCell

public Exports.PivotExportCell(java.lang.Number value)

Exports.PivotExportCell

public Exports.PivotExportCell(Exports.PivotExportCell.Type type,
                               java.lang.String label,
                               int[] span)

Exports.PivotExportCell

public Exports.PivotExportCell(Exports.PivotExportCell.Type type,
                               java.lang.String label,
                               java.lang.Object key,
                               int[] span)
Method Detail

getType

public Exports.PivotExportCell.Type getType()
The type of cell.


getValue

public java.lang.Number getValue()
The value in the cell. Only available on cells of type DATA.


getLabel

public java.lang.String getLabel()
The label of the cell. Only available on cells of header type.


getKey

public java.lang.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.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2012. All Rights Reserved.