A B C D E F G H L M N O P R V 

A

add(Class<? extends Event>) - Method in class org.timothyb89.eventbus.EventBus
Defines a new event type.
add(EventQueueEntry) - Method in class org.timothyb89.eventbus.EventQueueDefinition
Registers the given entry for events.

B

bus() - Method in interface org.timothyb89.eventbus.EventBusProvider
Gets the EventBusClient for this ClientSession, which allows other classes to register themselves to receive event notifications.

C

compare(T, T) - Method in class org.timothyb89.eventbus.EventQueueDefinition.ReverseNaturalComparator
 
compareTo(EventQueueEntry) - Method in class org.timothyb89.eventbus.EventQueueEntry
 
ContextualEvent<T> - Class in org.timothyb89.eventbus
Defines an Event that occurs within some (generic) context.
ContextualEvent(T) - Constructor for class org.timothyb89.eventbus.ContextualEvent
 

D

Demo - Class in org.timothyb89.eventbus.demo
A simple harness class for the DemoEmitter and DemoReceiver.
Demo() - Constructor for class org.timothyb89.eventbus.demo.Demo
 
DemoEmitter - Class in org.timothyb89.eventbus.demo
A sample implementation of an object that uses an EventBus to provide notification functionality.
DemoEmitter() - Constructor for class org.timothyb89.eventbus.demo.DemoEmitter
 
DemoEmitter.DemoEventA - Class in org.timothyb89.eventbus.demo
 
DemoEmitter.DemoEventA(String) - Constructor for class org.timothyb89.eventbus.demo.DemoEmitter.DemoEventA
 
DemoEmitter.DemoEventAB - Class in org.timothyb89.eventbus.demo
 
DemoEmitter.DemoEventAB(String, String) - Constructor for class org.timothyb89.eventbus.demo.DemoEmitter.DemoEventAB
 
DemoEmitter.DemoEventB - Class in org.timothyb89.eventbus.demo
 
DemoEmitter.DemoEventB(int) - Constructor for class org.timothyb89.eventbus.demo.DemoEmitter.DemoEventB
 
DemoReceiver - Class in org.timothyb89.eventbus.demo
A simple receiver class for events emitted by DemoEmitter
DemoReceiver() - Constructor for class org.timothyb89.eventbus.demo.DemoReceiver
 
deregister(Object) - Method in class org.timothyb89.eventbus.EventBus
Removes the given object from all event queues that it may be a member of.
deregister(Object) - Method in class org.timothyb89.eventbus.EventBusClient
Removes the given object from any event queues that it may be a member of.

E

Event - Class in org.timothyb89.eventbus
Defines an abstract event.
Event() - Constructor for class org.timothyb89.eventbus.Event
 
EventBus - Class in org.timothyb89.eventbus
Defines an event bus that handles the dispatching of events to client classes.
EventBus() - Constructor for class org.timothyb89.eventbus.EventBus
 
EventBusClient - Class in org.timothyb89.eventbus
Provides client-level access to an EventBus.
EventBusClient(EventBus) - Constructor for class org.timothyb89.eventbus.EventBusClient
 
EventBusProvider - Interface in org.timothyb89.eventbus
A simple denotation that a particular class has an event bus that can be used by client classes.
EventHandler - Annotation Type in org.timothyb89.eventbus
Defines a flag for a method that allows it to receive events
EventPriority - Class in org.timothyb89.eventbus
Defines basic event levels.
EventPriority() - Constructor for class org.timothyb89.eventbus.EventPriority
 
EventQueueDefinition - Class in org.timothyb89.eventbus
Defines an event queue which contains multiple priority-specific event handler sinks.
EventQueueDefinition(Class<? extends Event>) - Constructor for class org.timothyb89.eventbus.EventQueueDefinition
 
EventQueueDefinition.ReverseNaturalComparator<T extends Comparable> - Class in org.timothyb89.eventbus
 
EventQueueDefinition.ReverseNaturalComparator() - Constructor for class org.timothyb89.eventbus.EventQueueDefinition.ReverseNaturalComparator
 
EventQueueEntry - Class in org.timothyb89.eventbus
Defines an entry in the event queue for a specific event type.
EventQueueEntry(Object, Method, int, boolean) - Constructor for class org.timothyb89.eventbus.EventQueueEntry
 
EventScanMode - Annotation Type in org.timothyb89.eventbus
A simple mark that a class should have detailed scanning enabled.
EventScanType - Enum in org.timothyb89.eventbus
 
EventVetoException - Exception in org.timothyb89.eventbus
Defines an exception that will cause the event bus to stop processing further events within the event queue for a particular event type.
EventVetoException() - Constructor for exception org.timothyb89.eventbus.EventVetoException
 
EventVetoException(String) - Constructor for exception org.timothyb89.eventbus.EventVetoException
 
EventVetoException(Throwable) - Constructor for exception org.timothyb89.eventbus.EventVetoException
 
EventVetoException(String, Throwable) - Constructor for exception org.timothyb89.eventbus.EventVetoException
 

F

fireA(String) - Method in class org.timothyb89.eventbus.demo.DemoEmitter
 
fireAB(String, String) - Method in class org.timothyb89.eventbus.demo.DemoEmitter
 
fireB(int) - Method in class org.timothyb89.eventbus.demo.DemoEmitter
 

G

getQueueForClass(Class<? extends Event>) - Method in class org.timothyb89.eventbus.EventBus
Gets the EventQueueDefinition for the given class.

H

HIGH - Static variable in class org.timothyb89.eventbus.EventPriority
 
HIGHER - Static variable in class org.timothyb89.eventbus.EventPriority
 
HIGHEST - Static variable in class org.timothyb89.eventbus.EventPriority
 

L

LOW - Static variable in class org.timothyb89.eventbus.EventPriority
 
LOWER - Static variable in class org.timothyb89.eventbus.EventPriority
 
LOWEST - Static variable in class org.timothyb89.eventbus.EventPriority
 

M

main(String[]) - Static method in class org.timothyb89.eventbus.demo.Demo
 

N

NORMAL - Static variable in class org.timothyb89.eventbus.EventPriority
 
notify(Event) - Method in class org.timothyb89.eventbus.EventQueueEntry
Notifies this queue entry of an event.

O

onEventAB(DemoEmitter.DemoEventAB) - Method in class org.timothyb89.eventbus.demo.DemoReceiver
 
onEventAHigh(DemoEmitter.DemoEventA) - Method in class org.timothyb89.eventbus.demo.DemoReceiver
 
onEventALow(DemoEmitter.DemoEventA) - Method in class org.timothyb89.eventbus.demo.DemoReceiver
 
onEventB(DemoEmitter.DemoEventB) - Method in class org.timothyb89.eventbus.demo.DemoReceiver
 
org.timothyb89.eventbus - package org.timothyb89.eventbus
 
org.timothyb89.eventbus.demo - package org.timothyb89.eventbus.demo
 

P

push(Event) - Method in class org.timothyb89.eventbus.EventBus
Pushes the given event to the message bus.
push(Event, int) - Method in class org.timothyb89.eventbus.EventBus
Pushes the given event to the bus, but only notifies those with a priority flag greater than or equal to the given priority.
push(Event) - Method in class org.timothyb89.eventbus.EventQueueDefinition
Notifies entries in the event queue of the given event.
push(Event, int) - Method in class org.timothyb89.eventbus.EventQueueDefinition
Notifies entries in the event queue with the given minimum priority.

R

register(Object) - Method in class org.timothyb89.eventbus.EventBus
Attempts to register all methods of the given object annotated with EventHandler to receive events from this bus.
register(Object) - Method in class org.timothyb89.eventbus.EventBusClient
Registers all methods of the given object annotated with EventHandler.
registerMethod(Object, Method, int, boolean) - Method in class org.timothyb89.eventbus.EventBus
Registers the given method to the event bus.
remove(Class<? extends Event>) - Method in class org.timothyb89.eventbus.EventBus
Removes the event queue for the given class.
remove(EventQueueEntry) - Method in class org.timothyb89.eventbus.EventQueueDefinition
Removes the given queue entry from the notification list.
removeAll(Object) - Method in class org.timothyb89.eventbus.EventQueueDefinition
Removes all handler methods in the given object from notifications by this queue.

V

valueOf(String) - Static method in enum org.timothyb89.eventbus.EventScanType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.timothyb89.eventbus.EventScanType
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H L M N O P R V 

Copyright © 2014. All rights reserved.