public class AppEventManager extends Object implements AppEventSupport
Constructor and Description |
---|
AppEventManager()
The constructor creates a new AppEventManager.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isBound(AppEvent pAppEvent)
Small helper method to check if a given Event-class is bound.
|
void |
postAppEvent(AppEvent pAppEvent)
The method handles first BindEvent/UnbindEvent objects, and
dispatches all other objects to registered targets.
|
public AppEventManager()
public void postAppEvent(AppEvent pAppEvent)
postAppEvent
in interface AppEventSupport
pAppEvent
- the event that should be dispatchedIllegalArgumentException
- if pAppEvent is nullpublic boolean isBound(AppEvent pAppEvent)
pAppEvent
- event that should be checkedIllegalArgumentException
- if pAppEvent is nullCopyright © 2017 Jürgen Zeller (privat). All rights reserved.