|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
aspose.pdf.Sections
public class Sections
Represents a collection of Section
objects.
Typical usages are the following:
Field Summary |
---|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
Sections()
Initializes a new instance of the Section class. |
Method Summary | |
---|---|
Section |
add()
Initializes a new instance of the Section class and add it to the
Sections collection |
void |
add(Section section)
Adds a new Section object into the collection. |
void |
copyTo(Section[] secArray,
int index)
Copies the elements to a Section object array, starting at a
specified array index. |
Section |
getSection(int index)
Gets or sets a Section object from the collection according to
Section index. |
Section |
getSection(java.lang.String sectionID)
Gets or sets a Section object from the collection according to
Section ID. |
int |
indexOf(Section section)
Gets the index of a specified section in the collection. |
void |
insert(int index,
Section section)
Inserts a new Section object into the collection at specified
position. |
void |
insert(Section sectionToInsertAfter,
Section newSection)
Inserts a new Section object into the collection after specified
Section object. |
void |
remove(Section sectionToRemove)
Removes a Section object from the collection. |
void |
setSection(int index,
Section value)
Sets a Section object from the collection according to Section index. |
void |
setSection(java.lang.String sectionID,
Section value)
Sets a Section object from the collection according to Section ID. |
Methods inherited from class java.util.ArrayList |
---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
Constructor Detail |
---|
public Sections()
Section
class.
Method Detail |
---|
public void add(Section section)
Section
object into the collection.
section
- The Section
object to be added.public Section add()
Section
class and add it to the
Sections collection
Section
object.public void insert(int index, Section section)
Section
object into the collection at specified
position.
index
- The zero-based index at which Section
object should be
inserted.section
- The Section
object to be inserted.public void insert(Section sectionToInsertAfter, Section newSection)
Section
object into the collection after specified
Section object.
sectionToInsertAfter
- The Section
object to insert after.newSection
- The Section
object to be inserted.public void remove(Section sectionToRemove)
Section
object from the collection.
sectionToRemove
- The Section
object to be romoved.public void copyTo(Section[] secArray, int index)
Section
object array, starting at a
specified array index.
secArray
- The Section
object array.index
- The start index.public int indexOf(Section section)
section
- The specified section.
public Section getSection(int index)
Section
object from the collection according to
Section index.
public void setSection(int index, Section value)
index
- value
- public Section getSection(java.lang.String sectionID)
Section
object from the collection according to
Section ID.
public void setSection(java.lang.String sectionID, Section value)
sectionID
- value
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |