|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.Portions
public final class Portions
Represents the collection of a portions.
Constructor Summary | |
---|---|
protected |
Portions()
|
Method Summary | |
---|---|
void |
add(int index,
Portion value)
Adds the portion into the collection at the specified index. |
int |
add(Portion value)
Adds the portion at the end of the collection. |
void |
clear()
Removes all elements from the collection. |
Portion |
get(int index)
Returns the element at the specified index. |
protected java.util.Iterator |
iterator()
Returns the iterator for the entire collection. |
void |
remove(int index)
Removes the element at the specified index. |
int |
size()
Returns the number of elements in this collection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Portions()
Method Detail |
---|
public int size()
public Portion get(int index)
index
- index of element to return.
public int add(Portion value) throws PptEditException
value
- the portion to be added at the end of the collection.
PptEditException
public void add(int index, Portion value) throws PptEditException
index
- the zero-based index at which portion should be added.value
- The portion to add.
PptEditException
public void clear()
public void remove(int index)
index
- the zero-based index of the element to remove.protected java.util.Iterator iterator()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |