Uses of Class
io.keikai.doc.collab.utils.EventHandler
Packages that use EventHandler
-
Uses of EventHandler in io.keikai.doc.collab.types
Methods in io.keikai.doc.collab.types that return EventHandler -
Uses of EventHandler in io.keikai.doc.collab.utils
Methods in io.keikai.doc.collab.utils that return EventHandlerMethods in io.keikai.doc.collab.utils with parameters of type EventHandlerModifier and TypeMethodDescriptionstatic <T> voidEventHandler.addEventHandlerListener(EventHandler eventHandler, BiConsumer<T, Transaction> function) Adds an event listener that is called whencallEventHandlerListeners(io.keikai.doc.collab.utils.EventHandler, T, io.keikai.doc.collab.utils.Transaction)is called.static <T> voidEventHandler.addEventHandlerListener(EventHandler eventHandler, Consumer<T> function) Adds an event listener that is called whencallEventHandlerListeners(io.keikai.doc.collab.utils.EventHandler, T, io.keikai.doc.collab.utils.Transaction)is called.static <T> voidEventHandler.callEventHandlerListeners(EventHandler eventHandler, T event, Transaction transaction) Call all event listeners that were added viaaddEventHandlerListener(io.keikai.doc.collab.utils.EventHandler, java.util.function.Consumer<T>).static <T> voidEventHandler.removeEventHandlerListener(EventHandler eventHandler, BiConsumer<T, Transaction> function) Removes an event listener.