com.aspose.slides
Class Portions

java.lang.Object
  extended by com.aspose.slides.Portions
Direct Known Subclasses:
PortionCollection

Deprecated.

@Deprecated
public class Portions
extends java.lang.Object

Represents a collection of a portions.


Method Summary
 int add(Portion value)
          Deprecated.  Adds a Portion to the end of collection.
 void clear()
          Deprecated.  Removes all elements from the collection.
 Portion get_Item(int index)
          Deprecated.  Gets the element at the specified index.
 int getCount()
          Deprecated.  Gets the number of elements actually contained in the collection.
 void insert(int index, Portion value)
          Deprecated.  Inserts a Portion into the collection at the specified index.
 com.aspose.ms.System.Collections.IEnumerator<Portion> iterator()
          Deprecated.  Returns an enumerator for the entire collection.
 void removeAt(int index)
          Deprecated.  Removes the element at the specified index of the collection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCount

public int getCount()
Deprecated. 

Gets the number of elements actually contained in the collection.


get_Item

public Portion get_Item(int index)
Deprecated. 

Gets the element at the specified index.


add

public int add(Portion value)
Deprecated. 

Adds a Portion to the end of collection.

Parameters:
value - The Portion to be added to the end of the collection.
Returns:
The index at which the Portion has been added.

insert

public void insert(int index,
                   Portion value)
Deprecated. 

Inserts a Portion into the collection at the specified index.

Parameters:
index - The zero-based index at which Portion should be inserted.
value - The Portion to insert.

clear

public void clear()
Deprecated. 

Removes all elements from the collection.


removeAt

public void removeAt(int index)
Deprecated. 

Removes the element at the specified index of the collection.

Parameters:
index - The zero-based index of the element to remove.

iterator

public com.aspose.ms.System.Collections.IEnumerator<Portion> iterator()
Deprecated. 

Returns an enumerator for the entire collection.

Returns:
An IEnumerator for the entire collection.