SectionCollection
SectionCollection class
Represents a collection of sections.
addEmptySection
Name | Description |
---|
addEmptySection(String, int) | Add empty section to specified position of the collection. |
Parameters:
Name | Type | Description |
---|
name | String | Name of the section |
index | int | Index of new section. |
Returns:
Section
addSection
Name | Description |
---|
addSection(String, Slide) | Add slides section started form specific slide. |
Parameters:
Name | Type | Description |
---|
name | String | Name of the section |
startedFromSlide | Slide | First slide of section |
Returns:
Section
appendEmptySection
Name | Description |
---|
appendEmptySection(String) | Add empty section to the end of the collection. |
Parameters:
Name | Type | Description |
---|
name | String | Name of the section |
Returns:
Section
clear
Name | Description |
---|
clear() | Removes all sections from the collection. |
getSyncRoot
Name | Description |
---|
getSyncRoot() | Returns a synchronization root. Read-only Object. |
Returns:
Object
get_Item
Name | Description |
---|
get_Item(int) | Gets the element at the specified index. Read-only ISection. |
Returns:
Section
indexOf
Name | Description |
---|
indexOf(Section) | Returns an index of the specified section in the collection. |
Parameters:
Name | Type | Description |
---|
section | Section | Section to find. |
Returns:
int
isSynchronized
Name | Description |
---|
isSynchronized() | Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only boolean. |
Returns:
boolean
iterator
Name | Description |
---|
iterator() | Returns an enumerator that iterates through the collection. |
Returns:
iteratorJava
Name | Description |
---|
iteratorJava() | Returns a java iterator for the entire collection. |
Returns:
removeSection
Name | Description |
---|
removeSection(Section) | Remove section. Slides contained in the section will be merged into previous section. |
Parameters:
Name | Type | Description |
---|
section | Section | The section to remove from the collection. |
removeSectionWithSlides
Name | Description |
---|
removeSectionWithSlides(Section) | Remove section and slides contained in the section. |
Parameters:
Name | Type | Description |
---|
section | Section | The section to remove from the collection. |
reorderSectionWithSlides
Name | Description |
---|
reorderSectionWithSlides(Section, int) | Moves section and its slides from the collection to the specified position. |
Parameters:
Name | Type | Description |
---|
index | Section | Target index. |
section | int | Section to move. |
size
Name | Description |
---|
size() | Gets the number of elements actually contained in the collection. Read-only int. |
Returns:
int