public final class DirectoryChooser extends Object
Constructor and Description |
---|
DirectoryChooser() |
Modifier and Type | Method and Description |
---|---|
File |
getInitialDirectory() |
String |
getTitle() |
ObjectProperty<File> |
initialDirectoryProperty() |
void |
setInitialDirectory(File value) |
void |
setTitle(String value) |
File |
showDialog(Window ownerWindow)
Shows a new directory selection dialog.
|
StringProperty |
titleProperty() |
public final void setTitle(String value)
public final String getTitle()
public final StringProperty titleProperty()
public final void setInitialDirectory(File value)
public final File getInitialDirectory()
public final ObjectProperty<File> initialDirectoryProperty()
public File showDialog(Window ownerWindow)
null
if no selection has been
made. If the owner window for the directory selection dialog is set,
input to all windows in the dialog's owner chain is blocked while the
dialog is being shown.ownerWindow
- the owner window of the displayed dialognull
if no directory has been
selectedCopyright © 2020. All rights reserved.