public abstract class ActionHandlers
extends java.lang.Object
Constructor and Description |
---|
ActionHandlers() |
Modifier and Type | Method and Description |
---|---|
static ActionHandler |
fromCallable(java.util.concurrent.Callable c) |
static ActionHandler |
fromConsumer(java.util.function.Consumer<EventArgs> consumer) |
static <T> ActionHandler<EventArgs.ObjEventArgs<T>> |
fromConsumerT(java.util.function.Consumer<T> consumer) |
static ActionHandler<EventArgs.ActionEventArgs> |
fromEventListner(java.awt.event.ActionListener ev) |
static ActionHandler |
fromRunnable(java.lang.Runnable r) |
public static ActionHandler fromCallable(java.util.concurrent.Callable c)
public static ActionHandler fromConsumer(java.util.function.Consumer<EventArgs> consumer)
public static <T> ActionHandler<EventArgs.ObjEventArgs<T>> fromConsumerT(java.util.function.Consumer<T> consumer)
public static ActionHandler<EventArgs.ActionEventArgs> fromEventListner(java.awt.event.ActionListener ev)
public static ActionHandler fromRunnable(java.lang.Runnable r)