|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface defines the common PivotRange API.
| Method Summary | |
PivotRange |
applyPivotRangeDef(PivotRangeDef definition)
Creates a new PivotRange using the supplied definition, or modifies the currently selected PivotRange. |
PivotRange |
createPivotRange(int sheet,
int row,
int col,
DataQuery query)
Creates a PivotRange at the specified location using the specified query. |
Range |
getActiveCell()
Returns the range of the active cell. |
Range |
getActiveCell(Range dst)
Returns the range of the active cell. |
Field |
getActiveField()
Returns the currently active Field in the currently selected PivotRange. |
PivotRange |
getActivePivotRange()
Returns the currently selected PivotRange. |
PivotRangeDef |
getPivotRangeDef()
Returns the definition for the currently selected PivotRange. |
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. |
boolean |
isFieldLabelActive()
Indicates whether a Field label is in the active cell of the currently selected PivotRange. |
void |
refresh(PivotRange pivotRange)
This will update the PivotRange with the latest information from the data source. |
void |
setSelection(Range range)
Selects the specified range. |
| Methods inherited from interface com.f1j.util.Lockable |
getLock,
releaseLock |
| Method Detail |
public PivotRange applyPivotRangeDef(PivotRangeDef definition)
throws DuplicateNameException,
InvalidPivotRangeException,
InvalidArgumentException,
InvalidDataException,
F1Exception
definition - The definition that should be applied
to the current PivotRange. If a PivotRange is not currently selected,
then a new one is created.PivotRange,
PivotRangeDef
public PivotRange createPivotRange(int sheet,
int row,
int col,
DataQuery query)
throws DuplicateNameException,
InvalidPivotRangeException,
InvalidArgumentException,
InvalidDataException,
F1Exception
The active cell is the cell in which the cursor is currently located. It is the cell in which data is entered or edited if the user starts typing.
sheet - The sheet where the PivotRange should be created.row - The row where the PivotRange should be created.col - The column where the PivotRange should be created.query - The query to use as the data source for the PivotRange.PivotRange
public Range getActiveCell()
throws SelectionException,
F1Exception
The active cell is the cell in which the cursor is currently located. It is the cell in which data is entered or edited if the user starts typing.
Range
public Range getActiveCell(Range dst)
throws SelectionException,
F1Exception
The active cell is the cell in which the cursor is currently located. It is the cell in which data is entered or edited if the user starts typing.
dst - A Range object in which to place the active cell.Rangepublic Field getActiveField()
Field,
PivotRangepublic PivotRange getActivePivotRange()
PivotRangepublic PivotRangeDef getPivotRangeDef()
PivotRange,
PivotRangeDefpublic Range getSelectedRange()
Rangepublic Range getSelectedRange(Range dst)
dst - A Range object in which to place the selection.Rangepublic boolean isFieldLabelActive()
true = a Field label is currently activeField,
PivotRange
public void refresh(PivotRange pivotRange)
throws AccessDeniedException,
DataConflictException,
InvalidDataException,
F1Exception
public void setSelection(Range range)
throws InvalidArgumentException,
F1Exception
range - A Range object.getSelectedRange()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||