Uses of Class
alexiil.mc.lib.multipart.api.event.MultipartEvent
Package | Description |
---|---|
alexiil.mc.lib.multipart.api |
LibMultiPart's API.
|
alexiil.mc.lib.multipart.api.event | |
alexiil.mc.lib.multipart.api.property |
-
Uses of MultipartEvent in alexiil.mc.lib.multipart.api
Classes in alexiil.mc.lib.multipart.api with type parameters of type MultipartEvent Modifier and Type Class Description static class
MultipartEventBus.ContextlessListener<E extends MultipartEvent & ContextlessEvent>
static class
MultipartEventBus.ExternalListener<E extends MultipartEvent>
static interface
MultipartEventBus.ListenerInfo<E extends MultipartEvent>
Information on a single registered listener.Methods in alexiil.mc.lib.multipart.api with type parameters of type MultipartEvent Modifier and Type Method Description default <E extends MultipartEvent & ContextlessEvent>
MultipartEventBus.ListenerInfo<E>MultipartEventBus. addContextlessListener(Object key, Class<E> clazz, Runnable listener)
Adds a listener for a specifiedMultipartEvent
that also implementsContextlessEvent
with aRunnable
.default <E extends MultipartEvent>
MultipartEventBus.ListenerInfo<E>MultipartEventBus. addExternalListener(Object key, Class<E> clazz, MultipartEventExternalListener<E> listener)
Adds a listener for a specifiedMultipartEvent
(and all of it's subclasses), but also passes theMultipartContainer
that the event was fired from ito the event handler.<E extends MultipartEvent>
MultipartEventBus.ListenerInfo<E>MultipartEventBus. addListener(Object key, Class<E> clazz, EventListener<E> listener)
Adds a listener for a specifiedMultipartEvent
(and all of it's subclasses).default <E extends MultipartEvent & ContextlessEvent>
MultipartEventBus.ListenerInfo<E>MultipartEventBus. addRunOnceListener(Object key, Class<E> clazz, Runnable listener)
Adds a listener for a specifiedMultipartEvent
that also implementsContextlessEvent
with aRunnable
.<E extends MultipartEvent>
List<? extends MultipartEventBus.ListenerInfo<? extends E>>MultipartEventBus. getListeners(Class<E> clazz)
Methods in alexiil.mc.lib.multipart.api that return types with arguments of type MultipartEvent Modifier and Type Method Description List<MultipartEventBus.ListenerInfo<? extends MultipartEvent>>
MultipartEventBus. getListenersForKey(Object key)
Methods in alexiil.mc.lib.multipart.api with parameters of type MultipartEvent Modifier and Type Method Description default boolean
MultipartContainer. fireEvent(MultipartEvent event)
Fires the given event on theMultipartContainer.getEventBus()
viaMultipartEventBus.fireEvent(MultipartEvent)
.boolean
MultipartEventBus. fireEvent(MultipartEvent event)
Fires the given event to all currently registered listeners.Method parameters in alexiil.mc.lib.multipart.api with type arguments of type MultipartEvent Modifier and Type Method Description default boolean
MultipartEventBus. hasAnyListenersFor(Class<? extends MultipartEvent> clazz)
-
Uses of MultipartEvent in alexiil.mc.lib.multipart.api.event
Classes in alexiil.mc.lib.multipart.api.event with type parameters of type MultipartEvent Modifier and Type Interface Description interface
MultipartEventExternalListener<E extends MultipartEvent>
class
PartListenerAdded<E extends MultipartEvent>
Fired wheneverMultipartEventBus.addListener(Object, Class, EventListener)
is called.class
PartListenerRemoved<E extends MultipartEvent>
Fired wheneverMultipartEventBus.removeListeners(Object)
is called. -
Uses of MultipartEvent in alexiil.mc.lib.multipart.api.property
Subclasses of MultipartEvent in alexiil.mc.lib.multipart.api.property Modifier and Type Class Description class
PartPropertyChangedEvent<T>