public class DirectoryDialog extends DialogWindow
AbstractBasePane.ContentHolderWindow.HintcontentHolder, interactableLookupMap| Constructor | Description |
|---|---|
DirectoryDialog(String title,
String description,
String actionLabel,
TerminalSize dialogSize,
boolean showHiddenDirs,
File selectedObject) |
Default constructor for
DirectoryDialog |
| Modifier and Type | Method | Description |
|---|---|---|
File |
showDialog(WindowBasedTextGUI textGUI) |
Opens the dialog by showing it on the GUI and doesn't return until the dialog has been closed
|
addBasePaneListener, getBasePaneListeners, getComponent, getCursorPosition, getFocusedInteractable, getMenuBar, getTheme, invalidate, isInvalid, removeBasePaneListener, setComponent, setEnableDirectionBasedMovements, setFocusedInteractable, setFocusedInteractable, setMenuBar, setStrictFocusChange, setThemeaddWindowListener, close, draw, fromGlobal, fromGlobalToContentRelative, fromGlobalToDecoratedRelative, getDecoratedSize, getHints, getPosition, getPostRenderer, getPreferredSize, getSize, getTextGUI, getTitle, handleInput, isVisible, removeWindowListener, setCloseWindowWithEscape, setContentOffset, setDecoratedSize, setFixedSize, setHints, setPosition, setSize, setTextGUI, setTitle, setWindowPostRenderer, setVisible, toGlobal, toGlobalFromContentRelative, toGlobalFromDecoratedRelative, waitUntilClosedgetTheme, setEnableDirectionBasedMovements, setStrictFocusChange, setThemeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBounds, getComponent, getCursorPosition, getFocusedInteractable, getMenuBar, invalidate, isInvalid, setComponent, setFocusedInteractable, setMenuBarpublic DirectoryDialog(String title, String description, String actionLabel, TerminalSize dialogSize, boolean showHiddenDirs, File selectedObject)
DirectoryDialogtitle - Title of the dialogdescription - Description of the dialog, is displayed at the top of the content areaactionLabel - Label to use on the "confirm" button, for example "open" or "save"dialogSize - Rough estimation of how big you want the dialog to beshowHiddenDirs - If true, hidden directories will be visibleselectedObject - Initially selected directory nodepublic File showDialog(WindowBasedTextGUI textGUI)
showDialog in class DialogWindowtextGUI - Text GUI to add the dialog tonull if the dialog was cancelledCopyright © 2020. All rights reserved.