Index
All Classes and Interfaces|All Packages
A
- AbstractEventBus - Class in io.github.mmm.event
-
This is the default implementation of
EventBus
. - AbstractEventBus() - Constructor for class io.github.mmm.event.AbstractEventBus
-
The constructor.
- AbstractEventBus(GlobalExceptionHandler) - Constructor for class io.github.mmm.event.AbstractEventBus
-
The constructor.
- AbstractEventBus.EventDispatcher<E> - Class in io.github.mmm.event
-
A dispatcher for all
EventListener
s of a particularevent type
. - AbstractEventSender<E,
L> - Class in io.github.mmm.event -
Implementation of
EventSource
. - AbstractEventSender() - Constructor for class io.github.mmm.event.AbstractEventSender
-
The constructor.
- AbstractEventSource<E,
L> - Class in io.github.mmm.event -
Implementation of
EventSource
. - AbstractEventSource() - Constructor for class io.github.mmm.event.AbstractEventSource
-
The constructor.
- ADD - Enum constant in enum class io.github.mmm.event.ChangeType
-
A change of this type indicates, that something new has been added.
- addListener(EventListener<? super E>) - Method in class io.github.mmm.event.EventSourceAdapter
- addListener(Class<E>, EventListener<E>) - Method in class io.github.mmm.event.AbstractEventBus
- addListener(Class<E>, EventListener<E>) - Method in interface io.github.mmm.event.EventBus
-
This method registers a listener that is interested in events.
- addListener(L) - Method in interface io.github.mmm.event.EventSource
-
Adds an
EventListener
which will be notified whenever the an event occurs (something changes). - addListener(L, boolean) - Method in class io.github.mmm.event.AbstractEventSource
- addListener(L, boolean) - Method in interface io.github.mmm.event.EventSource
-
Adds an
EventListener
which will be notified whenever the an event occurs (something changes). - addWeakListener(L) - Method in interface io.github.mmm.event.EventSource
C
- ChangeType - Enum Class in io.github.mmm.event
-
This enum contains the available types of a change.
D
- dispatchEvent(E) - Method in class io.github.mmm.event.AbstractEventBus
-
Dispatches the given event.
- dispatchEvents() - Method in class io.github.mmm.event.AbstractEventBus
-
Dispatches all events in the event queue.
- doAddListener(EventListener<E>) - Method in class io.github.mmm.event.AbstractEventBus.EventDispatcher
- doAddListener(EventListener<E>) - Method in class io.github.mmm.event.AbstractEventSender
- doAddListener(EventListener<E>) - Method in class io.github.mmm.event.AbstractEventSource
E
- empty() - Static method in class io.github.mmm.event.EventSourceAdapter
- errorHandler - Variable in class io.github.mmm.event.AbstractEventBus
- Event - Search tag in module io.github.mmm.event
- Section
- EventBus - Interface in io.github.mmm.event
-
This is the interface for an event bus.
- EventBusAccess - Class in io.github.mmm.event
-
Class giving
global access
to theEventBus
. - EventDispatcher(AbstractEventBus.EventDispatcher<? super E>) - Constructor for class io.github.mmm.event.AbstractEventBus.EventDispatcher
-
The constructor.
- EventDispatcher(AbstractEventBus.EventDispatcher<? super E>, Collection<EventListener<E>>) - Constructor for class io.github.mmm.event.AbstractEventBus.EventDispatcher
-
The constructor.
- EventListener<E> - Interface in io.github.mmm.event
-
Interface for a generic event listener.
- EventSource<E,
L> - Interface in io.github.mmm.event - EventSourceAdapter<E,
L> - Class in io.github.mmm.event -
Adapter for
EventSource
.
F
- fireEvent(E) - Method in class io.github.mmm.event.AbstractEventBus.EventDispatcher
- fireEvent(E) - Method in class io.github.mmm.event.AbstractEventSender
- fireEvent(E) - Method in class io.github.mmm.event.AbstractEventSource
- fireEvent(E) - Method in class io.github.mmm.event.EventSourceAdapter
G
- get() - Static method in class io.github.mmm.event.EventBusAccess
- getEventAdapter() - Method in class io.github.mmm.event.AbstractEventSender
- getEventDispatcherOrNull(Class<E>) - Method in class io.github.mmm.event.AbstractEventBus
-
Gets the most specific
AbstractEventBus.EventDispatcher
responsible the giveneventType
. - getEventDispatcherRequired(Class<E>) - Method in class io.github.mmm.event.AbstractEventBus
-
Gets or creates the
AbstractEventBus.EventDispatcher
for the giveneventType
. - getListener(int) - Method in class io.github.mmm.event.EventSourceAdapter
- getListenerCount() - Method in class io.github.mmm.event.EventSourceAdapter
- getRawListener(int) - Method in class io.github.mmm.event.EventSourceAdapter
H
- handleUndispatchedEvent(Object) - Method in class io.github.mmm.event.AbstractEventBus
-
Called if an event was
send
but not dispatched to anyregistered listener
. - hasListeners() - Method in class io.github.mmm.event.AbstractEventSender
- hasListeners() - Method in class io.github.mmm.event.EventSourceAdapter
I
- io.github.mmm.event - module io.github.mmm.event
-
Provides generic, reusable infrastructure to define, send and receive events.
- io.github.mmm.event - package io.github.mmm.event
-
Provides the API and base implementation for generic eventing.
- isMatchedUsingEquals() - Method in interface io.github.mmm.event.EventListener
M
- matches(EventListener<?>) - Method in interface io.github.mmm.event.EventListener
O
- onEvent(E) - Method in interface io.github.mmm.event.EventListener
-
This method is called if an event occurred.
R
- REMOVE - Enum constant in enum class io.github.mmm.event.ChangeType
-
A change of this type indicates, that something has been removed.
- removeListener(EventListener<?>) - Method in interface io.github.mmm.event.EventBus
-
This method removes a listener.
- removeListener(EventListener<? super E>) - Method in class io.github.mmm.event.EventSourceAdapter
- removeListener(EventListener<E>) - Method in class io.github.mmm.event.AbstractEventBus.EventDispatcher
- removeListener(Class<E>, EventListener<E>) - Method in class io.github.mmm.event.AbstractEventBus
- removeListener(Class<E>, EventListener<E>) - Method in interface io.github.mmm.event.EventBus
-
This method removes a listener.
- removeListener(L) - Method in class io.github.mmm.event.AbstractEventSender
- removeListener(L) - Method in interface io.github.mmm.event.EventSource
-
This method removes an
EventListener
.
S
- sendEvent(Object) - Method in class io.github.mmm.event.AbstractEventBus
- sendEvent(Object) - Method in interface io.github.mmm.event.EventBus
-
This method sends an event to all
suitable registered listeners
.
T
- triggerDispatchEvents() - Method in class io.github.mmm.event.AbstractEventBus
-
Called from
AbstractEventBus.sendEvent(Object)
to ensureAbstractEventBus.dispatchEvents()
is triggered.
U
- unwrap() - Method in interface io.github.mmm.event.EventListener
- UPDATE - Enum constant in enum class io.github.mmm.event.ChangeType
-
A change of this type indicates, that something that already exists has been updated.
V
- valueOf(String) - Static method in enum class io.github.mmm.event.ChangeType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.mmm.event.ChangeType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- weak(EventSource<E, ?>) - Method in interface io.github.mmm.event.EventListener
All Classes and Interfaces|All Packages