Package | Description |
---|---|
griffon.core.event |
Event support.
|
org.codehaus.griffon.runtime.core.event |
Event publishing implementation [INTERNAL USE].
|
Modifier and Type | Method and Description |
---|---|
<E extends Event> |
EventPublisher.addEventListener(Class<E> eventClass,
CallableWithArgs<?> listener)
Deprecated.
use the
RunnableWithArgs variant instead. |
<E extends Event> |
EventPublisher.addEventListener(Class<E> eventClass,
RunnableWithArgs listener)
Adds a callable as an event listener.
|
<E extends Event> |
EventPublisher.removeEventListener(Class<E> eventClass,
CallableWithArgs<?> listener)
Deprecated.
use the
RunnableWithArgs variant instead. |
<E extends Event> |
EventPublisher.removeEventListener(Class<E> eventClass,
RunnableWithArgs listener)
Removes a callable as an event listener.
|
Modifier and Type | Method and Description |
---|---|
void |
EventPublisher.publishEvent(Event event)
Publishes an event.
|
void |
EventPublisher.publishEventAsync(Event event)
Publishes an event.
|
void |
EventPublisher.publishEventOutsideUI(Event event)
Publishes an event.
|
Modifier and Type | Method and Description |
---|---|
<E extends Event> |
AbstractEventPublisher.addEventListener(Class<E> eventClass,
CallableWithArgs<?> listener) |
<E extends Event> |
AbstractEventRouter.addEventListener(Class<E> eventClass,
CallableWithArgs<?> listener) |
<E extends Event> |
AbstractEventPublisher.addEventListener(Class<E> eventClass,
RunnableWithArgs listener) |
<E extends Event> |
AbstractEventRouter.addEventListener(Class<E> eventClass,
RunnableWithArgs listener) |
<E extends Event> |
AbstractEventPublisher.removeEventListener(Class<E> eventClass,
CallableWithArgs<?> listener) |
<E extends Event> |
AbstractEventRouter.removeEventListener(Class<E> eventClass,
CallableWithArgs<?> listener) |
<E extends Event> |
AbstractEventPublisher.removeEventListener(Class<E> eventClass,
RunnableWithArgs listener) |
<E extends Event> |
AbstractEventRouter.removeEventListener(Class<E> eventClass,
RunnableWithArgs listener) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractEventPublisher.publishEvent(Event event) |
void |
AbstractEventRouter.publishEvent(Event event) |
void |
AbstractEventPublisher.publishEventAsync(Event event) |
void |
AbstractEventRouter.publishEventAsync(Event event) |
void |
AbstractEventPublisher.publishEventOutsideUI(Event event) |
void |
AbstractEventRouter.publishEventOutsideUI(Event event) |