Package weka.gui
Annotation Interface FilePropertyMetadata
Method annotation that can be used to provide some additional information for
handling file properties in the GUI. In particular, it can be used to
indicate whether an JFileChooser.OPEN_DIALOG or JFileChooser.SAVE_DIALOG
should be used with the property and, furthermore, whether the dialog should
allow only files or directories to be selected.
- Version:
- $Revision: $
- Author:
- Mark Hall (mhall{[at]}pentaho{[dot]}com)
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionboolean
Returns true if the file chooser dialog should only allow directories to be selected, otherwise it will allow only files to be selectedint
Specify the type of JFileChooser dialog that should be used - i.e.
-
Element Details
-
fileChooserDialogType
int fileChooserDialogTypeSpecify the type of JFileChooser dialog that should be used - i.e. either JFileChooser.OPEN_DIALOG or JFileChooser.SAVE_DIALOG- Returns:
- the type of JFileChooser dialog to use
-
directoriesOnly
boolean directoriesOnlyReturns true if the file chooser dialog should only allow directories to be selected, otherwise it will allow only files to be selected- Returns:
- true if only directories rather than files should be selected
-