public static class PortConfig.RequireFile extends PortConfig.RequireHints
ConfigImporter
,
PortConfig.HintType.FILE_CHOOSER
Modifier and Type | Field and Description |
---|---|
java.lang.String |
fileSelectTag
ResourceBundle key to localized text to display on file chooser's select button.
|
boolean |
isDirectory
Boolean true indicates chooser should select a directory, false for files.
|
promptTag, typeOfDialogPrompt
Constructor and Description |
---|
RequireFile(java.lang.String promptTag,
java.lang.String fileSelectTag,
boolean isDirectory)
Create a RequireFile object for the specified prompt string and a file chooser.
|
public final java.lang.String fileSelectTag
public final boolean isDirectory
public RequireFile(java.lang.String promptTag, java.lang.String fileSelectTag, boolean isDirectory)
promptTag
- String key to a ResourceBundle localized prompt textfileSelectTag
- String text to a ResourceBundle localized text to display on the file chooser's select buttonisDirectory
- boolean true if user must select directory, false for file