|
Generated by JDiff |
||||||||
PREV CLASS NEXT CLASS FRAMES NO FRAMES | DETAIL: CONSTRUCTORS | METHODS | FIELDS |
Changed Constructors | ||
File ) |
Documentation changed from old to new. |
Constructs a JFileChooser using the given File as the path. |
File, |
Documentation changed from old to new. |
Constructs a JFileChooser using the given current directory and FileSystemView . |
String ) |
Documentation changed from old to new. |
Constructs a JFileChooser using the given path. |
String, |
Documentation changed from old to new. |
Constructs a JFileChooser using the given current directory path and FileSystemView . |
FileSystemView ) |
Documentation changed from old to new. |
Constructs a JFileChooser using the given FileSystemView . |
void ) |
Documentation changed from old to new. |
Constructs a JFileChooser pointing to the user's home directory. |
Added Methods | |
boolean getControlButtonsAreShown() |
Returns a boolean indicating whether the accept and cancel buttons are shown in the file chooser. |
boolean isAcceptAllFileFilterUsed() |
Returns whether the AcceptAll FileFilter is used. |
void setAcceptAllFileFilterUsed(boolean ) |
Determines if the AcceptAll FileFilter is used. |
void setControlButtonsAreShown(boolean ) |
Sets whether the approve and cancel buttons are shown in the file chooser. |
Changed Methods | ||
boolean accept(File ) |
Documentation changed from old to new. |
Returns true if the file should be displayed. |
void addActionListener(ActionListener ) |
Documentation changed from old to new. |
Adds an ActionListener to the button. |
void addChoosableFileFilter(FileFilter ) |
Documentation changed from old to new. |
Adds a filter to the list of user choosable file filters. |
void approveSelection() |
Documentation changed from old to new. |
Called by the UI when the user hits the Approve button (labeled "Open" or "Save" by default). |
void cancelSelection() |
Documentation changed from old to new. |
Called by the UI when the user chooses the Cancel button. |
void ensureFileIsVisible(File ) |
Documentation changed from old to new. |
Makes sure that the specified file is viewable and not hidden. |
void fireActionPerformed(String ) |
Documentation changed from old to new. |
Notifies all listeners that have registered interest for notification on this event type. |
FileFilter getAcceptAllFileFilter() |
Documentation changed from old to new. |
Returns the AcceptAll file filter. |
AccessibleContext getAccessibleContext() |
Documentation changed from old to new. |
Gets the AccessibleContext associated with this JFileChooser. |
JComponent getAccessory() |
Documentation changed from old to new. |
Returns the accessory component. |
int getApproveButtonMnemonic() |
Documentation changed from old to new. |
Returns the approve button's mnemonic. |
String getApproveButtonText() |
Documentation changed from old to new. |
Returns the text used in the ApproveButton in the FileChooserUI . |
String getApproveButtonToolTipText() |
Documentation changed from old to new. |
Returns the tooltip text used in the ApproveButton . |
FileFilter[] getChoosableFileFilters() |
Documentation changed from old to new. |
Gets the list of user choosable file filters. |
String getDescription(File ) |
Documentation changed from old to new. |
Returns the file description. |
String getDialogTitle() |
Documentation changed from old to new. |
Gets the string that goes in the JFileChooser 's titlebar. |
int getDialogType() |
Documentation changed from old to new. |
Returns the type of this dialog. |
FileFilter getFileFilter() |
Documentation changed from old to new. |
Returns the currently selected file filter. |
int getFileSelectionMode() |
Documentation changed from old to new. |
Returns the current file-selection mode. |
FileSystemView getFileSystemView() |
Documentation changed from old to new. |
Returns the file system view. |
Icon getIcon(File ) |
Documentation changed from old to new. |
Returns the icon for this file or type of file depending on the system. |
File getSelectedFile() |
Documentation changed from old to new. |
Returns the selected file. |
File[] getSelectedFiles() |
Documentation changed from old to new. |
Returns a list of selected files if the file chooser is set to allow multiple selection. |
String getTypeDescription(File ) |
Documentation changed from old to new. |
Returns the file type. |
String getUIClassID() |
Documentation changed from old to new. |
Returns a string that specifies the name of the L&F class that renders this component. |
boolean isDirectorySelectionEnabled() |
Documentation changed from old to new. |
Convenience call that determines if directories are selectable based on the current file selection mode. |
boolean isFileHidingEnabled() |
Documentation changed from old to new. |
Returns true if hidden files are not shown in the file chooser; otherwise returns false. |
boolean isFileSelectionEnabled() |
Documentation changed from old to new. |
Convenience call that determines if files are selectable based on the current file selection mode. |
boolean isMultiSelectionEnabled() |
Documentation changed from old to new. |
Returns true if multiple files can be selected. |
boolean isTraversable(File ) |
Documentation changed from old to new. |
Returns true if the file (directory) can be visited. |
String paramString() |
Documentation changed from old to new. |
Returns a string representation of this JFileChooser . |
void removeActionListener(ActionListener ) |
Documentation changed from old to new. |
Removes an ActionListener from the button. |
boolean removeChoosableFileFilter(FileFilter ) |
Documentation changed from old to new. |
Removes a filter from the list of user choosable file filters. |
void rescanCurrentDirectory() |
Documentation changed from old to new. |
Tells the UI to rescan its files list from the current directory. |
void resetChoosableFileFilters() |
Documentation changed from old to new. |
Resets the choosable file filter list to its starting state. |
void setAccessory(JComponent ) |
Documentation changed from old to new. |
Sets the accessory component. |
void setApproveButtonText(String ) |
Documentation changed from old to new. |
Sets the text used in the ApproveButton in the FileChooserUI . |
void setApproveButtonToolTipText(String ) |
Documentation changed from old to new. |
Sets the tooltip text used in the ApproveButton . |
void setCurrentDirectory(File ) |
Documentation changed from old to new. |
Sets the current directory. |
void setDialogTitle(String ) |
Documentation changed from old to new. |
Sets the string that goes in the JFileChooser window's title bar. |
void setDialogType(int ) |
Documentation changed from old to new. |
Sets the type of this dialog. |
void setFileFilter(FileFilter ) |
Documentation changed from old to new. |
Sets the current file filter. |
void setFileHidingEnabled(boolean ) |
Documentation changed from old to new. |
Sets file hiding on or off. |
void setFileSelectionMode(int ) |
Documentation changed from old to new. |
Sets the JFileChooser to allow the user to just select files just select directories or select both files and directories. |
void setFileSystemView(FileSystemView ) |
Documentation changed from old to new. |
Sets the file system view that the JFileChooser uses for accessing and creating file system resources such as finding the floppy drive and getting a list of root drives. |
void setFileView(FileView ) |
Documentation changed from old to new. |
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. |
void setMultiSelectionEnabled(boolean ) |
Documentation changed from old to new. |
Sets the file chooser to allow multiple file selections. |
void setSelectedFile(File ) |
Documentation changed from old to new. |
Sets the selected file. |
void setSelectedFiles(File[] ) |
Documentation changed from old to new. |
Sets the list of selected files if the file chooser is set to allow multiple selection. |
void setup(FileSystemView ) |
Documentation changed from old to new. |
Performs common constructor initialization and setup. |
int showDialog(Component, |
Documentation changed from old to new. |
Pops a custom file chooser dialog with a custom approve button. |
int showOpenDialog(Component ) |
Documentation changed from old to new. |
Pops up an "Open File" file chooser dialog. |
int showSaveDialog(Component ) |
Documentation changed from old to new. |
Pops up a "Save File" file chooser dialog. |
void updateUI() |
Documentation changed from old to new. |
Notification from the UIFactory that the L&F has changed. |
String getName(File ) |
Documentation changed from old to new. |
Returns the filename. |
void setApproveButtonMnemonic(char ) |
Documentation changed from old to new. |
Sets the approve button's mnemonic using a character. |
void setApproveButtonMnemonic(int ) |
Documentation changed from old to new. |
Sets the approve button's mnemonic using a numeric keycode. |
Added Fields | |
String ACCEPT_ALL_FILE_FILTER_USED_CHANGED_PROPERTY |
Identifies whether a the AcceptAllFileFilter is used or not. |
String CONTROL_BUTTONS_ARE_SHOWN_CHANGED_PROPERTY |
Instruction to display the control buttons. |
Changed Fields | ||
String ACCESSORY_CHANGED_PROPERTY |
Documentation changed from old to new. |
Says that a different accessory component is in use (for example to preview files). |
String APPROVE_BUTTON_MNEMONIC_CHANGED_PROPERTY |
Documentation changed from old to new. |
Identifies change in the mnemonic for the approve (yes ok) button. |
String APPROVE_BUTTON_TOOL_TIP_TEXT_CHANGED_PROPERTY |
Documentation changed from old to new. |
Identifies change in the tooltip text for the approve (yes ok) button. |
String APPROVE_SELECTION |
Documentation changed from old to new. |
Instruction to approve the current selection (same as pressing yes or ok). |
String CHOOSABLE_FILE_FILTER_CHANGED_PROPERTY |
Documentation changed from old to new. |
Identifies a change in the list of predefined file filters the user can choose from. |
int CUSTOM_DIALOG |
Documentation changed from old to new. |
Type value indicating that the JFileChooser supports a developer-specified file operation. |
String DIALOG_TYPE_CHANGED_PROPERTY |
Documentation changed from old to new. |
Identifies a change in the type of files displayed (files only directories only or both files and directories). |
int OPEN_DIALOG |
Documentation changed from old to new. |
Type value indicating that the JFileChooser supports an "Open" file operation. |
int SAVE_DIALOG |
Documentation changed from old to new. |
Type value indicating that the JFileChooser supports a "Save" file operation. |
String SELECTED_FILES_CHANGED_PROPERTY |
Documentation changed from old to new. |
Identifies change in user's multiple-file selection. |
String SELECTED_FILE_CHANGED_PROPERTY |
Documentation changed from old to new. |
Identifies change in user's single-file selection. |
|
|||||||||
PREV CLASS NEXT CLASS FRAMES NO FRAMES |