com.aspose.diagram

Class ColorEntryCollection

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

Contains the document's color table. Each document contains a single color table, which lists the 24 standard colors that are available for application to objects such as shapes, text, and layers in the document.

Property Getters/Setters Summary
intgetCount()
Gets the number of elements actually contained in the collection.
ColorEntryget(intindex)
Gets the element at the specified index.
 
Method Summary
intadd(ColorEntry color)
Add the Color 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(ColorEntry color)
Remove the Color object from the collection.
 

    • Property Getters/Setters Detail

      • getCount

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

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

      • add

        public int add(ColorEntry color)
        Add the Color object in the collection.
        Parameters:
        color -
        Returns:
      • remove

        public void remove(ColorEntry color)
        Remove the Color object from the collection.
        Parameters:
        color -
      • 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.