public final class EventManager extends Object
getInstance().
| Modifier and Type | Method and Description |
|---|---|
static void |
acknowledgeAgplUsageDisableWarningMessage()
Deliberately turns off the warning message about AGPL usage.
|
static EventManager |
getInstance()
Allows an access to the instance of EventManager.
|
boolean |
isRegistered(IEventHandler handler)
Check if the handler was registered for event handling process.
|
void |
onEvent(IEvent event)
Handles the event.
|
void |
register(IEventHandler handler)
Add new IEventHandler to the event handling process.
|
boolean |
unregister(IEventHandler handler)
Removes handler from event handling process.
|
public static EventManager getInstance()
public static void acknowledgeAgplUsageDisableWarningMessage()
Important note. Calling of this method means that the terms of AGPL license are met.
public void onEvent(IEvent event)
event - to handle
public void register(IEventHandler handler)
IEventHandler to the event handling process.
handler - is a handler to add
public boolean isRegistered(IEventHandler handler)
handler - is a handler to check
public boolean unregister(IEventHandler handler)
handler - is a handle to remove
Copyright © 1998–2022 iText Group NV. All rights reserved.