|
|||||||||
| 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.Segments
public class Segments
Represents a collection of Segment objects.
Typical usages are the following:
| Field Summary |
|---|
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
Segments()
Construct a new Segments object. |
|
| Method Summary | |
|---|---|
Segment |
add()
Initializes a new instance of the Segment class and add it
to the Segments collection |
void |
add(Segment segment)
Adds a new Segment object into the collection. |
Segment |
add(java.lang.String segmentString)
Initializes a new instance of the Segment class and add it
to the Segments collection |
void |
copyTo(Segment[] segmentArray,
int index)
Copies the elements to a Segment object array,
starting at a specified array index. |
Segment |
getSegment(int index)
Gets a Segment object from the collection according to Segment index. |
Segment |
getSegment(java.lang.String segmentID)
Gets a Segment object from the collection according to Segment ID. |
Text |
getText()
Get the parent text object . |
int |
indexOf(Segment segment)
Gets the index of a specified Segment object in the collection. |
void |
insert(int index,
Segment segment)
Inserts a new Segment object into the collection after specified Segment object. |
void |
insert(Segment segmentToInsertAfter,
Segment newSegment)
Inserts a new Segment object into the collection after specified Segment object. |
void |
moveAfter(Segment segToMoveAfter,
Segments newSegments)
Move a segment after the other segment . |
void |
moveAt(int index,
Segments newSegments)
Move a segment identified by index |
void |
remove(Segment segmentToRemove)
Removes a Segment object from the collection. |
void |
setSegment(int index,
Segment value)
Sets a Segment object from the collection according to Segment index. |
void |
setSegment(java.lang.String segmentID,
Segment value)
Sets a Segment object from the collection according to Segment ID. |
void |
setText(Text value)
Set the parent text object . |
| 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 Segments()
| Method Detail |
|---|
public void add(Segment segment)
Segment object into the collection.
public Segment add(java.lang.String segmentString)
Segment class and add it
to the Segments collection
segmentString - The string content of the segment.
Segment object.public Segment add()
Segment class and add it
to the Segments collection
Segment object.public Text getText()
public void setText(Text value)
public void insert(int index,
Segment segment)
Segment object into the collection after specified Segment object.
index - The Segment object to insert after.segment - The Segment object to be inserted.
public void insert(Segment segmentToInsertAfter,
Segment newSegment)
Segment object into the collection after specified Segment object.
segmentToInsertAfter - The Segment object to insert afternewSegment - The Segment object to be inserted.public void remove(Segment segmentToRemove)
Segment object from the collection.
segmentToRemove - The Segment object to be romoved.
public void moveAt(int index,
Segments newSegments)
index - the index of the segment.newSegments - the new segments after moving .
public void moveAfter(Segment segToMoveAfter,
Segments newSegments)
segToMoveAfter - the segment to be moved .newSegments - the new segments after moving.public int indexOf(Segment segment)
Segment object in the collection.
segment - The specified Segment object.
public void copyTo(Segment[] segmentArray,
int index)
Segment object array,
starting at a specified array index.
segmentArray - The Gets or sets a Segment object array.index - The start index.public Segment getSegment(int index)
Segment object from the collection according to Segment index.
index -
public void setSegment(int index,
Segment value)
Segment object from the collection according to Segment index.
index - the index of the segmentvalue - the result segment.public Segment getSegment(java.lang.String segmentID)
Segment object from the collection according to Segment ID.
segmentID - the ID of the segment .
public void setSegment(java.lang.String segmentID,
Segment value)
Segment object from the collection according to Segment ID.
segmentID - the ID of segment .value - the result segment .
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||