aspose.pdf
Class Bookmarks

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList
              extended by aspose.pdf.Bookmarks
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess

public class Bookmarks
extends java.util.ArrayList

Represents a collection of bookmarks.

See Also:
Serialized Form

Constructor Summary
Bookmarks()
          Constructor - initializes a new instance of the Bookmarks class.
 
Method Summary
 void add(Bookmark bookmark)
          Adds a new Bookmark object into the collection.
 Bookmark getBookmark(int index)
          Gets Bookmark object from the collection according to object index.
 void setBookmark(int index, Bookmark value)
          Sets Bookmark object to the collection according to object index.
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

Bookmarks

public Bookmarks()
Constructor - initializes a new instance of the Bookmarks class.

Method Detail

getBookmark

public Bookmark getBookmark(int index)
Gets Bookmark object from the collection according to object index.

Returns:
A Bookmark object.

setBookmark

public void setBookmark(int index,
                        Bookmark value)
Sets Bookmark object to the collection according to object index.

Parameters:
index - Object index
value - Object value

add

public void add(Bookmark bookmark)
Adds a new Bookmark object into the collection.

Parameters:
bookmark - The Bookmark object to be added.