public class ReflectNotifier extends Object implements EventNotifier, Comparator<ReflectNotifier>
| Modifier and Type | Method and Description |
|---|---|
int |
compare(ReflectNotifier registeredListener,
ReflectNotifier t1) |
Class<? extends Event> |
eventType()
Obtains the class of the event type that this notifier will be calling listeners for
|
void |
handle(Event event)
Notifies the listener
|
Importance |
importance()
Obtains the importance of the event listener
|
int |
index() |
Listener |
listener()
Obtains the instance of the listener which was registered
|
com.esotericsoftware.reflectasm.MethodAccess |
method() |
Plugin |
plugin()
Obtains the plugin that contains the event listener
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic com.esotericsoftware.reflectasm.MethodAccess method()
public int index()
public Plugin plugin()
EventNotifierplugin in interface EventNotifierpublic Class<? extends Event> eventType()
EventNotifiereventType in interface EventNotifierpublic Importance importance()
EventNotifierimportance in interface EventNotifierpublic void handle(Event event)
EventNotifierhandle in interface EventNotifierevent - the event to notify the listenerpublic Listener listener()
EventNotifierlistener in interface EventNotifierpublic int compare(ReflectNotifier registeredListener, ReflectNotifier t1)
compare in interface Comparator<ReflectNotifier>Copyright © 2016. All rights reserved.