E - type of events that this InputMap may handle.
That is, InputMap<E> certainly does not handle any events that
are not of type E; it does not mean it handles any
event of type E.@FunctionalInterface
public interface InputMap<E extends javafx.event.Event>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
InputMap.HandlerConsumer<E extends javafx.event.Event> |
| Modifier and Type | Method and Description |
|---|---|
static <T extends javafx.event.Event,U extends T> |
consume(EventPattern<? super T,? extends U> eventPattern) |
static <T extends javafx.event.Event,U extends T> |
consume(EventPattern<? super T,? extends U> eventPattern,
java.util.function.Consumer<? super U> action) |
static <T extends javafx.event.Event> |
consume(javafx.event.EventType<? extends T> eventType) |
static <T extends javafx.event.Event> |
consume(javafx.event.EventType<? extends T> eventType,
java.util.function.Consumer<? super T> action) |
static <T extends javafx.event.Event,U extends T> |
consumeUnless(EventPattern<? super T,? extends U> eventPattern,
java.util.function.BooleanSupplier condition,
java.util.function.Consumer<? super U> action) |
static <T extends javafx.event.Event> |
consumeUnless(javafx.event.EventType<? extends T> eventType,
java.util.function.BooleanSupplier condition,
java.util.function.Consumer<? super T> action) |
static <T extends javafx.event.Event,U extends T> |
consumeWhen(EventPattern<? super T,? extends U> eventPattern,
java.util.function.BooleanSupplier condition,
java.util.function.Consumer<? super U> action) |
static <T extends javafx.event.Event> |
consumeWhen(javafx.event.EventType<? extends T> eventType,
java.util.function.BooleanSupplier condition,
java.util.function.Consumer<? super T> action) |
static <E extends javafx.event.Event> |
empty() |
void |
forEachEventType(InputMap.HandlerConsumer<? super E> f) |
static <T extends javafx.event.Event,U extends T> |
ignore(EventPattern<? super T,? extends U> eventPattern) |
static <T extends javafx.event.Event> |
ignore(javafx.event.EventType<? extends T> eventType) |
default InputMap<E> |
orElse(InputMap<? extends E> that) |
static <T extends javafx.event.Event,U extends T> |
process(EventPattern<? super T,? extends U> eventPattern,
java.util.function.Function<? super U,InputHandler.Result> action) |
static <T extends javafx.event.Event> |
process(javafx.event.EventType<? extends T> eventType,
java.util.function.Function<? super T,InputHandler.Result> action) |
static <E extends javafx.event.Event> |
sequence(InputMap<? extends E>... inputMaps) |
static <T extends javafx.event.Event> |
unless(java.util.function.BooleanSupplier condition,
InputMap<T> im) |
static <E extends javafx.event.Event> |
upCast(InputMap<? extends E> inputMap) |
static <T extends javafx.event.Event> |
when(java.util.function.BooleanSupplier condition,
InputMap<T> im) |
default InputMap<E> |
without(InputMap<?> that) |
static final InputMap<?> EMPTY
static <E extends javafx.event.Event> InputMap<E> empty()
void forEachEventType(InputMap.HandlerConsumer<? super E> f)
@SafeVarargs static <E extends javafx.event.Event> InputMap<E> sequence(InputMap<? extends E>... inputMaps)
static <T extends javafx.event.Event,U extends T> InputMap<U> process(EventPattern<? super T,? extends U> eventPattern, java.util.function.Function<? super U,InputHandler.Result> action)
static <T extends javafx.event.Event> InputMap<T> process(javafx.event.EventType<? extends T> eventType, java.util.function.Function<? super T,InputHandler.Result> action)
static <T extends javafx.event.Event,U extends T> InputMap<U> consume(EventPattern<? super T,? extends U> eventPattern, java.util.function.Consumer<? super U> action)
static <T extends javafx.event.Event> InputMap<T> consume(javafx.event.EventType<? extends T> eventType, java.util.function.Consumer<? super T> action)
static <T extends javafx.event.Event,U extends T> InputMap<U> consume(EventPattern<? super T,? extends U> eventPattern)
static <T extends javafx.event.Event> InputMap<T> consume(javafx.event.EventType<? extends T> eventType)
static <T extends javafx.event.Event,U extends T> InputMap<U> consumeWhen(EventPattern<? super T,? extends U> eventPattern, java.util.function.BooleanSupplier condition, java.util.function.Consumer<? super U> action)
static <T extends javafx.event.Event> InputMap<T> consumeWhen(javafx.event.EventType<? extends T> eventType, java.util.function.BooleanSupplier condition, java.util.function.Consumer<? super T> action)
static <T extends javafx.event.Event,U extends T> InputMap<U> consumeUnless(EventPattern<? super T,? extends U> eventPattern, java.util.function.BooleanSupplier condition, java.util.function.Consumer<? super U> action)
static <T extends javafx.event.Event> InputMap<T> consumeUnless(javafx.event.EventType<? extends T> eventType, java.util.function.BooleanSupplier condition, java.util.function.Consumer<? super T> action)
static <T extends javafx.event.Event,U extends T> InputMap<U> ignore(EventPattern<? super T,? extends U> eventPattern)
static <T extends javafx.event.Event> InputMap<T> ignore(javafx.event.EventType<? extends T> eventType)
static <T extends javafx.event.Event> InputMap<T> when(java.util.function.BooleanSupplier condition, InputMap<T> im)