com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class ActionCollection

    • Method Detail

      • size

        public int size()

        Count of actions on the collection.

        Returns:
        int value
      • isSynchronized

        public boolean isSynchronized()

        Returns true if object is synchronized.

        Returns:
        boolean value
      • getSyncRoot

        public Object getSyncRoot()

        Gets synchronization object.

        Returns:
        Object value
      • isReadOnly

        public boolean isReadOnly()

        Returns true if collection is readonly.

        Returns:
        boolean 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.

      • copyTo

        public void copyTo(PdfAction[] 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.
      • iterator

        public com.aspose.ms.System.Collections.IEnumerator<PdfAction> iterator()

        Returns enumerator for collection.

        Specified by:
        iterator in interface Iterable<PdfAction>
        Returns:
        Collection enumerator.
      • clear

        public void clear()

        Clear collection.

      • contains

        public boolean contains(PdfAction item)
        Not supported yet.

        Returns true if give item presents in the collection.

        Parameters:
        item - PdfAction instance
        Returns:
        boolean value
      • remove

        public boolean remove(PdfAction item)
        * Not supported yet.

        Removes item from collection.

        Parameters:
        item - Item to delete.
        Returns:
        boolean value
      • get_Item

        public PdfAction get_Item(int index)

        Gets action by its index.

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