Interface | Description |
---|---|
ActEventListener<EVENT_TYPE extends EventObject> | |
OnceEventListener<EVENT_TYPE extends EventObject> |
OnceEventListener handle event and return a boolean value indicate if the event is handled or not |
SimpleEventListener |
A SimpleEventListener interface is designed to let the framework support simple event handling mechanism, which is summarized as below:
|
SystemEvent |
A tag to mark an event class is defined by Act or plugin
|
Class | Description |
---|---|
ActEvent<T> |
An
ActEvent is a generic version of EventObject |
ActEventListenerBase<EVENT_TYPE extends EventObject> | |
EventBus |
The event bus manages event binding and distribution.
|
EventListenerClassFinder | |
OnceEventListenerBase<EVENT_TYPE extends EventObject> | |
SysEventListenerBase<EVENT_TYPE extends SysEvent> |
Annotation Type | Description |
---|---|
BindOn |
Specify the time to bind an
ActEventListener to corresponding ActEvent |
On |
Mark a method to be an adhoc event handler
|
OnClass | Deprecated |
OnEvent |
Mark a method to be an adhoc event handler for a certain event type The event type is inferred from the method signature
|
SimpleEventListener.Marker |
Mark a custom annotation type as event handler method marker.
|
Copyright © 2014–2018 ActFramework. All rights reserved.