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 |
createNewInstance()
Creates a new instance of EventManager, it should be used for dedicated event usage.
|
static EventManager |
getInstance()
Allows access to the default 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 EventManager createNewInstance()
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 handlepublic void register(IEventHandler handler)
IEventHandler to the event handling process.handler - is a handler to addpublic boolean isRegistered(IEventHandler handler)
handler - is a handler to checkpublic boolean unregister(IEventHandler handler)
handler - is a handle to removeCopyright © 1998–2026 Apryse Group NV. All rights reserved.