|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface defines the common DataRange API.
| Method Summary | |
DataRange |
applyDataRangeDef(DataRangeDef definition)
Creates a new DataRange using the supplied definition, or modifies the currently selected DataRange. |
DataRange |
createDataRange(int sheet,
int row1,
int col1,
int row2,
int col2,
DataQuery query)
Creates a DataRange at the specified location using the specified query. |
DataRange |
getActiveDataRange()
Returns the currently selected DataRange. |
DataRangeDef |
getDataRangeDef()
Returns the definition for the currently selected DataRange. |
Range |
getSelectedRange()
Returns a Range object that represents the the current selection. |
Range |
getSelectedRange(Range dst)
Returns a Range object that represents the the current selection. |
void |
startSectionEdit(boolean rowSection)
Begins edit mode for the selected section. |
boolean |
stopSectionEditing(boolean applyCurrent)
Stops any current editing of a section. |
| Methods inherited from interface com.f1j.util.Lockable |
getLock,
releaseLock |
| Method Detail |
public DataRange applyDataRangeDef(DataRangeDef definition)
throws F1Exception
definition - The definition that should be applied
to the current DataRange. If a DataRange is not currently selected,
then a new one is created.If DataRange with this name exists.
If name is invalid.
If definition is invalid.
DataRange,
DataRangeDef
public DataRange createDataRange(int sheet,
int row1,
int col1,
int row2,
int col2,
DataQuery query)
throws F1Exception
sheet - The sheet where the DataRange should be created.row1 - The row where the DataRange should start.col1 - The column where the DataRange should start.row2 - The row where the DataRange should end.col2 - The column where the DataRange should end.query - The query to use as the default data source for the DataRange.DataRangepublic DataRange getActiveDataRange()
DataRangepublic DataRangeDef getDataRangeDef()
DataRange,
DataRangeDefpublic Range getSelectedRange()
Rangepublic Range getSelectedRange(Range dst)
dst - A Range object in which to place the selection.Range
public void startSectionEdit(boolean rowSection)
throws SelectionException
rowSection - If true, edits the row section script; if false, edits the column section script.public boolean stopSectionEditing(boolean applyCurrent)
applyCurrent - True if the current contents of the edit should be applied.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||