Lines Matching defs:fc

152     public void uninstallComponents(JFileChooser fc) {
153 fc.removeAll();
203 public void installComponents(JFileChooser fc) {
205 fc.addPropertyChangeListener(filePane);
207 FileSystemView fsv = fc.getFileSystemView();
209 fc.setBorder(new EmptyBorder(4, 10, 10, 10));
210 fc.setLayout(new BorderLayout(8, 8));
224 fc.add(topPanel, BorderLayout.NORTH);
267 directoryComboBoxModel = createDirectoryComboBoxModel(fc);
270 directoryComboBox.setRenderer(createDirectoryComboBoxRenderer(fc));
382 JComponent accessory = fc.getAccessory();
388 fc.add(centerPanel, BorderLayout.CENTER);
441 if (fc.isMultiSelectionEnabled()) {
442 setFileName(fileNameString(fc.getSelectedFiles()));
444 setFileName(fileNameString(fc.getSelectedFile()));
451 fc.addPropertyChangeListener(filterComboBoxModel);
464 JButton tmp4 = new JButton(getApproveButtonText(fc)) {
475 approveButton.setMnemonic(getApproveButtonMnemonic(fc));
477 approveButton.setToolTipText(getApproveButtonToolTipText(fc));
495 if(fc.getControlButtonsAreShown()) {
503 JFileChooser fc = getFileChooser();
505 if (FilePane.usesShellFolder(fc)) {
507 placesBar = new WindowsPlacesBar(fc, XPStyle.getXP() != null);
508 fc.add(placesBar, BorderLayout.BEFORE_LINE_BEGINS);
509 fc.addPropertyChangeListener(placesBar);
513 fc.remove(placesBar);
514 fc.removePropertyChangeListener(placesBar);
534 protected void installStrings(JFileChooser fc) {
535 super.installStrings(fc);
537 Locale l = fc.getLocale();
565 protected void installListeners(JFileChooser fc) {
566 super.installListeners(fc);
568 SwingUtilities.replaceUIActionMap(fc, actionMap);
581 protected JPanel createList(JFileChooser fc) {
585 protected JPanel createDetailsView(JFileChooser fc) {
592 * @param fc a <code>JFileChooser</code>
595 public ListSelectionListener createListSelectionListener(JFileChooser fc) {
596 return super.createListSelectionListener(fc);
684 JFileChooser fc = getFileChooser();
685 if ((fc.isDirectorySelectionEnabled() && !fc.isFileSelectionEnabled()) ||
686 (fc.isDirectorySelectionEnabled() && fc.isFileSelectionEnabled() && fc.getFileSystemView().isFileSystemRoot(file))){
715 JFileChooser fc = getFileChooser();
717 && ((fc.isFileSelectionEnabled() && !f.isDirectory())
718 || (f.isDirectory() && fc.isDirectorySelectionEnabled()))) {
726 JFileChooser fc = getFileChooser();
729 && (files.length > 1 || fc.isDirectorySelectionEnabled() || !files[0].isDirectory())) {
735 JFileChooser fc = getFileChooser();
736 FileSystemView fsv = fc.getFileSystemView();
739 File currentDirectory = fc.getCurrentDirectory();
743 if (fc.isDirectorySelectionEnabled() && !fc.isFileSelectionEnabled()) {
763 JFileChooser fc = getFileChooser();
764 File currentDirectory = fc.getCurrentDirectory();
766 && fc.isDirectorySelectionEnabled()
767 && !fc.isFileSelectionEnabled()
768 && fc.getFileSystemView().isFileSystem(currentDirectory)) {
823 public PropertyChangeListener createPropertyChangeListener(JFileChooser fc) {
877 public void ensureFileIsVisible(JFileChooser fc, File f) {
878 filePane.ensureFileIsVisible(fc, f);
881 public void rescanCurrentDirectory(JFileChooser fc) {
929 protected DirectoryComboBoxRenderer createDirectoryComboBoxRenderer(JFileChooser fc) {
1047 protected DirectoryComboBoxModel createDirectoryComboBoxModel(JFileChooser fc) {
1275 JFileChooser fc = getFileChooser();
1276 File f = fc.getSelectedFile();
1296 protected JButton getApproveButton(JFileChooser fc) {
1300 public FileView getFileView(JFileChooser fc) {