public final class DirectoryChooser extends Object
型 | プロパティと説明 |
---|---|
ObjectProperty<File> |
initialDirectory
表示されたダイアログの初期ディレクトリ。
|
StringProperty |
title
表示されたダイアログのタイトル。
|
コンストラクタと説明 |
---|
DirectoryChooser() |
修飾子と型 | メソッドと説明 |
---|---|
File |
getInitialDirectory()
プロパティinitialDirectoryの値を取得します。
|
String |
getTitle()
プロパティtitleの値を取得します。
|
ObjectProperty<File> |
initialDirectoryProperty()
表示されたダイアログの初期ディレクトリ。
|
void |
setInitialDirectory(File value)
プロパティinitialDirectoryの値を設定します。
|
void |
setTitle(String value)
プロパティtitleの値を設定します。
|
File |
showDialog(Window ownerWindow)
新しいディレクトリ選択ダイアログを表示します。
|
StringProperty |
titleProperty()
表示されたダイアログのタイトル。
|
public final StringProperty titleProperty
getTitle()
, setTitle(String)
public final ObjectProperty<File> initialDirectoryProperty
public final void setTitle(String value)
public final String getTitle()
public final StringProperty titleProperty()
getTitle()
, setTitle(String)
public final void setInitialDirectory(File value)
public final File getInitialDirectory()
public final ObjectProperty<File> initialDirectoryProperty()
public File showDialog(Window ownerWindow)
null
となります。ディレクトリ選択ダイアログの所有者ウィンドウが設定されている場合は、そのダイアログの所有者チェーンのすべてのウィンドウに対する入力は、そのダイアログが表示されている間はブロックされます。ownerWindow
- 表示されているダイアログの所有者ウィンドウnull
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.