Uses of Class
ca.corbett.forms.fields.FileField
Packages that use FileField
Package
Description
ca.corbett.forms.fields
All FormFields support optional validation in the form of a FieldValidator.
-
Uses of FileField in ca.corbett.forms.fields
Methods in ca.corbett.forms.fields that return FileFieldModifier and TypeMethodDescriptionFileField.addChoosableFileFilter(FileFilter filter) Adds a FileFilter to the list of user-selectable filters on the dialog.FileField.removeChoosableFileFilter(FileFilter filter) Removes the given FileFilter from the list of choosable filters that were provided via addChoosableFileFilter.FileField.resetChoosableFileFilters()Resets the list of choosable file filters back to the starting state.FileField.setAcceptAllFileFilterUsed(boolean enable) If true (the default value), the file chooser will automatically get an "All files" file filter in the file type dropdown, that allows selection of all files and directories.FileField.setAccessory(JComponent component) Sets an optional "accessory" component which can be used to show custom file previews.FileField.setAllowBlankValues(boolean allow) Specifies whether blank values should be allowed in the text field.Sets the currently selected File for this field.FileField.setFileFilter(FileFilter filter) Sets which of the choosable file filters added via addChoosableFileFilter should be selected by default when the dialog comes up.FileField.setFileHidingEnabled(boolean enabled) If true (the default value), hidden files will not be displayed in the file chooser.FileField.setSelectionType(FileField.SelectionType selectionType) Sets the SelectionType for this FieldField.FileField.setSelectionType(FileField.SelectionType selectionType, boolean allowBlankValues) Sets the SelectionType for this FileField. -
Uses of FileField in ca.corbett.forms.validators
Methods in ca.corbett.forms.validators with parameters of type FileFieldModifier and TypeMethodDescription