SectionCollection

SectionCollection class

Represents a collection of sections.

addEmptySection

NameDescription
addEmptySection(String, int)Add empty section to specified position of the collection.

Parameters:

NameTypeDescription
nameStringName of the section
indexintIndex of new section.

Returns: Section


addSection

NameDescription
addSection(String, Slide)Add slides section started form specific slide.

Parameters:

NameTypeDescription
nameStringName of the section
startedFromSlideSlideFirst slide of section

Returns: Section


appendEmptySection

NameDescription
appendEmptySection(String)Add empty section to the end of the collection.

Parameters:

NameTypeDescription
nameStringName of the section

Returns: Section


clear

NameDescription
clear()Removes all sections from the collection.

getSyncRoot

NameDescription
getSyncRoot()Returns a synchronization root. Read-only Object.

Returns: Object


get_Item

NameDescription
get_Item(int)Gets the element at the specified index. Read-only ISection.

Returns: Section


indexOf

NameDescription
indexOf(Section)Returns an index of the specified section in the collection.

Parameters:

NameTypeDescription
sectionSectionSection to find.

Returns: int


isSynchronized

NameDescription
isSynchronized()Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only boolean.

Returns: boolean


iterator

NameDescription
iterator()Returns an enumerator that iterates through the collection.

Returns:


iteratorJava

NameDescription
iteratorJava()Returns a java iterator for the entire collection.

Returns:


removeSection

NameDescription
removeSection(Section)Remove section. Slides contained in the section will be merged into previous section.

Parameters:

NameTypeDescription
sectionSectionThe section to remove from the collection.

removeSectionWithSlides

NameDescription
removeSectionWithSlides(Section)Remove section and slides contained in the section.

Parameters:

NameTypeDescription
sectionSectionThe section to remove from the collection.

reorderSectionWithSlides

NameDescription
reorderSectionWithSlides(Section, int)Moves section and its slides from the collection to the specified position.

Parameters:

NameTypeDescription
indexSectionTarget index.
sectionintSection to move.

size

NameDescription
size()Gets the number of elements actually contained in the collection. Read-only int.

Returns: int