Skip navigation links
A C D E F G H I K L M N O P R S U V W 

A

accept(EventType<? extends F>, InputHandler<? super F>) - Method in interface org.fxmisc.wellbehaved.event.InputMap.HandlerConsumer
 
accept(EventType<? extends F>, InputHandlerTemplate<S, ? super F>) - Method in interface org.fxmisc.wellbehaved.event.template.InputMapTemplate.HandlerTemplateConsumer
 
addFallbackInputMap(Node, InputMap<?>) - Static method in class org.fxmisc.wellbehaved.event.Nodes
Adds the given input map to the end of the node's list of input maps, so that an event will be pattern-matched against all other input maps currently "installed" in the node before being pattern-matched against the given input map.
addInputMap(Node, InputMap<?>) - Static method in class org.fxmisc.wellbehaved.event.Nodes
Adds the given input map to the start of the node's list of input maps, so that an event will be pattern-matched against the given input map before being pattern-matched against any other input maps currently "installed" in the node.
ALL_MODIFIERS_AS_ANY - Static variable in interface org.fxmisc.wellbehaved.event.EventPattern
 
andThen(EventPattern<? super U, V>) - Method in interface org.fxmisc.wellbehaved.event.EventPattern
Returns an EventPattern that matches the given event type only when this event pattern matches it and the next EventPattern matches it.
anyOf(EventPattern<T, ? extends U>...) - Static method in interface org.fxmisc.wellbehaved.event.EventPattern
Returns an EventPattern that matches the given event type when any of the given EventPatterns match the given event type; useful when one wants to specify the same behavior for a variety of events (i.e.

C

commonPrefix(K, K) - Method in interface org.fxmisc.wellbehaved.event.internal.PrefixTree.Ops
 
consume(EventPattern<? super T, ? extends U>, Consumer<? super U>) - Static method in interface org.fxmisc.wellbehaved.event.InputMap
If the given EventPattern matches the given event type, runs the given action, consumes the event, and does not attempt to match additional InputMaps (if they exist).
consume(EventType<? extends T>, Consumer<? super T>) - Static method in interface org.fxmisc.wellbehaved.event.InputMap
When the given event type occurs, runs the given action, consumes the event, and does not attempt to match additional InputMaps (if they exist).
consume(EventPattern<? super T, ? extends U>) - Static method in interface org.fxmisc.wellbehaved.event.InputMap
If the given EventPattern matches the given event type, consumes the event and does not attempt to match additional InputMaps (if they exist).
consume(EventType<? extends T>) - Static method in interface org.fxmisc.wellbehaved.event.InputMap
When the given event type occurs, consumes the event and does not attempt to match additional InputMaps (if they exist).
consume(EventPattern<? super T, ? extends U>, BiConsumer<? super S, ? super U>) - Static method in class org.fxmisc.wellbehaved.event.template.InputMapTemplate
If the given EventPattern matches the given event type, runs the given action, consumes the event, and does not attempt to match additional InputMaps (if they exist).
consume(EventType<? extends T>, BiConsumer<? super S, ? super T>) - Static method in class org.fxmisc.wellbehaved.event.template.InputMapTemplate
When the given event type occurs, runs the given action, consumes the event, and does not attempt to match additional InputMaps (if they exist).
consume(EventPattern<? super T, ? extends U>) - Static method in class org.fxmisc.wellbehaved.event.template.InputMapTemplate
If the given EventPattern matches the given event type, consumes the event and does not attempt to match additional InputMaps (if they exist).
consume(EventType<? extends T>) - Static method in class org.fxmisc.wellbehaved.event.template.InputMapTemplate
When the given event type occurs, consumes the event and does not attempt to match additional InputMaps (if they exist).
consumeUnless(EventPattern<? super T, ? extends U>, BooleanSupplier, Consumer<? super U>) - Static method in interface org.fxmisc.wellbehaved.event.InputMap
If the given EventPattern matches the given event type and condition is false, consumes the event and does not attempt to match additional InputMaps (if they exist).
consumeUnless(EventType<? extends T>, BooleanSupplier, Consumer<? super T>) - Static method in interface org.fxmisc.wellbehaved.event.InputMap
When the given event type occurs and condition is false, consumes the event and does not attempt to match additional InputMaps (if they exist).
consumeUnless(EventPattern<? super T, ? extends U>, Predicate<? super S>, BiConsumer<? super S, ? super U>) - Static method in class org.fxmisc.wellbehaved.event.template.InputMapTemplate
If the given EventPattern matches the given event type and condition is false, consumes the event and does not attempt to match additional InputMaps (if they exist).
consumeUnless(EventType<? extends T>, Predicate<? super S>, BiConsumer<? super S, ? super T>) - Static method in class org.fxmisc.wellbehaved.event.template.InputMapTemplate
When the given event type occurs and condition is false, consumes the event and does not attempt to match additional InputMaps (if they exist).
consumeWhen(EventPattern<? super T, ? extends U>, BooleanSupplier, Consumer<? super U>) - Static method in interface org.fxmisc.wellbehaved.event.InputMap
If the given EventPattern matches the given event type and condition is true, consumes the event and does not attempt to match additional InputMaps (if they exist).
consumeWhen(EventType<? extends T>, BooleanSupplier, Consumer<? super T>) - Static method in interface org.fxmisc.wellbehaved.event.InputMap
When the given event type occurs and condition is true, consumes the event and does not attempt to match additional InputMaps (if they exist).
consumeWhen(EventPattern<? super T, ? extends U>, Predicate<? super S>, BiConsumer<? super S, ? super U>) - Static method in class org.fxmisc.wellbehaved.event.template.InputMapTemplate
If the given EventPattern matches the given event type and condition is true, consumes the event and does not attempt to match additional InputMaps (if they exist).
consumeWhen(EventType<? extends T>, Predicate<? super S>, BiConsumer<? super S, ? super T>) - Static method in class org.fxmisc.wellbehaved.event.template.InputMapTemplate
When the given event type occurs and condition is true, consumes the event and does not attempt to match additional InputMaps (if they exist).

D

dragDetected() - Static method in interface org.fxmisc.wellbehaved.event.EventPattern
 

E

EMPTY - Static variable in interface org.fxmisc.wellbehaved.event.InputMap
 
empty() - Static method in interface org.fxmisc.wellbehaved.event.InputMap
 
empty(PrefixTree.Ops<K, V>) - Static method in class org.fxmisc.wellbehaved.event.internal.PrefixTree
 
entries() - Method in class org.fxmisc.wellbehaved.event.internal.PrefixTree
 
EventPattern<T extends javafx.event.Event,U extends T> - Interface in org.fxmisc.wellbehaved.event
Helper class for pattern-matching one or more EventTypes (e.g.
eventType(EventType<? extends T>) - Static method in interface org.fxmisc.wellbehaved.event.EventPattern
 

F

forEachEventType(InputMap.HandlerConsumer<? super E>) - Method in interface org.fxmisc.wellbehaved.event.InputMap
For each EventPattern that matches the given event, run the corresponding InputHandler
forEachEventType(InputMapTemplate.HandlerTemplateConsumer<S, ? super E>) - Method in class org.fxmisc.wellbehaved.event.template.InputMapTemplate
 
from(InputMap.HandlerConsumer<E>, S) - Static method in interface org.fxmisc.wellbehaved.event.template.InputMapTemplate.HandlerTemplateConsumer
 

G

getEventTypes() - Method in interface org.fxmisc.wellbehaved.event.EventPattern
 
getInputHandlerTemplateMap() - Method in class org.fxmisc.wellbehaved.event.template.InputMapTemplate
 
getInputMap(Node) - Static method in class org.fxmisc.wellbehaved.event.Nodes
Gets the InputMap for the given node or InputMap.empty() if there is none.

H

handle(T) - Method in interface org.fxmisc.wellbehaved.event.InputHandler
 

I

ifConsumed(Consumer<? super E>) - Method in interface org.fxmisc.wellbehaved.event.InputMap
Executes some additional handler if the event was consumed (e.g.
ifConsumed(BiConsumer<? super S, ? super E>) - Method in class org.fxmisc.wellbehaved.event.template.InputMapTemplate
Executes some additional handler if the event was consumed (e.g.
ifIgnored(Consumer<? super E>) - Method in interface org.fxmisc.wellbehaved.event.InputMap
Executes some additional handler if the event was ignored (e.g.
ifIgnored(BiConsumer<? super S, ? super E>) - Method in class org.fxmisc.wellbehaved.event.template.InputMapTemplate
Executes some additional handler if the event was ignored (e.g.
ifProcessed(Consumer<? super E>) - Method in interface org.fxmisc.wellbehaved.event.InputMap
Executes some additional handler if the event was matched but not consumed (e.g.
ifProcessed(BiConsumer<? super S, ? super E>) - Method in class org.fxmisc.wellbehaved.event.template.InputMapTemplate
Executes some additional handler if the event was consumed (e.g.
ignore(EventPattern<? super T, ? extends U>) - Static method in interface org.fxmisc.wellbehaved.event.InputMap
If the given EventPattern matches the given event type, does nothing and does not attempt to match additional InputMaps (if they exist).
ignore(EventType<? extends T>) - Static method in interface org.fxmisc.wellbehaved.event.InputMap
When the given event type occurs, does nothing and does not attempt to match additional InputMaps (if they exist).
ignore(EventPattern<? super T, ? extends U>) - Static method in class org.fxmisc.wellbehaved.event.template.InputMapTemplate
If the given EventPattern matches the given event type, does nothing and does not attempt to match additional InputMaps (if they exist).
ignore(EventType<? extends T>) - Static method in class org.fxmisc.wellbehaved.event.template.InputMapTemplate
When the given event type occurs, does nothing and does not attempt to match additional InputMaps (if they exist).
InputHandler<T extends javafx.event.Event> - Interface in org.fxmisc.wellbehaved.event
Runs a block of code when its corresponding EventPattern matches a given event type (e.g.
InputHandler.Result - Enum in org.fxmisc.wellbehaved.event
Signifies what to do after handling some input: continue trying to match the event type with the next given EventPattern (InputHandler.Result.PROCEED) stop trying to match the event type and consume the event (InputHandler.Result.CONSUME) stop trying to match the event type and do not consume it (InputHandler.Result.IGNORE)
InputHandlerTemplate<S,E extends javafx.event.Event> - Interface in org.fxmisc.wellbehaved.event.template
Template version of InputHandler.
InputMap<E extends javafx.event.Event> - Interface in org.fxmisc.wellbehaved.event
Pattern matching for Events.
InputMap.HandlerConsumer<E extends javafx.event.Event> - Interface in org.fxmisc.wellbehaved.event
 
InputMapTemplate<S,E extends javafx.event.Event> - Class in org.fxmisc.wellbehaved.event.template
See InputMap for an explanation.
InputMapTemplate() - Constructor for class org.fxmisc.wellbehaved.event.template.InputMapTemplate
 
InputMapTemplate.HandlerTemplateConsumer<S,E extends javafx.event.Event> - Interface in org.fxmisc.wellbehaved.event.template
 
insert(K, V, BiFunction<? super V, ? super V, ? extends V>) - Method in class org.fxmisc.wellbehaved.event.internal.PrefixTree
 
installFallback(InputMapTemplate<S, E>, S) - Static method in class org.fxmisc.wellbehaved.event.template.InputMapTemplate
Instantiates the input map and installs it into the node via Nodes.addFallbackInputMap(Node, InputMap)
installFallback(InputMapTemplate<S, E>, S, Function<? super S, ? extends N>) - Static method in class org.fxmisc.wellbehaved.event.template.InputMapTemplate
Instantiates the input map and installs it into the node via Nodes.addFallbackInputMap(Node, InputMap)
installOverride(InputMapTemplate<S, E>, S) - Static method in class org.fxmisc.wellbehaved.event.template.InputMapTemplate
Instantiates the input map and installs it into the node via Nodes.addInputMap(Node, InputMap)
installOverride(InputMapTemplate<S, E>, S, Function<? super S, ? extends N>) - Static method in class org.fxmisc.wellbehaved.event.template.InputMapTemplate
Instantiates the input map and installs it into the node via Nodes.addInputMap(Node, InputMap)
instantiate(S) - Method in class org.fxmisc.wellbehaved.event.template.InputMapTemplate
Converts this InputMapTemplate into an InputMap for the given target
isPrefixOf(K, K) - Method in interface org.fxmisc.wellbehaved.event.internal.PrefixTree.Ops
 

K

keyPressed() - Static method in interface org.fxmisc.wellbehaved.event.EventPattern
 
keyPressed(KeyCombination) - Static method in interface org.fxmisc.wellbehaved.event.EventPattern
 
keyPressed(KeyCode, KeyCombination.Modifier...) - Static method in interface org.fxmisc.wellbehaved.event.EventPattern
 
keyPressed(Predicate<KeyCode>, KeyCombination.Modifier...) - Static method in interface org.fxmisc.wellbehaved.event.EventPattern
 
keyPressed(String, KeyCombination.Modifier...) - Static method in interface org.fxmisc.wellbehaved.event.EventPattern
 
keyPressedNoMod(String) - Static method in interface org.fxmisc.wellbehaved.event.EventPattern
Matches the given key pressed event regardless of modifiers; this should only be used for the rare KeyEvents which require a pressed modifier (e.g.
keyReleased() - Static method in interface org.fxmisc.wellbehaved.event.EventPattern
 
keyReleased(KeyCombination) - Static method in interface org.fxmisc.wellbehaved.event.EventPattern
 
keyReleased(KeyCode, KeyCombination.Modifier...) - Static method in interface org.fxmisc.wellbehaved.event.EventPattern
 
keyReleased(Predicate<KeyCode>, KeyCombination.Modifier...) - Static method in interface org.fxmisc.wellbehaved.event.EventPattern
 
keyReleased(String, KeyCombination.Modifier...) - Static method in interface org.fxmisc.wellbehaved.event.EventPattern
 
keyReleasedNoMod(String) - Static method in interface org.fxmisc.wellbehaved.event.EventPattern
Matches the given key released event regardless of modifiers; this should only be used for the rare KeyEvents which require a pressed modifier (e.g.
keyTyped() - Static method in interface org.fxmisc.wellbehaved.event.EventPattern
 
keyTyped(Predicate<String>, KeyCombination.Modifier...) - Static method in interface org.fxmisc.wellbehaved.event.EventPattern
 
keyTyped(String, KeyCombination.Modifier...) - Static method in interface org.fxmisc.wellbehaved.event.EventPattern
 
keyTypedNoMod(String) - Static method in interface org.fxmisc.wellbehaved.event.EventPattern
Matches the given key typed event regardless of modifiers; this should only be used for the rare KeyEvents which require a pressed modifier (e.g.

L

lift(InputMapTemplate<T, E>, Function<? super S, ? extends T>) - Static method in class org.fxmisc.wellbehaved.event.template.InputMapTemplate
 

M

map(Function<? super V, ? extends W>, PrefixTree.Ops<K, W>) - Method in class org.fxmisc.wellbehaved.event.internal.PrefixTree
 
map(Function<? super V, ? extends V>) - Method in class org.fxmisc.wellbehaved.event.internal.PrefixTree
 
match(T) - Method in interface org.fxmisc.wellbehaved.event.EventPattern
Returns a non-empty Optional when a match is found.
mouseClicked() - Static method in interface org.fxmisc.wellbehaved.event.EventPattern
 
mouseClicked(MouseButton) - Static method in interface org.fxmisc.wellbehaved.event.EventPattern
 
mouseDragged() - Static method in interface org.fxmisc.wellbehaved.event.EventPattern
 
mouseEntered() - Static method in interface org.fxmisc.wellbehaved.event.EventPattern
 
mouseEnteredTarget() - Static method in interface org.fxmisc.wellbehaved.event.EventPattern
 
mouseExited() - Static method in interface org.fxmisc.wellbehaved.event.EventPattern
 
mouseExitedTarget() - Static method in interface org.fxmisc.wellbehaved.event.EventPattern
 
mouseMoved() - Static method in interface org.fxmisc.wellbehaved.event.EventPattern
 
mousePressed() - Static method in interface org.fxmisc.wellbehaved.event.EventPattern
 
mousePressed(MouseButton) - Static method in interface org.fxmisc.wellbehaved.event.EventPattern
 
mouseReleased() - Static method in interface org.fxmisc.wellbehaved.event.EventPattern
 
mouseReleased(MouseButton) - Static method in interface org.fxmisc.wellbehaved.event.EventPattern
 

N

Nodes - Class in org.fxmisc.wellbehaved.event
Helper class for "installing/uninstalling" an InputMap into a Node.
Nodes() - Constructor for class org.fxmisc.wellbehaved.event.Nodes
 

O

onlyIf(Predicate<? super U>) - Method in interface org.fxmisc.wellbehaved.event.EventPattern
Returns an EventPattern that matches the given event type only if this event pattern matches it and the event type passed the given condition
orElse(InputMap<? extends E>) - Method in interface org.fxmisc.wellbehaved.event.InputMap
Shorthand for sequence(this, that)
orElse(InputMapTemplate<S, ? extends E>) - Method in class org.fxmisc.wellbehaved.event.template.InputMapTemplate
Shorthand for InputMapTemplate.sequence(InputMapTemplate[]) sequence(this, that)}
org.fxmisc.wellbehaved.event - package org.fxmisc.wellbehaved.event
Allows one to use pattern matching (think, "a switch statement with more power") to map one or more input event(s) (e.g.
org.fxmisc.wellbehaved.event.internal - package org.fxmisc.wellbehaved.event.internal
This package is for internal usage is will be made inaccessible in Java 10.
org.fxmisc.wellbehaved.event.template - package org.fxmisc.wellbehaved.event.template
This package contains all the InputMap code needed to turn the idea into a template that can be instantiated for each instance of a class.

P

popInputMap(Node) - Static method in class org.fxmisc.wellbehaved.event.Nodes
If the internal stack has an InputMap, removes the current InputMap that was installed on the give node via Nodes.pushInputMap(Node, InputMap), reinstalls the previous InputMap, and then returns true.
postResult(InputMap<? extends E>, InputHandler.Result, Consumer<? super E>) - Static method in interface org.fxmisc.wellbehaved.event.InputMap
 
PrefixTree<K,V> - Class in org.fxmisc.wellbehaved.event.internal
Prefix tree (Trie) with an additional property that no data is stored in internal nodes.
PrefixTree.Ops<K,V> - Interface in org.fxmisc.wellbehaved.event.internal
 
process(T) - Method in interface org.fxmisc.wellbehaved.event.InputHandler
When the corresponding EventPattern matches an event type, this method is called.
process(EventPattern<? super T, ? extends U>, Function<? super U, InputHandler.Result>) - Static method in interface org.fxmisc.wellbehaved.event.InputMap
If the given EventPattern matches the given event type, runs the given action, and then attempts to pattern match the event type with the next InputMap (if one exists).
process(EventType<? extends T>, Function<? super T, InputHandler.Result>) - Static method in interface org.fxmisc.wellbehaved.event.InputMap
When the given event type occurs, runs the given action, and then attempts to pattern match the event type with the next InputMap (if one exists).
process(S, E) - Method in interface org.fxmisc.wellbehaved.event.template.InputHandlerTemplate
 
process(EventPattern<? super T, ? extends U>, BiFunction<? super S, ? super U, InputHandler.Result>) - Static method in class org.fxmisc.wellbehaved.event.template.InputMapTemplate
If the given EventPattern matches the given event type, runs the given action, and then attempts to pattern match the event type with the next InputMap (if one exists).
process(EventType<? extends T>, BiFunction<? super S, ? super T, InputHandler.Result>) - Static method in class org.fxmisc.wellbehaved.event.template.InputMapTemplate
When the given event type occurs, runs the given action, and then attempts to pattern match the event type with the next InputMap (if one exists).
promote(V, K, K) - Method in interface org.fxmisc.wellbehaved.event.internal.PrefixTree.Ops
 
pushInputMap(Node, InputMap<?>) - Static method in class org.fxmisc.wellbehaved.event.Nodes
Removes the currently installed InputMap (InputMap1) on the given node and installs the im (InputMap2) in its place.

R

removeInputMap(Node, InputMap<?>) - Static method in class org.fxmisc.wellbehaved.event.Nodes
Removes (or uninstalls) the given input map from the node.

S

sequence(InputMap<? extends E>...) - Static method in interface org.fxmisc.wellbehaved.event.InputMap
Creates a single InputMap that pattern matches a given event type against all the given input maps.
sequence(InputMapTemplate<S, ? extends E>...) - Static method in class org.fxmisc.wellbehaved.event.template.InputMapTemplate
Creates a single InputMapTemplate that pattern matches a given event type against all the given InputMapTemplates.
squash(V, V) - Method in interface org.fxmisc.wellbehaved.event.internal.PrefixTree.Ops
 

U

uninstall(InputMapTemplate<S, E>, S) - Static method in class org.fxmisc.wellbehaved.event.template.InputMapTemplate
Removes the input map template's instance from the given node.
uninstall(InputMapTemplate<S, E>, S, Function<? super S, ? extends N>) - Static method in class org.fxmisc.wellbehaved.event.template.InputMapTemplate
Removes the input map template's instance from the given node.
unless(Predicate<? super U>) - Method in interface org.fxmisc.wellbehaved.event.EventPattern
Returns an EventPattern that matches the given event type only if this event pattern matches it and the event type fails the given condition
unless(BooleanSupplier, InputMap<T>) - Static method in interface org.fxmisc.wellbehaved.event.InputMap
When the given condition is false, pattern matches the event with the given InputMap or proceeds to the next InputMap (if it exists).
unless(Predicate<? super S>, InputMapTemplate<S, T>) - Static method in class org.fxmisc.wellbehaved.event.template.InputMapTemplate
When the given condition is false, pattern matches the event with the given InputMap or proceeds to the next InputMap (if it exists).
upCast(InputMap<? extends E>) - Static method in interface org.fxmisc.wellbehaved.event.InputMap
 

V

valueOf(String) - Static method in enum org.fxmisc.wellbehaved.event.InputHandler.Result
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.fxmisc.wellbehaved.event.InputHandler.Result
Returns an array containing the constants of this enum type, in the order they are declared.

W

when(BooleanSupplier, InputMap<T>) - Static method in interface org.fxmisc.wellbehaved.event.InputMap
When the given condition is true, pattern matches the event with the given InputMap or proceeds to the next InputMap (if it exists).
when(Predicate<? super S>, InputMapTemplate<S, T>) - Static method in class org.fxmisc.wellbehaved.event.template.InputMapTemplate
When the given condition is true, pattern matches the event with the given InputMap or proceeds to the next InputMap (if it exists).
without(InputMap<?>) - Method in interface org.fxmisc.wellbehaved.event.InputMap
Returns an InputMap that does nothing when this.equals(that); otherwise, returns this input map.
A C D E F G H I K L M N O P R S U V W 
Skip navigation links