public class MutableButton extends Button
Interactable.FocusChangeDirection, Interactable.ResultComponent.Alignment| Constructor and Description | 
|---|
| MutableButton() | 
| MutableButton(Action action) | 
| MutableButton(String text) | 
| MutableButton(String text,
             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, transformAccordingToAlignmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddBorder, addComponentListener, getAlignment, getMinimumSize, getParent, getPreferredSize, getWindow, isScrollable, isVisible, removeComponentListener, setAlignment, setPreferredSize, setVisiblepublic MutableButton()
public MutableButton(Action action)
public MutableButton(String text)
public void setAction(Runnable runnable)
public LanternaAction getAction()