|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface defines a range for a DataRange. You can use this class to act upon areas within a DataRange, and to act upon the intersections of row and column sections of a DataRange.
| Method Summary | |
void |
clearBorderFormat()
Clears any section border formats associated with this Range object's selection. |
CellFormat |
getBorderFormat(boolean createTemplate)
Returns a CellFormat object containing the borders associated with this Range object's selection. |
SectionSet |
getColSet()
Returns a SectionSet object representing the columns of this Range. |
SectionSet |
getRowSet()
Returns a SectionSet object representing the row sections of this range. |
boolean |
isMergeCells()
Indicates whether cells at the intersection specified by this Range object are merged when the report is run. |
void |
setBorderFormat(CellFormat format)
Sets borders for the sections represented by this range. |
void |
setCommands(java.lang.String commands)
Sets the Report Function commands for the cell represented by this range. |
void |
setExtent(Section section)
Extends the selection for this range to include the specified section. |
void |
setMergeCells(boolean merged)
Specifies whether to merge cells at the intersection specified by this Range, when the report is run. |
void |
setSection(Section section,
boolean selectCells)
Selects the specified section for this range. |
| Methods inherited from interface com.f1j.util.Lockable |
getLock,
releaseLock |
| Method Detail |
public SectionSet getColSet()
SectionSet object representing the columns of this Range.SectionSet object representing the columns of this Range.setSection(com.f1j.ss.datarange.Section, boolean),
setExtent(com.f1j.ss.datarange.Section),
getRowSet()public SectionSet getRowSet()
SectionSet object representing the row sections of this range.SectionSet object representing the row sections of this range.setSection(com.f1j.ss.datarange.Section, boolean),
setExtent(com.f1j.ss.datarange.Section),
getColSet()
public void setCommands(java.lang.String commands)
throws AccessDeniedException,
DataConflictException,
InvalidArgumentException,
SelectionException
commands - the Report Functions to be set into this range.public void setExtent(Section section)
setSection(com.f1j.ss.datarange.Section, boolean) method to select a range of sections.section - The section to which this Range object's selection will be extended.setSection(com.f1j.ss.datarange.Section, boolean),
getRowSet(),
getColSet(),
SectionSet.getExtent()
public void setSection(Section section,
boolean selectCells)
section - The section to select.selectCells - If true, the complete set of cells associated with section are always selected, even if the prior cell selection was consistent with the new section selection. If false, the cell selection will only be changed if necessary for consistency.setExtent(com.f1j.ss.datarange.Section),
getRowSet(),
getColSet(),
SectionSet.getBase()
public void clearBorderFormat()
throws SelectionException
getBorderFormat(boolean),
setBorderFormat(com.f1j.ss.CellFormat)
public CellFormat getBorderFormat(boolean createTemplate)
throws SelectionException
createTemplate argument.createTemplate - Specifies whether to create and return an empty CellFormat if no borders have been defined.null.setBorderFormat(com.f1j.ss.CellFormat),
clearBorderFormat()
public boolean isMergeCells()
throws SelectionException
true if cells are merged.setMergeCells(boolean)
public void setBorderFormat(CellFormat format)
throws SelectionException,
RuleConflictException
format - Specifies the border format. Other formatting attributes contained in this object are ignored.getBorderFormat(boolean),
clearBorderFormat()
public void setMergeCells(boolean merged)
throws SelectionException,
RuleConflictException
merged - true to merge cells.isMergeCells()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||