Constructor
# new DuFolderSelector()
Properties:
Name | Type | Description |
---|---|---|
path |
string
|
The folder path, initialized with an empty string. Note that this may not point to an existing folder if the user entered an incorrect path in the text field. To be sure to get an existing folder, you can use the getFolder() method. |
editText |
DuEditText
|
null
|
The text field, if any. |
button |
DuButton
|
The "Browse" button. |
Methods
# static getFolder() → {Folder|null}
Gets the selected folder.
The new Folder, if any. null if the Folder does not exist or the user has input an incorrect path.
Folder
|
null