All Methods Static Methods Instance Methods Abstract Methods Default Methods
Modifier and Type |
Method and Description |
static <T extends Event,U extends T> InputMap<U> |
consume(EventPattern<? super T,? extends U> eventPattern) |
static <T extends Event,U extends T> InputMap<U> |
consume(EventPattern<? super T,? extends U> eventPattern,
Consumer<? super U> action) |
static <T extends Event> InputMap<T> |
consume(EventType<? extends T> eventType) |
static <T extends Event> InputMap<T> |
consume(EventType<? extends T> eventType,
Consumer<? super T> action) |
static <T extends Event,U extends T> InputMap<U> |
consumeUnless(EventPattern<? super T,? extends U> eventPattern,
BooleanSupplier condition,
Consumer<? super U> action) |
static <T extends Event> InputMap<T> |
consumeUnless(EventType<? extends T> eventType,
BooleanSupplier condition,
Consumer<? super T> action) |
static <T extends Event,U extends T> InputMap<U> |
consumeWhen(EventPattern<? super T,? extends U> eventPattern,
BooleanSupplier condition,
Consumer<? super U> action) |
static <T extends Event> InputMap<T> |
consumeWhen(EventType<? extends T> eventType,
BooleanSupplier condition,
Consumer<? super T> action) |
static <E extends Event> InputMap<E> |
empty() |
void |
forEachEventType(InputMap.HandlerConsumer<? super E> f) |
default InputMap<E> |
ifConsumed(Consumer<? super E> postConsumption)
Executes some additional handler if the event was consumed
|
static <T extends Event,U extends T> InputMap<U> |
ignore(EventPattern<? super T,? extends U> eventPattern) |
static <T extends Event> InputMap<T> |
ignore(EventType<? extends T> eventType) |
default InputMap<E> |
orElse(InputMap<? extends E> that) |
static <T extends Event,U extends T> InputMap<U> |
process(EventPattern<? super T,? extends U> eventPattern,
Function<? super U,InputHandler.Result> action) |
static <T extends Event> InputMap<T> |
process(EventType<? extends T> eventType,
Function<? super T,InputHandler.Result> action) |
static <E extends Event> InputMap<E> |
sequence(InputMap<? extends E>... inputMaps) |
static <T extends Event> InputMap<T> |
unless(BooleanSupplier condition,
InputMap<T> im) |
static <E extends Event> InputMap<E> |
upCast(InputMap<? extends E> inputMap) |
static <T extends Event> InputMap<T> |
when(BooleanSupplier condition,
InputMap<T> im) |
default InputMap<E> |
without(InputMap<?> that) |