|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The API for viewing and modifying the definition of a DataRange.
| Inner Class Summary | |
static class |
DataRangeDef.ELocationType
Enumeration class for defining DataRange locations. |
| Method Summary | |
DataSet |
getDataSet()
Returns the default DataSet specified for the defined DataRange. |
int |
getFirstColumn()
Returns the first column for the defined DataRange. |
int |
getFirstRow()
Returns the first row for the defined DataRange. |
int |
getLastColumn()
Returns the last column for the defined DataRange. |
int |
getLastRow()
Returns the last row for the defined DataRange. |
java.lang.String |
getLocation()
Returns the formula defining the top left corner of the DataRange in US English. |
java.lang.String |
getLocationLocal()
Returns the formula defining the top left corner of the DataRange in the user's language. |
Sheet |
getLocationSheet()
Returns the target worksheet for the defined DataRange. |
DataRangeDef.ELocationType |
getLocationType()
Returns whether the defined DataRange should be placed on a new worksheet or an existing worksheet. |
java.lang.String |
getName()
Deprecated. as of 12.0.2. Use DataRangeOptions.getName |
DataRangeOptions |
getOptions()
Returns a DataRangeOptions object that can be used to define specific characteristics of the Data Range being created or modified. |
void |
setDataSet(DataSet dataSet)
Sets the default data set for this particular DataRange. |
void |
setLocation(Sheet sheet,
int row1,
int column1,
int row2,
int column2)
Defines the location of the DataRange. |
void |
setLocation(java.lang.String strLoc)
Defines the location of the DataRange using a formula in US English. |
void |
setLocationLocal(java.lang.String strLoc)
Defines the location of the DataRange using a formula in the user's language. |
void |
setLocationType(DataRangeDef.ELocationType type)
Sets whether the DataRange should be placed on a new worksheet or an existing worksheet. |
void |
setName(java.lang.String str)
Deprecated. as of 12.0.2. Use DataRangeOptions.setName |
void |
setOptions(DataRangeOptions options)
Sets the characteristics of the Data Range being defined. |
| Methods inherited from interface com.f1j.util.Lockable |
getLock,
releaseLock |
| Method Detail |
public DataSet getDataSet()
DataSetpublic int getFirstColumn()
DataRangepublic int getFirstRow()
DataRangepublic Sheet getLocationSheet()
DataRange,
Sheetpublic int getLastColumn()
DataRangepublic int getLastRow()
DataRangepublic java.lang.String getLocation()
DataRangepublic java.lang.String getLocationLocal()
DataRangepublic DataRangeDef.ELocationType getLocationType()
DataRangeDef.ELocationType,
DataRangepublic java.lang.String getName()
DataRangepublic DataRangeOptions getOptions()
DataRange,
DataRangeOptionspublic void setDataSet(DataSet dataSet)
dataSet - - The DataSet that should be used as the default for this range.DataSet
public void setLocation(Sheet sheet,
int row1,
int column1,
int row2,
int column2)
sheet - The worksheet that contains the DataRange.row1 - The row where the DataRange starts.column1 - The column where the DataRange starts.row2 - The row where the DataRange ends.column2 - The column where the DataRange ends.DataRange,
Sheet
public void setLocation(java.lang.String strLoc)
throws F1Exception
strLoc - A formula defining the location.DataRange
public void setLocationLocal(java.lang.String strLoc)
throws F1Exception
strLoc - A formula defining the location.DataRangepublic void setLocationType(DataRangeDef.ELocationType type)
type - An enumeration that indicates whether the DataRange should be
placed on a new worksheet or an existing worksheet.DataRangeDef.ELocationType,
DataRange
public void setName(java.lang.String str)
throws DuplicateNameException,
com.f1j.ss.datarange.InvalidNameException
str - The name of the DataRange.DataRangepublic void setOptions(DataRangeOptions options)
options - An object containing the characteristics of the Data Range
being defined.DataRange,
DataRangeOptions
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||