|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface defines the API for defining a PivotRange.
| Inner Class Summary | |
static class |
PivotRangeDef.ELocationType
Enumeration class for defining PivotRange locations. |
| Method Summary | |
DataSourceInfo |
getDataSourceInfo()
Returns a DataSourceInfo object that can be used to define the data source for the PivotRange being created or modified. |
java.lang.String |
getLocation()
Returns the formula defining the top left corner of the PivotRange in US English. |
int |
getLocationColumn()
Returns the starting column for the defined PivotRange. |
java.lang.String |
getLocationLocal()
Returns the formula defining the top left corner of the PivotRange in the user's language. |
int |
getLocationRow()
Returns the starting row for the defined PivotRange. |
Sheet |
getLocationSheet()
Returns the target worksheet for the defined PivotRange. |
PivotRangeDef.ELocationType |
getLocationType()
Returns whether the defined PivotRange should be placed on a new worksheet or an existing worksheet. |
PivotRangeOptions |
getOptions()
Returns a PivotRangeOptions object that can be used to define specific characteristics of the PivotRange being created or modified. |
void |
setLocation(Sheet sheet,
int row,
int column)
Defines the location of the PivotRange. |
void |
setLocation(java.lang.String strLoc)
Defines the location of the PivotRange using a formula in US English. |
void |
setLocationLocal(java.lang.String strLoc)
Defines the location of the PivotRange using a formula in the user's language. |
void |
setLocationType(PivotRangeDef.ELocationType type)
Sets whether the PivotRange should be placed on a new worksheet or an existing worksheet. |
void |
setOptions(PivotRangeOptions options)
Sets the characteristics of the PivotRange being defined. |
| Methods inherited from interface com.f1j.util.Lockable |
getLock,
releaseLock |
| Method Detail |
public DataSourceInfo getDataSourceInfo()
DataSourceInfo,
PivotRangepublic int getLocationColumn()
PivotRangepublic Sheet getLocationSheet()
PivotRange,
Sheetpublic int getLocationRow()
PivotRangepublic java.lang.String getLocation()
PivotRangepublic java.lang.String getLocationLocal()
PivotRangepublic PivotRangeDef.ELocationType getLocationType()
PivotRangeDef.ELocationType,
PivotRangepublic PivotRangeOptions getOptions()
PivotRange,
PivotRangeOptions
public void setLocation(Sheet sheet,
int row,
int column)
sheet - The worksheet that contains the PivotRange.row - The row where the PivotRange starts.column - The column where the PivotRange starts.PivotRange,
Sheet
public void setLocation(java.lang.String strLoc)
throws F1Exception
strLoc - A formula defining the location.PivotRange
public void setLocationLocal(java.lang.String strLoc)
throws F1Exception
strLoc - A formula defining the location.PivotRangepublic void setLocationType(PivotRangeDef.ELocationType type)
type - An enumeration that indicates whether the PivotRange should be
placed on a new worksheet or an existing worksheet.PivotRangeDef.ELocationType,
PivotRangepublic void setOptions(PivotRangeOptions options)
options - An object containing the characteristics of the PivotRange
being defined.PivotRange,
PivotRangeOptions
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||