public class ActionListDialog extends DialogWindow
AbstractBasePane.ContentHolder
Window.Hint
contentHolder, interactableLookupMap
Modifier and Type | Method | Description |
---|---|---|
static void |
showDialog(WindowBasedTextGUI textGUI,
String title,
String description,
Runnable... items) |
Helper method for immediately displaying a
ActionListDialog , the method will return when the dialog is
closed |
addBasePaneListener, getBasePaneListeners, getComponent, getCursorPosition, getFocusedInteractable, getTheme, invalidate, isInvalid, removeBasePaneListener, setComponent, setEnableDirectionBasedMovements, setFocusedInteractable, setFocusedInteractable, setStrictFocusChange, setTheme
addWindowListener, close, draw, fromGlobal, getDecoratedSize, getHints, getPosition, getPostRenderer, getPreferredSize, getSize, getTextGUI, getTitle, handleInput, isVisible, removeWindowListener, setCloseWindowWithEscape, setContentOffset, setDecoratedSize, setFixedSize, setHints, setPosition, setSize, setTextGUI, setTitle, setWindowPostRenderer, setVisible, toGlobal, waitUntilClosed
getTheme, setEnableDirectionBasedMovements, setStrictFocusChange, setTheme
showDialog
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getComponent, getCursorPosition, getFocusedInteractable, invalidate, isInvalid, setComponent, setFocusedInteractable
public static void showDialog(WindowBasedTextGUI textGUI, String title, String description, Runnable... items)
ActionListDialog
, the method will return when the dialog is
closedtextGUI
- Text GUI the dialog should be added totitle
- Title of the dialogdescription
- Description of the dialogitems
- Items in the ActionListBox
, the label will be taken from each Runnable
by calling
toString()
on each oneCopyright © 2020. All rights reserved.