public class SwingAction
extends javax.swing.AbstractAction
Modifier and Type | Class and Description |
---|---|
static class |
SwingAction.ActionBuilder
A builder for actions.
|
Constructor and Description |
---|
SwingAction(CallableWithArgs<?> callable)
Deprecated.
use the
RunnableWithArgs constructor instead. |
SwingAction(RunnableWithArgs runnable) |
Modifier and Type | Method and Description |
---|---|
static SwingAction.ActionBuilder |
action() |
static SwingAction.ActionBuilder |
action(javax.swing.Action action) |
static SwingAction.ActionBuilder |
action(java.lang.String name) |
void |
actionPerformed(java.awt.event.ActionEvent evt) |
@Deprecated public SwingAction(@Nonnull CallableWithArgs<?> callable)
RunnableWithArgs
constructor instead.callable
- public SwingAction(@Nonnull RunnableWithArgs runnable)
@Nonnull public static SwingAction.ActionBuilder action()
@Nonnull public static SwingAction.ActionBuilder action(@Nullable javax.swing.Action action)
@Nonnull public static SwingAction.ActionBuilder action(@Nullable java.lang.String name)
public final void actionPerformed(java.awt.event.ActionEvent evt)