Lines Matching refs:fc

153     public void uninstallComponents(JFileChooser fc) {
154 fc.removeAll();
204 public void installComponents(JFileChooser fc) {
206 fc.addPropertyChangeListener(filePane);
208 FileSystemView fsv = fc.getFileSystemView();
210 fc.setBorder(new EmptyBorder(4, 10, 10, 10));
211 fc.setLayout(new BorderLayout(8, 8));
225 fc.add(topPanel, BorderLayout.NORTH);
264 directoryComboBoxModel = createDirectoryComboBoxModel(fc);
267 directoryComboBox.setRenderer(createDirectoryComboBoxRenderer(fc));
379 JComponent accessory = fc.getAccessory();
385 fc.add(centerPanel, BorderLayout.CENTER);
437 if (fc.isMultiSelectionEnabled()) {
438 setFileName(fileNameString(fc.getSelectedFiles()));
440 setFileName(fileNameString(fc.getSelectedFile()));
447 fc.addPropertyChangeListener(filterComboBoxModel);
459 approveButton = new JButton(getApproveButtonText(fc)) {
469 approveButton.setMnemonic(getApproveButtonMnemonic(fc));
471 approveButton.setToolTipText(getApproveButtonToolTipText(fc));
487 if(fc.getControlButtonsAreShown()) {
495 JFileChooser fc = getFileChooser();
497 if (FilePane.usesShellFolder(fc)) {
499 placesBar = new WindowsPlacesBar(fc, XPStyle.getXP() != null);
500 fc.add(placesBar, BorderLayout.BEFORE_LINE_BEGINS);
501 fc.addPropertyChangeListener(placesBar);
505 fc.remove(placesBar);
506 fc.removePropertyChangeListener(placesBar);
526 protected void installStrings(JFileChooser fc) {
527 super.installStrings(fc);
529 Locale l = fc.getLocale();
557 protected void installListeners(JFileChooser fc) {
558 super.installListeners(fc);
560 SwingUtilities.replaceUIActionMap(fc, actionMap);
573 protected JPanel createList(JFileChooser fc) {
577 protected JPanel createDetailsView(JFileChooser fc) {
584 * @param fc a <code>JFileChooser</code>
587 public ListSelectionListener createListSelectionListener(JFileChooser fc) {
588 return super.createListSelectionListener(fc);
671 JFileChooser fc = getFileChooser();
672 if ((fc.isDirectorySelectionEnabled() && !fc.isFileSelectionEnabled()) ||
673 (fc.isDirectorySelectionEnabled() && fc.isFileSelectionEnabled() && fc.getFileSystemView().isFileSystemRoot(file))){
702 JFileChooser fc = getFileChooser();
704 && ((fc.isFileSelectionEnabled() && !f.isDirectory())
705 || (f.isDirectory() && fc.isDirectorySelectionEnabled()))) {
713 JFileChooser fc = getFileChooser();
716 && (files.length > 1 || fc.isDirectorySelectionEnabled() || !files[0].isDirectory())) {
722 JFileChooser fc = getFileChooser();
723 FileSystemView fsv = fc.getFileSystemView();
726 File currentDirectory = fc.getCurrentDirectory();
730 if (fc.isDirectorySelectionEnabled() && !fc.isFileSelectionEnabled()) {
750 JFileChooser fc = getFileChooser();
751 File currentDirectory = fc.getCurrentDirectory();
753 && fc.isDirectorySelectionEnabled()
754 && !fc.isFileSelectionEnabled()
755 && fc.getFileSystemView().isFileSystem(currentDirectory)) {
810 public PropertyChangeListener createPropertyChangeListener(JFileChooser fc) {
864 public void ensureFileIsVisible(JFileChooser fc, File f) {
865 filePane.ensureFileIsVisible(fc, f);
868 public void rescanCurrentDirectory(JFileChooser fc) {
916 protected DirectoryComboBoxRenderer createDirectoryComboBoxRenderer(JFileChooser fc) {
1032 protected DirectoryComboBoxModel createDirectoryComboBoxModel(JFileChooser fc) {
1263 JFileChooser fc = getFileChooser();
1264 File f = fc.getSelectedFile();
1284 protected JButton getApproveButton(JFileChooser fc) {
1288 public FileView getFileView(JFileChooser fc) {