ActionCollection

Inheritance: java.lang.Object, com.aspose.pdf.ActionCollection

All Implemented Interfaces: Iterable < PdfAction >

public final class ActionCollection extends Object implements Iterable < PdfAction >

Collection of actions

Methods

MethodDescription
addAdds new action into colleciton.
clearClear collection.
containsNot supported yet. Returns true if give item presents in the collection.
copyToCopies actions array into collection.
deleteDelete all actions.
deleteRemoves action from collection by index.
get_ItemGets action by its index.
getSyncRootGets synchronization object.
isReadOnlyReturns true if collection is readonly.
isSynchronizedReturns true if object is synchronized.
iterator/ * / * Returns enumerator for collection. / * / * / *
remove* Not supported yet. Removes item from collection.
sizeCount of actions on the collection.

add

Adds new action into colleciton.

clear

public void clear()

Clear collection.

contains

Not supported yet. Returns true if give item presents in the collection.

copyTo

Copies actions array into collection.

delete

public void delete()

Delete all actions.

delete

public void delete(int index)

Removes action from collection by index.

Parameters:

ParameterTypeDescription
indexIndex of action to remove.

get_Item

public PdfAction get_Item(int index)

Gets action by its index.

Parameters:

ParameterTypeDescription
indexIndex of action.

Returns: Retreived action.

getSyncRoot

public Object getSyncRoot()

Gets synchronization object.

Returns: Object value

isReadOnly

public boolean isReadOnly()

Returns true if collection is readonly.

Returns: boolean value

isSynchronized

public boolean isSynchronized()

Returns true if object is synchronized.

Returns: boolean value

iterator

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

/ * / * Returns enumerator for collection. / * / * / *

Returns: Collection enumerator. /

remove

  • Not supported yet. Removes item from collection.

size

public int size()

Count of actions on the collection.

Returns: int value