|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.pdf.PdfCollection
com.spire.pdf.lists.PdfListItemCollection
public class PdfListItemCollection
Represents collection of list items.
Constructor Summary | |
---|---|
PdfListItemCollection()
Initializes a new instance of the class. |
|
PdfListItemCollection(java.lang.String[] items)
Initializes a new instance of the class. |
Method Summary | |
---|---|
int |
add(PdfListItem item)
Adds the specified item. |
int |
add(PdfListItem item,
float itemIndent)
Adds the specified item. |
PdfListItem |
add(java.lang.String text)
Adds the item with a specified text. |
PdfListItem |
add(java.lang.String text,
float itemIndent)
Adds the specified text. |
PdfListItem |
add(java.lang.String text,
PdfFontBase font)
Adds the specified text. |
PdfListItem |
add(java.lang.String text,
PdfFontBase font,
float itemIndent)
Adds the specified text. |
void |
clear()
Clears collection. |
PdfListItem |
get(int index)
Gets the PdfListItem from collection at the specified index. |
int |
indexOf(PdfListItem item)
Determines the index of a specific item in the list. |
void |
insert(int index,
PdfListItem item)
Inserts item at the specified index. |
void |
insert(int index,
PdfListItem item,
float itemIndent)
Inserts the specified index. |
void |
remove(PdfListItem item)
Removes the specified item from the list. |
void |
removeAt(int index)
Removes the item at the specified index from the list. |
Methods inherited from class com.spire.pdf.PdfCollection |
---|
getCount, getList |
Constructor Detail |
---|
public PdfListItemCollection()
public PdfListItemCollection(java.lang.String[] items)
items
- A string array that contains items separated by the new line character.Method Detail |
---|
public PdfListItem get(int index)
public int add(PdfListItem item)
item
- The item.
public int add(PdfListItem item, float itemIndent)
item
- The item.itemIndent
- The item indent.public PdfListItem add(java.lang.String text)
text
- The text.
public PdfListItem add(java.lang.String text, float itemIndent)
text
- The text.itemIndent
- The item indent.
public PdfListItem add(java.lang.String text, PdfFontBase font)
text
- The text.font
- The font.
public PdfListItem add(java.lang.String text, PdfFontBase font, float itemIndent)
text
- The text.font
- The font.itemIndent
- The item indent.
public void insert(int index, PdfListItem item)
index
- The specified index.item
- The item.public void insert(int index, PdfListItem item, float itemIndent)
index
- The index.item
- The item.itemIndent
- The item indent.public void remove(PdfListItem item)
item
- The specified item.public void removeAt(int index)
index
- he specified index.public int indexOf(PdfListItem item)
item
- The item to locate in the list.
public void clear()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |