public interface ISectionCollection extends IGenericCollection<ISection>
Represents a collection of sections.
Modifier and Type | Method and Description |
---|---|
ISection |
addEmptySection(java.lang.String name,
int index)
Add empty section to specified position of the collection.
|
ISection |
addSection(java.lang.String name,
ISlide startedFromSlide)
Add new section started form specific slide.
|
ISection |
appendEmptySection(java.lang.String name)
Add empty section to the end of the collection.
|
void |
clear()
Removes all sections from the collection.
|
ISection |
get_Item(int index)
Gets the element at the specified index.
|
int |
indexOf(ISection section)
Returns an index of the specified section in the collection.
|
void |
removeSection(ISection section)
Remove section.
|
void |
removeSectionWithSlides(ISection section)
Remove section and slides contained in the section.
|
void |
reorderSectionWithSlides(ISection section,
int index)
Moves section and its slides from the collection to the specified position.
|
iterator
ISection addSection(java.lang.String name, ISlide startedFromSlide)
Add new section started form specific slide.
name
- Name of the sectionstartedFromSlide
- First slide of sectionISection addEmptySection(java.lang.String name, int index)
Add empty section to specified position of the collection.
name
- Name of the sectionindex
- Index of new section.void removeSectionWithSlides(ISection section)
Remove section and slides contained in the section.
section
- The section to remove from the collection.void removeSection(ISection section)
Remove section. Slides contained in the section will be merged into previous section.
section
- The section to remove from the collection.void reorderSectionWithSlides(ISection section, int index)
Moves section and its slides from the collection to the specified position.
index
- Target index.section
- Section to move.ISection appendEmptySection(java.lang.String name)
Add empty section to the end of the collection.
name
- Name of the sectionint indexOf(ISection section)
Returns an index of the specified section in the collection.
section
- Section to find.void clear()
Removes all sections from the collection.