|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.pdf.elements.Paragraphs
public class Paragraphs
Represents a collection of Paragraph objects.
Constructor Summary | |
---|---|
Paragraphs()
Initializes a new instance of the Paragraphs class. |
Method Summary | |
---|---|
void |
add(Paragraph paragraph)
Adds a new Paragraph object into the collection. |
void |
clear()
Clear paragraphs of pdf. |
java.lang.Object |
clone()
Paragraphs does not support clone method. |
Paragraph |
get(int index)
|
Paragraph |
get(java.lang.String ID)
Get the Paragraph specified by ID |
Paragraph |
getByID(java.lang.String ID)
Get the Paragraph specified by ID |
java.lang.Object |
getObjectByID(java.lang.String ID)
Gets a object with specified ID in the Paragraphs. |
int |
indexOf(Paragraph paragraph)
Gets the index of a specified paragraph in the collection. |
void |
Insert(int index,
Paragraph paragraph)
Inserts a new Paragraph object into the collection at specified position. |
boolean |
isEmpty()
Returns true if the collection contains no paragraph. |
java.util.Iterator |
iterator()
Returns an iterator over the paragraph objects in paragraphs in proper sequence. |
void |
remove(int index)
Removes a Paragraph object from the collection at the specified position. |
void |
remove(Paragraph paragraph)
Removes a Paragraph object from the collection. |
int |
size()
Gets the size of paragraph objects collection. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Paragraphs()
Method Detail |
---|
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public void add(Paragraph paragraph)
paragraph
- the paragraph that will be added.public void clear()
public int indexOf(Paragraph paragraph)
public Paragraph getByID(java.lang.String ID)
public java.lang.Object getObjectByID(java.lang.String ID)
public Paragraph get(java.lang.String ID)
public void Insert(int index, Paragraph paragraph)
index
- The position that the paragraph will be inserted at.paragraph
- the paragraph that willed inserted.public void remove(Paragraph paragraph)
paragraph
- The paragraph that willed removed.public void remove(int index)
index
- The index of the paragraph that willed removed.public int size()
public java.util.Iterator iterator()
public boolean isEmpty()
public Paragraph get(int index)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |