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
| Method | Description |
|---|---|
| add | Adds new action into colleciton. |
| clear | Clear collection. |
| contains | Not supported yet. Returns true if give item presents in the collection. |
| copyTo | Copies actions array into collection. |
| delete | Delete all actions. |
| delete | Removes action from collection by index. |
| get_Item | Gets action by its index. |
| getSyncRoot | Gets synchronization object. |
| isReadOnly | Returns true if collection is readonly. |
| isSynchronized | Returns true if object is synchronized. |
| iterator | / * / * Returns enumerator for collection. / * / * / * |
| remove | * Not supported yet. Removes item from collection. |
| size | Count 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:
| Parameter | Type | Description |
|---|---|---|
| index | Index of action to remove. |
get_Item
public PdfAction get_Item(int index)
Gets action by its index.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | Index 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