|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.extentech.ExtenXLS.PivotTableHandle
public class PivotTableHandle
PivotTable Handle allows for manipulation of PivotTables within a WorkBook.
WorkBookHandle,
WorkSheetHandle,
CellHandle| Field Summary | |
|---|---|
static int |
AUTO_FORMAT_Classic
|
static int |
AUTO_FORMAT_Report1
|
static int |
AUTO_FORMAT_Report10
|
static int |
AUTO_FORMAT_Report2
|
static int |
AUTO_FORMAT_Report3
|
static int |
AUTO_FORMAT_Report4
|
static int |
AUTO_FORMAT_Report5
|
static int |
AUTO_FORMAT_Report6
|
static int |
AUTO_FORMAT_Report7
|
static int |
AUTO_FORMAT_Report8
|
static int |
AUTO_FORMAT_Report9
|
static int |
AUTO_FORMAT_Table1
|
static int |
AUTO_FORMAT_Table10
|
static int |
AUTO_FORMAT_Table2
|
static int |
AUTO_FORMAT_Table3
|
static int |
AUTO_FORMAT_Table4
|
static int |
AUTO_FORMAT_Table5
|
static int |
AUTO_FORMAT_Table6
|
static int |
AUTO_FORMAT_Table7
|
static int |
AUTO_FORMAT_Table8
|
static int |
AUTO_FORMAT_Table9
|
| Method Summary | |
|---|---|
boolean |
containsCol(int x)
returns whether a given col is contained in this PivotTable |
boolean |
containsRow(int x)
returns whether a given row is contained in this PivotTable |
boolean |
getAutoAlign()
get whether Alignment Autoformat is applied |
boolean |
getAutoBorder()
get whether Border Autoformat is applied |
boolean |
getAutoFont()
get whether Font Autoformat is applied |
int |
getAutoFormatId()
get the auto format for the Table |
boolean |
getAutoNumber()
get whether Number Autoformat is applied |
boolean |
getAutoPattern()
get whether Pattern Autoformat is applied |
boolean |
getAutoWidthHeight()
get whether Width/Height Autoformat is applied |
CellRange |
getCellRange()
|
int |
getColFirst()
get the first Column in the PivotTable |
int |
getColFirstData()
get the first Column containing data |
int |
getColLast()
get the last Column in the PivotTable |
boolean |
getColsHaveGrandTotals()
get whether table displays a column grand total |
String |
getJSON()
returns the JSON representation of this PivotTable |
int |
getRowFirst()
get the first row in the PivotTable |
int |
getRowFirstData()
get the first Row containing data |
int |
getRowFirstHead()
get the first header row |
int |
getRowLast()
get the last row in the PivotTable |
boolean |
getRowsHaveGrandTotals()
get whether table displays row grand totals |
String |
getTableName()
get the Name of the PivotTable |
boolean |
getUsesAutoFormat()
get whether table has auto format applied |
void |
removeArtifacts()
|
void |
setAutoAlign(boolean b)
set whether Alignment Autoformat is applied |
void |
setAutoBorder(boolean b)
set whether Border Autoformat is applied |
void |
setAutoFont(boolean b)
set whether Font Autoformat is applied |
void |
setAutoFormatId(int b)
set the auto format for the Table |
void |
setAutoNumber(boolean b)
set whether Number Autoformat is applied |
void |
setAutoPattern(boolean b)
set whether Pattern Autoformat is applied |
void |
setAutoWidthHeight(boolean b)
set Width/Height Autoformat is applied |
void |
setCellRange(CellRange cellRange)
|
void |
setColFirst(int s)
set the first Column in the PivotTable |
void |
setColFirstData(int s)
set the first Column containing data |
void |
setColLast(int s)
set the last Column in the PivotTable |
void |
setColsHaveGrandTotals(boolean b)
set whether to display a column grand total |
void |
setRowFirst(int s)
set the first row in the PivotTable |
void |
setRowFirstData(int s)
set the first Row containing data |
void |
setRowFirstHead(int s)
set the first header row |
void |
setRowLast(int s)
set the last row in the PivotTable |
void |
setRowsHaveGrandTotals(boolean b)
set whether to display row grand totals |
void |
setTableName(String tx)
set the Name of the PivotTable |
void |
setUsesAutoFormat(boolean b)
set whether to auto format the Table |
String |
toString()
return a more friendly |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static int AUTO_FORMAT_Report1
public static int AUTO_FORMAT_Report2
public static int AUTO_FORMAT_Report3
public static int AUTO_FORMAT_Report4
public static int AUTO_FORMAT_Report5
public static int AUTO_FORMAT_Report6
public static int AUTO_FORMAT_Report7
public static int AUTO_FORMAT_Report8
public static int AUTO_FORMAT_Report9
public static int AUTO_FORMAT_Report10
public static int AUTO_FORMAT_Table1
public static int AUTO_FORMAT_Table2
public static int AUTO_FORMAT_Table3
public static int AUTO_FORMAT_Table4
public static int AUTO_FORMAT_Table5
public static int AUTO_FORMAT_Table6
public static int AUTO_FORMAT_Table7
public static int AUTO_FORMAT_Table8
public static int AUTO_FORMAT_Table9
public static int AUTO_FORMAT_Table10
public static int AUTO_FORMAT_Classic
| Method Detail |
|---|
public CellRange getCellRange()
public void setCellRange(CellRange cellRange)
cellRange - The cellRange to set.public String getJSON()
public String getTableName()
public void setTableName(String tx)
String - - value of the PivotTable if stored as a String.public boolean containsRow(int x)
int - the row number
public String toString()
toString in class ObjectObject.toString()public boolean containsCol(int x)
int - the column number
public void setRowsHaveGrandTotals(boolean b)
boolean - whether to display row grand totalspublic boolean getRowsHaveGrandTotals()
public void setColsHaveGrandTotals(boolean b)
boolean - whether to display column grand totalpublic boolean getColsHaveGrandTotals()
public void setAutoFormatId(int b)
The valid formats are:
PivotTableHandle.AUTO_FORMAT_Report1
PivotTableHandle.AUTO_FORMAT_Report2
PivotTableHandle.AUTO_FORMAT_Report3
PivotTableHandle.AUTO_FORMAT_Report4
PivotTableHandle.AUTO_FORMAT_Report5
PivotTableHandle.AUTO_FORMAT_Report6
PivotTableHandle.AUTO_FORMAT_Report7
PivotTableHandle.AUTO_FORMAT_Report8
PivotTableHandle.AUTO_FORMAT_Report9
PivotTableHandle.AUTO_FORMAT_Report10
PivotTableHandle.AUTO_FORMAT_Table1
PivotTableHandle.AUTO_FORMAT_Table2
PivotTableHandle.AUTO_FORMAT_Table3
PivotTableHandle.AUTO_FORMAT_Table4
PivotTableHandle.AUTO_FORMAT_Table5
PivotTableHandle.AUTO_FORMAT_Table6
PivotTableHandle.AUTO_FORMAT_Table7
PivotTableHandle.AUTO_FORMAT_Table8
PivotTableHandle.AUTO_FORMAT_Table9
PivotTableHandle.AUTO_FORMAT_Table10
int - the auto format Id for the tablepublic int getAutoFormatId()
public void setUsesAutoFormat(boolean b)
boolean - whether to auto format the tablepublic boolean getUsesAutoFormat()
boolean - whether table has auto format appliedpublic void setAutoWidthHeight(boolean b)
boolean - whether to apply the Width/Height Autoformatpublic boolean getAutoWidthHeight()
public void setAutoFont(boolean b)
boolean - whether to apply the Font Autoformatpublic boolean getAutoFont()
public void removeArtifacts()
public void setAutoAlign(boolean b)
boolean - whether to apply the Alignment Autoformatpublic boolean getAutoAlign()
public void setAutoBorder(boolean b)
boolean - whether to apply the Border Autoformatpublic boolean getAutoBorder()
public void setAutoPattern(boolean b)
boolean - whether to apply the Pattern Autoformatpublic boolean getAutoPattern()
public void setAutoNumber(boolean b)
boolean - whether to apply the Number Autoformatpublic boolean getAutoNumber()
public void setRowFirst(int s)
public int getRowFirst()
public void setRowLast(int s)
public int getRowLast()
public void setColFirst(int s)
public int getColFirst()
public void setColLast(int s)
public int getColLast()
public void setRowFirstHead(int s)
public int getRowFirstHead()
public void setRowFirstData(int s)
public int getRowFirstData()
public void setColFirstData(int s)
public int getColFirstData()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||