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.

Result: Section


addSection

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

Parameters:

NameTypeDescription
nameStringName of the section
startedFromSlideSlideFirst slide of section

Result: Section


appendEmptySection

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

Parameters:

NameTypeDescription
nameStringName of the section

Result: Section


clear

NameDescription
clear()Removes all sections from the collection.

getParent_Immediate

NameDescription
getParent_Immediate()

getSyncRoot

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

Result: Object


get_Item

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

Result: Section


indexOf

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

Parameters:

NameTypeDescription
sectionSectionSection to find.

Result: int


isSynchronized

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

Result: boolean


iterator

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

Result:


iteratorJava

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

Result:


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.

Result: int