Lines Matching refs:fc

156     public void uninstallComponents(JFileChooser fc) {
157 fc.removeAll();
209 public void installComponents(JFileChooser fc) {
210 FileSystemView fsv = fc.getFileSystemView();
212 fc.setBorder(new EmptyBorder(12, 12, 11, 11));
213 fc.setLayout(new BorderLayout(0, 11));
216 fc.addPropertyChangeListener(filePane);
229 fc.add(topPanel, BorderLayout.NORTH);
249 directoryComboBoxModel = createDirectoryComboBoxModel(fc);
252 directoryComboBox.setRenderer(createDirectoryComboBoxRenderer(fc));
277 toolTipText = getFileView(fc).getName(homeDir); // Probably "Desktop".
358 fc.add(getAccessoryPanel(), BorderLayout.AFTER_LINE_ENDS);
359 JComponent accessory = fc.getAccessory();
364 fc.add(filePane, BorderLayout.CENTER);
371 fc.add(bottomPanel, BorderLayout.SOUTH);
399 if (fc.isMultiSelectionEnabled()) {
400 setFileName(fileNameString(fc.getSelectedFiles()));
402 setFileName(fileNameString(fc.getSelectedFile()));
416 fc.addPropertyChangeListener(filterComboBoxModel);
427 approveButton = new JButton(getApproveButtonText(fc));
430 approveButton.setToolTipText(getApproveButtonToolTipText(fc));
438 if(fc.getControlButtonsAreShown()) {
459 protected void installStrings(JFileChooser fc) {
460 super.installStrings(fc);
462 Locale l = fc.getLocale();
496 protected void installListeners(JFileChooser fc) {
497 super.installListeners(fc);
499 SwingUtilities.replaceUIActionMap(fc, actionMap);
512 protected JPanel createList(JFileChooser fc) {
516 protected JPanel createDetailsView(JFileChooser fc) {
523 * @param fc a <code>JFileChooser</code>
526 public ListSelectionListener createListSelectionListener(JFileChooser fc) {
527 return super.createListSelectionListener(fc);
605 JFileChooser fc = getFileChooser();
606 if ((fc.isDirectorySelectionEnabled() && !fc.isFileSelectionEnabled()) ||
607 (fc.isDirectorySelectionEnabled() && fc.isFileSelectionEnabled() && fc.getFileSystemView().isFileSystemRoot(file))) {
636 JFileChooser fc = getFileChooser();
638 && ((fc.isFileSelectionEnabled() && !f.isDirectory())
639 || (f.isDirectory() && fc.isDirectorySelectionEnabled()))) {
647 JFileChooser fc = getFileChooser();
650 && (files.length > 1 || fc.isDirectorySelectionEnabled() || !files[0].isDirectory())) {
656 JFileChooser fc = getFileChooser();
657 FileSystemView fsv = fc.getFileSystemView();
660 File currentDirectory = fc.getCurrentDirectory();
664 if (fc.isDirectorySelectionEnabled() && !fc.isFileSelectionEnabled()) {
684 JFileChooser fc = getFileChooser();
685 File currentDirectory = fc.getCurrentDirectory();
687 && fc.isDirectorySelectionEnabled()
688 && !fc.isFileSelectionEnabled()
689 && fc.getFileSystemView().isFileSystem(currentDirectory)) {
742 public PropertyChangeListener createPropertyChangeListener(JFileChooser fc) {
795 public void ensureFileIsVisible(JFileChooser fc, File f) {
796 filePane.ensureFileIsVisible(fc, f);
799 public void rescanCurrentDirectory(JFileChooser fc) {
849 protected DirectoryComboBoxRenderer createDirectoryComboBoxRenderer(JFileChooser fc) {
906 protected DirectoryComboBoxModel createDirectoryComboBoxModel(JFileChooser fc) {
1137 JFileChooser fc = getFileChooser();
1138 File f = fc.getSelectedFile();
1161 protected JButton getApproveButton(JFileChooser fc) {