| Modifier and Type | Field and Description |
|---|---|
| private ObjectProperty | initialDirectory
The initial directory for the displayed dialog. |
| private StringProperty | title
The title of the displayed dialog. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final File | |
| public final String | |
| public final ObjectProperty | |
| public final void | |
| public final void | |
| public File | Returns: the selected directory ornull if no directory has been
selectedthe owner window of the displayed dialog ownerWindow)Shows a new directory selection dialog. |
| public final StringProperty |
| initialDirectory | back to summary |
|---|---|
| private ObjectProperty<File> initialDirectory The initial directory for the displayed dialog. | |
| title | back to summary |
|---|---|
| private StringProperty title The title of the displayed dialog. | |
| DirectoryChooser | back to summary |
|---|---|
| public DirectoryChooser() Creates a | |
| getInitialDirectory | back to summary |
|---|---|
| public final File getInitialDirectory() | |
| getTitle | back to summary |
|---|---|
| public final String getTitle() | |
| initialDirectoryProperty | back to summary |
|---|---|
| public final ObjectProperty | |
| setInitialDirectory | back to summary |
|---|---|
| public final void setInitialDirectory(final File value) | |
| setTitle | back to summary |
|---|---|
| public final void setTitle(final String value) | |
| showDialog | back to summary |
|---|---|
| public File showDialog(final Window ownerWindow) Shows a new directory selection dialog. The method doesn't return until
the displayed dialog is dismissed. The return value specifies the
directory chosen by the user or | |
| titleProperty | back to summary |
|---|---|
| public final StringProperty titleProperty() | |