|
|||||||||
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 |