com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class ActionCollection

  • All Implemented Interfaces:
    com.aspose.ms.System.Collections.ICollection, com.aspose.ms.System.Collections.IEnumerable, Iterable


    public final class ActionCollection
    extends Object
    implements com.aspose.ms.System.Collections.ICollection

    Collection of actions

    • Method Detail

      • size

        public int size()

        Count of actions on the collection.

        Specified by:
        size in interface com.aspose.ms.System.Collections.ICollection
        Returns:
        int value
      • isSynchronized

        public boolean isSynchronized()

        Returns true if object is synchronized.

        Specified by:
        isSynchronized in interface com.aspose.ms.System.Collections.ICollection
        Returns:
        boolean value
      • getSyncRoot

        public Object getSyncRoot()

        Gets synchronization object.

        Specified by:
        getSyncRoot in interface com.aspose.ms.System.Collections.ICollection
        Returns:
        Object value
      • add

        public void add(PdfAction action)

        Adds new action into colleciton.

        Parameters:
        action - Action which should be added.
      • delete

        public void delete(int index)

        Removes action from collection by index.

        Parameters:
        index - Index of action to remove.
      • delete

        public void delete()

        Delete all actions.

      • iterator

        public com.aspose.ms.System.Collections.IEnumerator iterator()

        Returns enumerator for collection.

        Specified by:
        iterator in interface com.aspose.ms.System.Collections.IEnumerable
        Specified by:
        iterator in interface Iterable
        Returns:
        Collection enumerator.
      • get_Item

        public PdfAction get_Item(int index)

        Gets action by its index.

        Parameters:
        index - Index of action.
        Returns:
        Retreived action.
      • copyTo

        public void copyTo(com.aspose.ms.System.Array array,
                  int index)

        Copies actions array into collection.

        Specified by:
        copyTo in interface com.aspose.ms.System.Collections.ICollection
        Parameters:
        array - Array of actions which must be copied into collection.
        index - Index starting from which array will be copied.
      • copyTo

        public void copyTo(Object[] array,
                  int index)

        Copies actions array into collection.

        Parameters:
        array - Array of actions which must be copied into collection.
        index - Index starting from which array will be copied.