public class MutableButton
extends com.googlecode.lanterna.gui.component.Button
| Constructor and Description |
|---|
MutableButton() |
MutableButton(com.googlecode.lanterna.gui.Action action) |
MutableButton(String text) |
MutableButton(String text,
com.googlecode.lanterna.gui.Action action) |
| Modifier and Type | Method and Description |
|---|---|
LanternaAction |
getAction() |
void |
setAction(Runnable runnable) |
afterEnteredFocus, afterLeftFocus, calculatePreferredSize, getText, keyboardInteraction, repaint, setTextgetHotspot, hasFocus, onEnterFocus, onLeaveFocus, setHotspotaddBorder, addComponentListener, getAlignment, getComponentListeners, getGUIScreen, getMinimumSize, getParent, getPreferredSize, getWindow, invalidate, isScrollable, isVisible, removeComponentListener, setAlignment, setParent, setPreferredSize, setVisible, transformAccordingToAlignmentpublic MutableButton()
public MutableButton(com.googlecode.lanterna.gui.Action action)
public MutableButton(String text)
public MutableButton(String text, com.googlecode.lanterna.gui.Action action)
public void setAction(Runnable runnable)
public LanternaAction getAction()