com.aspose.diagram

Class AnnotationCollection

  • java.lang.Object
    • Collection
      • com.aspose.diagram.AnnotationCollection
  • All Implemented Interfaces:
    java.lang.Iterable
    public class AnnotationCollection 
    extends Collection

Annotation collection.

Property Getters/Setters Summary
intgetCount()
Gets the number of elements actually contained in the collection.
Annotationget(intindex)
Gets the element at the specified index.
 
Method Summary
intadd(Annotation item)
Add the Annotation object in the collection.
voidclear()
Removes all elements from collection.
booleanisExist(intindex)
Is exist item in the collection.
java.util.Iteratoriterator()
Supports a simple iteration over a nongeneric collection.
voidremove(Annotation item)
Remove the Annotation object from the collection.
 

    • Property Getters/Setters Detail

      • getCount

        public int getCount()
        
        Gets the number of elements actually contained in the collection.
      • get

        public Annotation get(int index)
        
        Gets the element at the specified index.
        Parameters:
        index -
        Returns:
    • Method Detail

      • add

        public int add(Annotation item)
        Add the Annotation object in the collection.
        Returns:
      • remove

        public void remove(Annotation item)
        Remove the Annotation object from the collection.
      • iterator

        public java.util.Iterator iterator()
        Supports a simple iteration over a nongeneric collection.
        Returns:
      • isExist

        public boolean isExist(int index)
        Is exist item in the collection.
        Parameters:
        index - index of element.
        Returns:
      • clear

        public void clear()
        Removes all elements from collection.