com.aspose.ms.System.MulticastDelegate>
Contents
[
Hide
]Inheritance:
java.lang.Object, com.aspose.pdf.PdfEvent
public abstract class PdfEvent<T extends com.aspose.ms.System.MulticastDelegate> extends Object
Class representing events
Constructors
| Constructor | Description |
|---|---|
| PdfEvent |
Methods
| Method | Description |
|---|---|
| add | Add one more delegate. |
| assign | Add only the current delegate, clearing other. |
| clear | Clear delegate list |
| isEmpty | Returns true if the list of handlers is empty |
| remove | Delete delegate from list |
PdfEvent
public PdfEvent()
add
public final void add( T delegate)
Add one more delegate.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| delegate | Handlers object |
assign
public final void assign( T delegate)
Add only the current delegate, clearing other.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| delegate | Handlers object |
clear
public final void clear()
Clear delegate list
isEmpty
public boolean isEmpty()
Returns true if the list of handlers is empty
Returns: boolean value
remove
public final void remove( T delegate)
Delete delegate from list
Parameters:
| Parameter | Type | Description |
|---|---|---|
| delegate | Handlers object |