|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interafce represents a set of one or more sections specified in a
Range, on either the row or the column axis. The
Range contains exactly two SectionSet objects, which are accessed using the
Range.getColSet() and Range.getRowSet() methods.
The sections represented by this interface are specified by calling the
Range.setSection(com.f1j.ss.datarange.Section, boolean) and Range.setExtent(com.f1j.ss.datarange.Section) methods. It represents
the set of sections as an array of getSectionCount() elements.
However, the sections actually specified through setSection and setExtent
may not be directly accessible through this interface. The reason for this
is that the set must consist only of contiguous siblings. Therefore, if
the base and extent are not siblings, the section hierarchy will be searched
for their common ancestry.
Range.getColSet(),
Range.getRowSet()| Method Summary | |
Section |
getBase()
Returns the starting section of this section set. |
Section |
getExtent()
Returns the section at the extent of this section set. |
Section |
getSection(int index)
Returns one of the sections directly represented by this object. |
int |
getSectionCount()
Indicates the number of sections directly represented by this object. |
| Methods inherited from interface com.f1j.ss.datarange.AbstractSection |
createParent,
delete,
getEnd,
getParent,
getSize,
getStart,
insertAfter,
insertBefore,
isDeleted,
isInRowArea,
isLeaf,
isRoot,
remove |
| Methods inherited from interface com.f1j.util.Lockable |
getLock,
releaseLock |
| Method Detail |
public Section getBase()
Range.setSection(com.f1j.ss.datarange.Section, boolean).Range.setSection(com.f1j.ss.datarange.Section, boolean)public Section getExtent()
Range.setExtent(com.f1j.ss.datarange.Section).Range.setExtent(com.f1j.ss.datarange.Section)
public Section getSection(int index)
throws com.f1j.util.InvalidIndexException
index - The index of the section to return.index is invalid.getSectionCount()public int getSectionCount()
getSection(int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||