com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class BehaviorPropertyCollection

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void add(IBehaviorProperty item)
      Adds a new property to the collection.
      void add(java.lang.String propertyValue)
      Adds a new property to the collection.
      void addItem(IBehaviorProperty item) 
      void clear()
      Removes all properties from the collection.
      boolean contains(IBehaviorProperty item)
      Determines whether the System.Collections.Generic.ICollection`1 contains a specific value.
      boolean contains(java.lang.String propertyValue)
      Determines whether the System.Collections.Generic.ICollection`1 contains a specific value.
      boolean containsItem(IBehaviorProperty item) 
      void copyTo(IBehaviorProperty[] array, int arrayIndex)
      Copies the elements of the System.Collections.Generic.ICollection`1 to an Array, starting at a particular Array index.
      void copyToTArray(IBehaviorProperty[] array, int arrayIndex) 
      IBehaviorProperty get_Item(int index)
      Returns a property at the specified index.
      int indexOf(IBehaviorProperty item)
      Determines the index of a specific item in the System.Collections.Generic.IList`1.
      int indexOf(java.lang.String propertyValue)
      Determines the index of a specific item by property value in the System.Collections.Generic.IList`1.
      int indexOfItem(IBehaviorProperty item) 
      void insert(int index, IBehaviorProperty item)
      Inserts a new property to the collection at the specified index.
      void insert(int index, java.lang.String propertyValue)
      Inserts a new property (with the specified property value) to the collection at the specified index.
      void insertItem(int index, IBehaviorProperty item) 
      boolean isReadOnly()
      Gets a value indicating whether the System.Collections.Generic.ICollection`1 is read-only.
      com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IBehaviorProperty> iterator()
      Returns an enumerator that iterates through the collection.
      com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IBehaviorProperty> iteratorJava()
      Returns a java iterator for the entire collection.
      boolean remove(IBehaviorProperty item)
      Removes specified property from the collection.
      boolean remove(java.lang.String propertyValue)
      Removes specified property from the collection.
      void removeAt(int index)
      Removes property at the specified index.
      boolean removeItem(IBehaviorProperty item) 
      void set_Item(int index, IBehaviorProperty value)
      Sets a property at the specified index.
      int size()
      Returns the number of properties stored in the collection.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • 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 System.Collections.Generic.ICollection`1 is read-only. Read-only boolean.

        Specified by:
        isReadOnly in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IBehaviorProperty>
        Returns:
        true if the System.Collections.Generic.ICollection`1 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 System.Collections.Generic.IList`1.

        Parameters:
        item - The object to locate in the System.Collections.Generic.IList`1.
        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 System.Collections.Generic.IList`1.

        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 System.Collections.Generic.ICollection`1 to an Array, starting at a particular Array index.

        Parameters:
        array - The one-dimensional Array that is the destination of the elements copied from System.Collections.Generic.ICollection`1. 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 System.Collections.Generic.ICollection`1 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.
      • 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>
      • contains

        public final boolean contains(IBehaviorProperty item)

        Determines whether the System.Collections.Generic.ICollection`1 contains a specific value.

        Parameters:
        item - The property to locate in the System.Collections.Generic.ICollection`1.
        Returns:
        true if item is found in the System.Collections.Generic.ICollection`1; otherwise, false.
      • contains

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

        Determines whether the System.Collections.Generic.ICollection`1 contains a specific value.

        Specified by:
        contains in interface IBehaviorPropertyCollection
        Parameters:
        propertyValue - Value of the property to locate in the System.Collections.Generic.ICollection`1.
        Returns:
        true if propertyValue is found in the System.Collections.Generic.ICollection`1; otherwise, false.
      • 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 System.Collections.Generic.IEnumerator`1 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.