Top Fields Constructors Methods
org.fxmisc.wellbehaved.event.template

pack-priv Class InputHandlerTemplateMap<S, E extends Event>

extends Object
Class Inheritance
Imports
java.util.ArrayList, .Collections, .Iterator, .List, .Objects, java.util.function.Function, javafx.event.Event, .EventType, org.fxmisc.wellbehaved.event.InputHandler.Result, org.fxmisc.wellbehaved.event.internal.PrefixTree, .PrefixTree.Ops, org.fxmisc.wellbehaved.event.template.InputMapTemplate.HandlerTemplateConsumer

Field Summary

Modifier and TypeField and Description
private PrefixTree<EventType<? extends E>, InputHandlerTemplate<S, ? super E>>

Constructor Summary

AccessConstructor and Description
public
private
InputHandlerTemplateMap(PrefixTree<EventType<? extends E>, InputHandlerTemplate<S, ? super E>> handlerTree)

Method Summary

Modifier and TypeMethod and Description
pack-priv void
public <F extends E> void
insertAfter(EventType<? extends F> t, InputHandlerTemplate<S, ? super F> h)

public <T> InputHandlerTemplateMap<T, E>
map(Function<? super InputHandlerTemplate<S, ? super E>, ? extends InputHandlerTemplate<T, E>> f)

private static <S, E extends Event> PrefixTree.Ops<EventType<? extends E>, InputHandlerTemplate<S, ? super E>>
ops()

private static <S, E extends Event> InputHandlerTemplate<S, E>
sequence(InputHandlerTemplate<S, ? super E> h1, InputHandlerTemplate<S, ? super E> h2)

private static final List<EventType<?>>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

handlerTreeback to summary
private PrefixTree<EventType<? extends E>, InputHandlerTemplate<S, ? super E>> handlerTree

Constructor Detail

InputHandlerTemplateMapback to summary
public InputHandlerTemplateMap()
InputHandlerTemplateMapback to summary
private InputHandlerTemplateMap(PrefixTree<EventType<? extends E>, InputHandlerTemplate<S, ? super E>> handlerTree)

Method Detail

forEachback to summary
pack-priv void forEach(InputMapTemplate.HandlerTemplateConsumer<S, ? super E> f)
insertAfterback to summary
public <F extends E> void insertAfter(EventType<? extends F> t, InputHandlerTemplate<S, ? super F> h)
mapback to summary
public <T> InputHandlerTemplateMap<T, E> map(Function<? super InputHandlerTemplate<S, ? super E>, ? extends InputHandlerTemplate<T, E>> f)
opsback to summary
private static <S, E extends Event> PrefixTree.Ops<EventType<? extends E>, InputHandlerTemplate<S, ? super E>> ops()
sequenceback to summary
private static <S, E extends Event> InputHandlerTemplate<S, E> sequence(InputHandlerTemplate<S, ? super E> h1, InputHandlerTemplate<S, ? super E> h2)
toListback to summary
private static final List<EventType<?>> toList(EventType<?> t)