A C D E O P R S T U 
All Classes All Packages

A

AbstractCancellable - Class in com.seiama.event
An abstract implementation of something that can be cancelled.
AbstractCancellable() - Constructor for class com.seiama.event.AbstractCancellable
 
accepts(EventSubscription<? super E>, E, OptionalInt) - Method in class com.seiama.event.bus.SimpleEventBus
 
acceptsCancelled() - Method in interface com.seiama.event.EventConfig
Gets if cancelled events are accepted.
acceptsCancelled() - Method in class com.seiama.event.EventConfigImpl
 
acceptsCancelled(boolean) - Method in interface com.seiama.event.EventConfig
Sets if cancelled events are accepted.

C

Cancellable - Interface in com.seiama.event
Something that can be cancelled.
cancelled - Variable in class com.seiama.event.AbstractCancellable
 
cancelled() - Method in class com.seiama.event.AbstractCancellable
 
cancelled() - Method in interface com.seiama.event.Cancellable
Gets the cancelled state.
cancelled(boolean) - Method in class com.seiama.event.AbstractCancellable
 
cancelled(boolean) - Method in interface com.seiama.event.Cancellable
Sets the cancelled state.
com.seiama.event - module com.seiama.event
 
com.seiama.event - package com.seiama.event
 
com.seiama.event.bus - package com.seiama.event.bus
 
com.seiama.event.registry - package com.seiama.event.registry
 
config() - Method in interface com.seiama.event.EventSubscription
Gets the configuration.

D

DEFAULT_ACCEPTS_CANCELLED - Static variable in interface com.seiama.event.EventConfig
The default value for EventConfig.acceptsCancelled().
DEFAULT_EXACT - Static variable in interface com.seiama.event.EventConfig
The default value for EventConfig.exact().
DEFAULT_ORDER - Static variable in interface com.seiama.event.EventConfig
The default value for EventConfig.order().
defaults() - Static method in interface com.seiama.event.EventConfig
Gets the default configuration.
dispose() - Method in interface com.seiama.event.EventSubscription
Disposes this subscription.

E

event() - Method in interface com.seiama.event.EventSubscription
Gets the event type.
EventBus<E> - Interface in com.seiama.event.bus
An event bus.
EventBus.EventExceptionHandler - Interface in com.seiama.event.bus
An event exception handler.
EventConfig - Interface in com.seiama.event
Event configuration.
EventConfigImpl - Class in com.seiama.event
Implementation of EventConfig.
EventConfigImpl(int, boolean, boolean) - Constructor for class com.seiama.event.EventConfigImpl
Constructs a new EventConfigImpl.
EventConsumer<E> - Interface in com.seiama.event
A functional interface representing an object that can handle a given type of event.
eventExceptionCaught(EventSubscription<? super E>, E, Throwable) - Method in interface com.seiama.event.bus.EventBus.EventExceptionHandler
Handles a caught exception.
EventRegistry<E> - Interface in com.seiama.event.registry
An event registry.
EventSubscriber<E> - Interface in com.seiama.event
A functional interface representing an object that can handle a given type of event.
EventSubscription<E> - Interface in com.seiama.event
A subscription to an event.
exact() - Method in interface com.seiama.event.EventConfig
Gets if only the exact event type is accepted.
exact() - Method in class com.seiama.event.EventConfigImpl
 
exact(boolean) - Method in interface com.seiama.event.EventConfig
Sets if only the exact event type is accepted.
exceptions - Variable in class com.seiama.event.bus.SimpleEventBus
 

O

on(E) - Method in interface com.seiama.event.EventConsumer
Invokes this event consumer.
order() - Method in interface com.seiama.event.EventConfig
Gets the post order.
order() - Method in class com.seiama.event.EventConfigImpl
 
order(int) - Method in interface com.seiama.event.EventConfig
Sets the post order.

P

post(E) - Method in interface com.seiama.event.bus.EventBus
Posts an event to all registered subscribers.
post(E, OptionalInt) - Method in interface com.seiama.event.bus.EventBus
Posts an event to all registered subscribers at the order provided in order.
post(E, OptionalInt) - Method in class com.seiama.event.bus.SimpleEventBus
 

R

registry - Variable in class com.seiama.event.bus.SimpleEventBus
 

S

SimpleEventBus<E> - Class in com.seiama.event.bus
A simple implementation of an event bus.
SimpleEventBus(EventRegistry<E>, EventBus.EventExceptionHandler) - Constructor for class com.seiama.event.bus.SimpleEventBus
Constructs a new SimpleEventBus.
SimpleEventRegistry<E> - Class in com.seiama.event.registry
A simple implementation of an event registry.
SimpleEventRegistry(Class<E>) - Constructor for class com.seiama.event.registry.SimpleEventRegistry
Constructs a new SimpleEventRegistry.
subscribe(Class<T>, EventConfig, EventSubscriber<? super T>) - Method in interface com.seiama.event.registry.EventRegistry
Registers the given subscriber to receive events.
subscribe(Class<T>, EventConfig, EventSubscriber<? super T>) - Method in class com.seiama.event.registry.SimpleEventRegistry
 
subscribe(Class<T>, EventSubscriber<? super T>) - Method in interface com.seiama.event.registry.EventRegistry
Registers the given subscriber to receive events, using the default configuration.
subscribed(Class<? extends E>) - Method in interface com.seiama.event.registry.EventRegistry
Determines whether the specified event has subscribers.
subscriber() - Method in interface com.seiama.event.EventSubscription
Gets the subscriber.
subscriptions(Class<? extends E>) - Method in interface com.seiama.event.registry.EventRegistry
Gets an unmodifiable list containing all subscriptions currently registered for events of type event.
subscriptions(Class<? extends E>) - Method in class com.seiama.event.registry.SimpleEventRegistry
 

T

type() - Method in interface com.seiama.event.registry.EventRegistry
Gets the base event type.
type() - Method in class com.seiama.event.registry.SimpleEventRegistry
 

U

unsubscribeIf(Predicate<EventSubscription<? super E>>) - Method in interface com.seiama.event.registry.EventRegistry
Removes subscriptions matching predicate.
unsubscribeIf(Predicate<EventSubscription<? super E>>) - Method in class com.seiama.event.registry.SimpleEventRegistry
 
A C D E O P R S T U 
All Classes All Packages