com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class BehaviorPropertyCollection

  • java.lang.Object
    • com.aspose.slides.BehaviorPropertyCollection
    • Method Detail

      • size

        public final int size()

        Returns the number of properties stored in the collection. Read-only int.

        Specified by:
        size in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IBehaviorProperty>
      • isReadOnly

        public final boolean isReadOnly()

        Gets a value indicating whether the IGenericCollection is read-only. Read-only boolean.

        Specified by:
        isReadOnly in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IBehaviorProperty>
        Returns:
        true if the IGenericCollection is read-only; otherwise, false.
      • add

        public final void add(IBehaviorProperty item)

        Adds a new property to the collection.

        Parameters:
        item - Property to add.
      • add

        public final void add(java.lang.String propertyValue)

        Adds a new property to the collection.

        Specified by:
        add in interface IBehaviorPropertyCollection
        Parameters:
        propertyValue - Value of the property to add.
      • indexOf

        public final int indexOf(IBehaviorProperty item)

        Determines the index of a specific item in the List.

        Parameters:
        item - The object to locate in the List.
        Returns:
        The index of item if found in the list; otherwise, -1.
      • indexOf

        public final int indexOf(java.lang.String propertyValue)

        Determines the index of a specific item by property value in the List.

        Specified by:
        indexOf in interface IBehaviorPropertyCollection
        Parameters:
        propertyValue - value of the property
        Returns:
        The index of the property with the specified value
      • insert

        public final void insert(int index,
                                 IBehaviorProperty item)

        Inserts a new property to the collection at the specified index.

        Parameters:
        index - Index where a new property should be inserted.
        item - Property to add.
      • insert

        public final void insert(int index,
                                 java.lang.String propertyValue)

        Inserts a new property (with the specified property value) to the collection at the specified index.

        Specified by:
        insert in interface IBehaviorPropertyCollection
        Parameters:
        index - Index where a new property should be inserted.
        propertyValue - Value of the property to add.
      • copyTo

        public final void copyTo(IBehaviorProperty[] array,
                                 int arrayIndex)

        Copies the elements of the IGenericCollection to an Array, starting at a particular Array index.

        Parameters:
        array - The one-dimensional Array that is the destination of the elements copied from IGenericCollection. The Array must have zero-based indexing.
        arrayIndex - The zero-based index in array at which copying begins.
        Throws:
        com.aspose.ms.System.ArgumentNullException - array is null.
        com.aspose.ms.System.ArgumentOutOfRangeException - arrayIndex is less than 0.
        com.aspose.ms.System.ArgumentException - The number of elements in the source IGenericCollection is greater than the available space from arrayIndex to the end of the destination array.
      • remove

        public final boolean remove(IBehaviorProperty item)

        Removes specified property from the collection.

        Parameters:
        item - Property to remove.
      • remove

        public final boolean remove(java.lang.String propertyValue)

        Removes specified property from the collection.

        Specified by:
        remove in interface IBehaviorPropertyCollection
        Parameters:
        propertyValue - Value of the property to remove.
        Returns:
        True if a property removed successfully boolean
      • removeAt

        public final void removeAt(int index)

        Removes property at the specified index.

        Specified by:
        removeAt in interface com.aspose.ms.System.Collections.Generic.IGenericList<IBehaviorProperty>
        Parameters:
        index - Index of the property which should be deleted.
      • clear

        public final void clear()

        Removes all properties from the collection.

        Specified by:
        clear in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IBehaviorProperty>
      • get_Item

        public final IBehaviorProperty get_Item(int index)

        Returns a property at the specified index.

        Specified by:
        get_Item in interface com.aspose.ms.System.Collections.Generic.IGenericList<IBehaviorProperty>
        Parameters:
        index - Index of a property to return.
        Returns:
        Animation behavior property.
      • set_Item

        public final void set_Item(int index,
                                   IBehaviorProperty value)

        Sets a property at the specified index.

        Specified by:
        set_Item in interface com.aspose.ms.System.Collections.Generic.IGenericList<IBehaviorProperty>
        Parameters:
        index - Index of a property to return.
      • iterator

        public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IBehaviorProperty> iterator()

        Returns an enumerator that iterates through the collection.

        Specified by:
        iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IBehaviorProperty>
        Specified by:
        iterator in interface com.aspose.ms.System.Collections.IEnumerable<IBehaviorProperty>
        Specified by:
        iterator in interface java.lang.Iterable<IBehaviorProperty>
        Returns:
        A IGenericEnumerator that can be used to iterate through the collection.
      • indexOfItem

        public int indexOfItem(IBehaviorProperty item)
        Specified by:
        indexOfItem in interface com.aspose.ms.System.Collections.Generic.IGenericList<IBehaviorProperty>
      • insertItem

        public void insertItem(int index,
                               IBehaviorProperty item)
        Specified by:
        insertItem in interface com.aspose.ms.System.Collections.Generic.IGenericList<IBehaviorProperty>
      • addItem

        public void addItem(IBehaviorProperty item)
        Specified by:
        addItem in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IBehaviorProperty>
      • containsItem

        public boolean containsItem(IBehaviorProperty item)
        Specified by:
        containsItem in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IBehaviorProperty>
      • copyToTArray

        public void copyToTArray(IBehaviorProperty[] array,
                                 int arrayIndex)
        Specified by:
        copyToTArray in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IBehaviorProperty>
      • removeItem

        public boolean removeItem(IBehaviorProperty item)
        Specified by:
        removeItem in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IBehaviorProperty>
      • iteratorJava

        public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IBehaviorProperty> iteratorJava()

        Returns a java iterator for the entire collection.

        Returns:
        An Iterator for the entire collection.