Index

A C D E G H I L N P R S U V 
All Classes and Interfaces|All Packages|Constant Field Values

A

AbstractEvent<T> - Class in de.florianmichael.dietrichevents2
This class represents an event.
AbstractEvent() - Constructor for class de.florianmichael.dietrichevents2.AbstractEvent
 

C

call(T) - Method in class de.florianmichael.dietrichevents2.AbstractEvent
Calls the listener.
cancel() - Method in class de.florianmichael.dietrichevents2.CancellableEvent
Cancels the event.
CancellableEvent<T> - Class in de.florianmichael.dietrichevents2
This class represents an event that can be cancelled.
CancellableEvent() - Constructor for class de.florianmichael.dietrichevents2.CancellableEvent
 

D

de.florianmichael.dietrichevents2 - package de.florianmichael.dietrichevents2
 
DietrichEvents2 - Class in de.florianmichael.dietrichevents2
This class is the main class of DietrichEvents2.
DietrichEvents2(int, Consumer<Throwable>) - Constructor for class de.florianmichael.dietrichevents2.DietrichEvents2
Creates a new instance of DietrichEvents2.

E

errorHandler - Variable in class de.florianmichael.dietrichevents2.DietrichEvents2
The errorHandler consumer will be called when an exception is thrown in a subscriber.
EventStateType - Enum Class in de.florianmichael.dietrichevents2
This class is optional and does not have to be used

G

global() - Static method in class de.florianmichael.dietrichevents2.DietrichEvents2
 

H

hasSubscriber(int) - Method in class de.florianmichael.dietrichevents2.DietrichEvents2
 
HIGH - Static variable in class de.florianmichael.dietrichevents2.Priorities
 
HIGHEST - Static variable in class de.florianmichael.dietrichevents2.Priorities
 

I

isCancelled() - Method in class de.florianmichael.dietrichevents2.CancellableEvent
 

L

LOW - Static variable in class de.florianmichael.dietrichevents2.Priorities
 
LOWEST - Static variable in class de.florianmichael.dietrichevents2.Priorities
 

N

NORMAL - Static variable in class de.florianmichael.dietrichevents2.Priorities
 

P

post(int, AbstractEvent) - Method in class de.florianmichael.dietrichevents2.DietrichEvents2
This method is the recommended method for event calling, it calls the postInternal method but has some sanity checks and calls the errorHandler if an error occurs.
POST - Enum constant in enum class de.florianmichael.dietrichevents2.EventStateType
 
POST_POST - Enum constant in enum class de.florianmichael.dietrichevents2.EventStateType
 
postInternal(int, AbstractEvent) - Method in class de.florianmichael.dietrichevents2.DietrichEvents2
This method calls all events, with the difference that it has no sanity checks for errors.
PRE - Enum constant in enum class de.florianmichael.dietrichevents2.EventStateType
 
PRE_PRE - Enum constant in enum class de.florianmichael.dietrichevents2.EventStateType
 
Priorities - Class in de.florianmichael.dietrichevents2
This class is optional and does not have to be used
Priorities() - Constructor for class de.florianmichael.dietrichevents2.Priorities
 

R

resizeArrays(int) - Method in class de.florianmichael.dietrichevents2.DietrichEvents2
Internal method that automatically resizes the array with all subscribers, this method should never be called simply because the event system calls it itself.

S

setCancelled(boolean) - Method in class de.florianmichael.dietrichevents2.CancellableEvent
 
subscribe(int, Object) - Method in class de.florianmichael.dietrichevents2.DietrichEvents2
Subscribes a listener with the given ID to the given class, can be called multiple times.
subscribe(int, Object, int) - Method in class de.florianmichael.dietrichevents2.DietrichEvents2
Subscribes a listener with the given ID to the given class, can be called multiple times.

U

unsubscribe(int, Object) - Method in class de.florianmichael.dietrichevents2.DietrichEvents2
Unsubscribes a listener with the given ID from the given class, can be called multiple times.

V

valueOf(String) - Static method in enum class de.florianmichael.dietrichevents2.EventStateType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class de.florianmichael.dietrichevents2.EventStateType
Returns an array containing the constants of this enum class, in the order they are declared.
A C D E G H I L N P R S U V 
All Classes and Interfaces|All Packages|Constant Field Values