com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IBehaviorCollection

  • All Superinterfaces:
    com.aspose.ms.System.Collections.IEnumerable<IBehavior>, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IBehavior>, java.lang.Iterable<IBehavior>
    All Known Implementing Classes:
    BehaviorCollection


    public interface IBehaviorCollection
    extends com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IBehavior>

    Represents collection of behavior effects.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void add(IBehavior item)
      Add new behavior to a collection.
      void clear()
      Removes all behaviors from a collection.
      boolean contains(IBehavior item)
      Determines whether the System.Collections.Generic.ICollection`1 contains a specific value.
      IBehavior get_Item(int index)
      Returns a behavior at the specified index.
      int getCount()
      Returns the number of behaviors in a collection.
      int indexOf(IBehavior item)
      Determines the index of a specific item in the System.Collections.Generic.IList`1.
      void insert(int index, IBehavior item)
      Inserts new behavior to a collection at the specified index.
      boolean remove(IBehavior item)
      Removes specified behavior from a collection.
      void removeAt(int index)
      Removes behavior from a collection at the specified index.
      void set_Item(int index, IBehavior value)
      Returns a behavior at the specified index.
      • Methods inherited from interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable

        iterator
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Method Detail

      • get_Item

        IBehavior get_Item(int index)

        Returns a behavior at the specified index.

        Parameters:
        index - Index of a behavior to return.
        Returns:
        Animation behavior.
      • set_Item

        void set_Item(int index,
                      IBehavior value)

        Returns a behavior at the specified index.

        Parameters:
        index - Index of a behavior to return.
      • getCount

        int getCount()

        Returns the number of behaviors in a collection. Read-only int.

      • add

        void add(IBehavior item)

        Add new behavior to a collection.

        Parameters:
        item - Behavior to add.
      • indexOf

        int indexOf(IBehavior 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.
      • insert

        void insert(int index,
                    IBehavior item)

        Inserts new behavior to a collection at the specified index.

        Parameters:
        index - Index where new behavior should be inserted.
        item - Behavior to insert.
      • remove

        boolean remove(IBehavior item)

        Removes specified behavior from a collection.

        Parameters:
        item - Behavior to remove.
        Returns:
        True if a behavior removed successfully boolean
      • removeAt

        void removeAt(int index)

        Removes behavior from a collection at the specified index.

        Parameters:
        index - Index of a behavior to remove.
      • clear

        void clear()

        Removes all behaviors from a collection.

      • contains

        boolean contains(IBehavior item)

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

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