com.aspose.slides
Class Links

java.lang.Object
  extended by com.aspose.slides.Links
All Implemented Interfaces:
java.lang.Iterable<Link>

public final class Links
extends java.lang.Object
implements java.lang.Iterable<Link>

Represents the collection of links.


Constructor Summary
Links(com.aspose.slides.ppt.Document doc, com.aspose.slides.ppt.SubTextFrame frame)
           
 
Method Summary
 Link addLink()
          Creates new Link at the end of the collection.
 void clear()
          Removes all elements from the collection.
 Link get(int index)
          Gets the element at the specified index.
 java.util.Iterator<Link> iterator()
          Returns an iterator for the entire collection.
 void remove(int index)
          Removes the element at the specified index of the collection.
 int size()
          Gets the number of elements actually contained in a collection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Links

public Links(com.aspose.slides.ppt.Document doc,
             com.aspose.slides.ppt.SubTextFrame frame)
Method Detail

size

public int size()
Gets the number of elements actually contained in a collection.


get

public Link get(int index)
Gets the element at the specified index.

Parameters:
index - index of element to return.

addLink

public Link addLink()
Creates new Link at the end of the collection.

Returns:
created Link object.

clear

public void clear()
Removes all elements from the collection.


remove

public void remove(int index)
Removes the element at the specified index of the collection.

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

iterator

public java.util.Iterator<Link> iterator()
Returns an iterator for the entire collection.

Specified by:
iterator in interface java.lang.Iterable<Link>