Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
A
C
D
E
F
G
I
J
M
O
R
S
U
A
accept(File)
- Method in class javax.swing.
JFileChooser
Returns true if the file should be displayed.
ACCESSORY_CHANGED_PROPERTY
- Static variable in class javax.swing.
JFileChooser
Says that a different accessory component is in use.
addActionListener(ActionListener)
- Method in class javax.swing.
JFileChooser
adds an ActionListener to the button
addChoosableFileFilter(FileFilter)
- Method in class javax.swing.
JFileChooser
Adds a filter to the list of user choosable file filters.
APPROVE_BUTTON_MNEMONIC_CHANGED_PROPERTY
- Static variable in class javax.swing.
JFileChooser
Identifies change in the mnemonic for the approve (yes, ok) button .
APPROVE_BUTTON_TEXT_CHANGED_PROPERTY
- Static variable in class javax.swing.
JFileChooser
Identifies change in the text on the approve (yes, ok) button.
APPROVE_BUTTON_TOOL_TIP_TEXT_CHANGED_PROPERTY
- Static variable in class javax.swing.
JFileChooser
Identifies change in the tooltip text for the approve (yes, ok) button .
APPROVE_OPTION
- Static variable in class javax.swing.
JFileChooser
Return value if approve (yes, ok) is chosen.
APPROVE_SELECTION
- Static variable in class javax.swing.
JFileChooser
Instruction to approve the current selection (Same as pressing yes or ok.)
approveSelection()
- Method in class javax.swing.
JFileChooser
Called by the UI when the user hits the approve (AKA "Open" or "Save") button.
C
CANCEL_OPTION
- Static variable in class javax.swing.
JFileChooser
Return value if cancel is chosen.
CANCEL_SELECTION
- Static variable in class javax.swing.
JFileChooser
Instruction to cancel the current selection.
cancelSelection()
- Method in class javax.swing.
JFileChooser
Called by the UI when the user hits the cancel button.
changeToParentDirectory()
- Method in class javax.swing.
JFileChooser
Changes the directory to be set to the parent of the current directory.
CHOOSABLE_FILE_FILTER_CHANGED_PROPERTY
- Static variable in class javax.swing.
JFileChooser
Identifies a change in the list of predefined file filters the user can choose from
CUSTOM_DIALOG
- Static variable in class javax.swing.
JFileChooser
Type value indicating that the FileChooser supports a developer sepcified file operation.
D
DIALOG_TITLE_CHANGED_PROPERTY
- Static variable in class javax.swing.
JFileChooser
Identifies a change in the dialog title.
DIALOG_TYPE_CHANGED_PROPERTY
- Static variable in class javax.swing.
JFileChooser
Identifies a change in the type of files displayed (files only, directories only, or both files and directories.
DIRECTORIES_ONLY
- Static variable in class javax.swing.
JFileChooser
Instruction to display only directories.
DIRECTORY_CHANGED_PROPERTY
- Static variable in class javax.swing.
JFileChooser
Identifies user's directory change.
E
ensureFileIsVisible(File)
- Method in class javax.swing.
JFileChooser
Make sure that the specified file is viewable, and not hidden.
ERROR_OPTION
- Static variable in class javax.swing.
JFileChooser
Return value if an error occured.
F
FILE_FILTER_CHANGED_PROPERTY
- Static variable in class javax.swing.
JFileChooser
User changed the kind of files to display.
FILE_HIDING_CHANGED_PROPERTY
- Static variable in class javax.swing.
JFileChooser
Identifies a change in the display-hidden-files property.
FILE_SELECTION_MODE_CHANGED_PROPERTY
- Static variable in class javax.swing.
JFileChooser
Identifies a change in the kind of selection (single, multiple, etc.).
FILE_SYSTEM_VIEW_CHANGED_PROPERTY
- Static variable in class javax.swing.
JFileChooser
Says that a different object is being used to find available drives on the system.
FILE_VIEW_CHANGED_PROPERTY
- Static variable in class javax.swing.
JFileChooser
Says that a different object is being used to retrieve file information.
FILES_AND_DIRECTORIES
- Static variable in class javax.swing.
JFileChooser
Instruction to display both files and directories.
FILES_ONLY
- Static variable in class javax.swing.
JFileChooser
Instruction to display only files.
G
getAcceptAllFileFilter()
- Method in class javax.swing.
JFileChooser
Returns the AcceptAll file filter (e.g.
getAccessibleContext()
- Method in class javax.swing.
JFileChooser
Get the AccessibleContext associated with this JFileChooser
getAccessory()
- Method in class javax.swing.
JFileChooser
Return the accessory component.
getApproveButtonMnemonic()
- Method in class javax.swing.
JFileChooser
Returns the approve button's mnemonic.
getApproveButtonText()
- Method in class javax.swing.
JFileChooser
Returns the text used in the ApproveButton in the FileChooserUI.
getApproveButtonToolTipText()
- Method in class javax.swing.
JFileChooser
Returns the tooltip text used in the ApproveButton.
getChoosableFileFilters()
- Method in class javax.swing.
JFileChooser
Gets the list of user choosable file filters
getCurrentDirectory()
- Method in class javax.swing.
JFileChooser
Returns the current directory.
getDescription(File)
- Method in class javax.swing.
JFileChooser
Returns the file description.
getDialogTitle()
- Method in class javax.swing.
JFileChooser
Gets the string that goes in the FileChooser's titlebar.
getDialogType()
- Method in class javax.swing.
JFileChooser
Returns the type of this dialog.
getFileFilter()
- Method in class javax.swing.
JFileChooser
Returns the currently selected file filter.
getFileSelectionMode()
- Method in class javax.swing.
JFileChooser
Returns the current file-selection mode.
getFileSystemView()
- Method in class javax.swing.
JFileChooser
Returns the file system view.
getFileView()
- Method in class javax.swing.
JFileChooser
Returns the current file view.
getIcon(File)
- Method in class javax.swing.
JFileChooser
Returns the icon for this file or type of file, depending on the system.
getName(File)
- Method in class javax.swing.
JFileChooser
Returns the file name.
getSelectedFile()
- Method in class javax.swing.
JFileChooser
Returns the selected file.
getSelectedFiles()
- Method in class javax.swing.
JFileChooser
Returns a list of selected files if the filechooser is set to allow multi-selection.
getTypeDescription(File)
- Method in class javax.swing.
JFileChooser
Returns the file type.
getUI()
- Method in class javax.swing.
JFileChooser
Gets the UI object which implements the L&F for this component.
getUIClassID()
- Method in class javax.swing.
JFileChooser
Returns a string that specifies the name of the L&F class that renders this component.
I
isDirectorySelectionEnabled()
- Method in class javax.swing.
JFileChooser
Convenience call that determines if directories are selectable based on the current file selection mode
isFileHidingEnabled()
- Method in class javax.swing.
JFileChooser
If true, hidden files are not shown in the filechooser
isFileSelectionEnabled()
- Method in class javax.swing.
JFileChooser
Convenience call that determines if files are selectable based on the current file selection mode
isMultiSelectionEnabled()
- Method in class javax.swing.
JFileChooser
Returns true if multiple files can be selected.
isTraversable(File)
- Method in class javax.swing.
JFileChooser
Returns true if the file (directory) can be visited.
J
JFileChooser
- class javax.swing.
JFileChooser
.
JFileChooser provides a simple mechanism for the user to chooser a file.
JFileChooser()
- Constructor for class javax.swing.
JFileChooser
Creates a JFileChooser pointing to the user's home directory.
JFileChooser(File)
- Constructor for class javax.swing.
JFileChooser
Creates a JFileChooser using the given File as the path.
JFileChooser(File, FileSystemView)
- Constructor for class javax.swing.
JFileChooser
Creates a JFileChooser using the given current directory and FileSystemView
JFileChooser(FileSystemView)
- Constructor for class javax.swing.
JFileChooser
Creates a JFileChooser using the given FileSystemView
JFileChooser(String)
- Constructor for class javax.swing.
JFileChooser
Creates a JFileChooser using the given path.
JFileChooser(String, FileSystemView)
- Constructor for class javax.swing.
JFileChooser
Creates a JFileChooser using the given current directory path and FileSystemView
M
MULTI_SELECTION_ENABLED_CHANGED_PROPERTY
- Static variable in class javax.swing.
JFileChooser
Enables multiple-file selections.
O
OPEN_DIALOG
- Static variable in class javax.swing.
JFileChooser
Type value indicating that the FileChooser supports an "Open" file operation.
R
removeActionListener(ActionListener)
- Method in class javax.swing.
JFileChooser
removes an ActionListener from the button
removeChoosableFileFilter(FileFilter)
- Method in class javax.swing.
JFileChooser
Removes a filter from the list of user choosable file filters.
rescanCurrentDirectory()
- Method in class javax.swing.
JFileChooser
Tells the UI to rescan it's files list from the current directory.
resetChoosableFileFilters()
- Method in class javax.swing.
JFileChooser
Resets the choosable file filter list to it's starting state.
S
SAVE_DIALOG
- Static variable in class javax.swing.
JFileChooser
Type value indicating that the FileChooser supports a "Save" file operation.
SELECTED_FILE_CHANGED_PROPERTY
- Static variable in class javax.swing.
JFileChooser
Identifes change in user's single-file selection.
SELECTED_FILES_CHANGED_PROPERTY
- Static variable in class javax.swing.
JFileChooser
Identifes change in user's multiple-file selection.
setAccessory(JComponent)
- Method in class javax.swing.
JFileChooser
Sets the accessory component.
setApproveButtonMnemonic(char)
- Method in class javax.swing.
JFileChooser
Sets the approve button's mnemonic using a character.
setApproveButtonMnemonic(int)
- Method in class javax.swing.
JFileChooser
Sets the approve button's mnemonic using a numeric keycode.
setApproveButtonText(String)
- Method in class javax.swing.
JFileChooser
Sets the text used in the ApproveButton in the FileChooserUI.
setApproveButtonToolTipText(String)
- Method in class javax.swing.
JFileChooser
Sets the tooltip text used in the ApproveButton.
setCurrentDirectory(File)
- Method in class javax.swing.
JFileChooser
Sets the current directory.
setDialogTitle(String)
- Method in class javax.swing.
JFileChooser
Sets the string that goes in the FileChooser window's title bar.
setDialogType(int)
- Method in class javax.swing.
JFileChooser
Sets the type of this dialog.
setFileFilter(FileFilter)
- Method in class javax.swing.
JFileChooser
Sets the current File Filter.
setFileHidingEnabled(boolean)
- Method in class javax.swing.
JFileChooser
Sets file hiding on or off.
setFileSelectionMode(int)
- Method in class javax.swing.
JFileChooser
Sets the FileChooser to allow the user to just select files, just select directories, or select both files and directetories.
setFileSystemView(FileSystemView)
- Method in class javax.swing.
JFileChooser
Sets the file system view which the JFileChooser uses to access and create file system resouces, such as finding the floppy drive and getting a list of root drives.
setFileView(FileView)
- Method in class javax.swing.
JFileChooser
Sets the file view to used to retrieve UI information, such as the icon that represents a file or the type description of a file.
setMultiSelectionEnabled(boolean)
- Method in class javax.swing.
JFileChooser
Sets the filechooser to allow multiple file selections.
setSelectedFile(File)
- Method in class javax.swing.
JFileChooser
Sets the selected file.
setSelectedFiles(File[])
- Method in class javax.swing.
JFileChooser
Sets the list of selected files if the filechooser is set to allow multi-selection.
showDialog(Component, String)
- Method in class javax.swing.
JFileChooser
Pops a custom file chooser dialog with a custom ApproveButton.
showOpenDialog(Component)
- Method in class javax.swing.
JFileChooser
Pops up an "Open File" file chooser dialog.
showSaveDialog(Component)
- Method in class javax.swing.
JFileChooser
Pops up a "Save File" file chooser dialog.
U
updateUI()
- Method in class javax.swing.
JFileChooser
Notification from the UIFactory that the L&F has changed.
A
C
D
E
F
G
I
J
M
O
R
S
U
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES