public class LanternaAction extends AbstractObservable implements com.googlecode.lanterna.gui.Action
Modifier and Type | Class and Description |
---|---|
static class |
LanternaAction.ResolveStrategy |
Modifier and Type | Field and Description |
---|---|
static String |
NAME |
pcs
Constructor and Description |
---|
LanternaAction() |
LanternaAction(com.googlecode.lanterna.gui.Action delegate) |
LanternaAction(Runnable runnable) |
LanternaAction(String name) |
Modifier and Type | Method and Description |
---|---|
void |
doAction() |
com.googlecode.lanterna.gui.Action |
getDelegate() |
String |
getName() |
LanternaAction.ResolveStrategy |
getResolveStrategy() |
Runnable |
getRunnable() |
void |
setDelegate(com.googlecode.lanterna.gui.Action delegate) |
void |
setName(String name) |
void |
setResolveStrategy(LanternaAction.ResolveStrategy resolveStrategy) |
void |
setRunnable(Runnable runnable) |
String |
toString() |
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
public static final String NAME
public LanternaAction()
public LanternaAction(String name)
public LanternaAction(Runnable runnable)
public LanternaAction(com.googlecode.lanterna.gui.Action delegate)
public LanternaAction.ResolveStrategy getResolveStrategy()
public void setResolveStrategy(LanternaAction.ResolveStrategy resolveStrategy)
public com.googlecode.lanterna.gui.Action getDelegate()
public void setDelegate(com.googlecode.lanterna.gui.Action delegate)
public Runnable getRunnable()
public void setRunnable(Runnable runnable)
public String getName()
public void setName(String name)
public void doAction()
doAction
in interface com.googlecode.lanterna.gui.Action