Lines Matching refs:fc

189     protected void installDefaults(JFileChooser fc) {
190 super.installDefaults(fc);
194 public void installComponents(JFileChooser fc) {
195 super.installComponents(fc);
197 SynthContext context = getContext(fc, ENABLED);
199 fc.setLayout(new BorderLayout(0, 11));
212 fc.add(topPanel, BorderLayout.NORTH);
224 directoryComboBoxModel = createDirectoryComboBoxModel(fc);
227 directoryComboBox.setRenderer(createDirectoryComboBoxRenderer(fc));
234 fc.addPropertyChangeListener(filePane);
245 FileSystemView fsv = fc.getFileSystemView();
264 toolTipText = getFileView(fc).getName(homeDir); // Probably "Desktop".
337 fc.add(getAccessoryPanel(), BorderLayout.AFTER_LINE_ENDS);
338 JComponent accessory = fc.getAccessory();
343 fc.add(filePane, BorderLayout.CENTER);
351 fc.add(bottomPanel, BorderLayout.SOUTH);
379 if (fc.isMultiSelectionEnabled()) {
380 setFileName(fileNameString(fc.getSelectedFiles()));
382 setFileName(fileNameString(fc.getSelectedFile()));
396 fc.addPropertyChangeListener(filterComboBoxModel);
408 buttonPanel.add(getApproveButton(fc));
409 buttonPanel.add(getCancelButton(fc));
411 if (fc.getControlButtonsAreShown()) {
418 protected void installListeners(JFileChooser fc) {
419 super.installListeners(fc);
420 fc.addPropertyChangeListener(JFileChooser.FILE_SELECTION_MODE_CHANGED_PROPERTY, modeListener);
423 protected void uninstallListeners(JFileChooser fc) {
424 fc.removePropertyChangeListener(JFileChooser.FILE_SELECTION_MODE_CHANGED_PROPERTY, modeListener);
425 super.uninstallListeners(fc);
432 JFileChooser fc = getFileChooser();
433 if (fc.isDirectorySelectionEnabled() && !fc.isFileSelectionEnabled()) {
471 protected void installStrings(JFileChooser fc) {
472 super.installStrings(fc);
474 Locale l = fc.getLocale();
523 @Override public void rescanCurrentDirectory(JFileChooser fc) {
531 JFileChooser fc = getFileChooser();
533 && ((fc.isFileSelectionEnabled() && !f.isDirectory())
534 || (f.isDirectory() && fc.isDirectorySelectionEnabled()))) {
544 JFileChooser fc = getFileChooser();
547 && (files.length > 1 || fc.isDirectorySelectionEnabled() || !files[0].isDirectory())) {
555 JFileChooser fc = getFileChooser();
556 FileSystemView fsv = fc.getFileSystemView();
557 File currentDirectory = fc.getCurrentDirectory();
572 if (fc.isDirectorySelectionEnabled() && !fc.isFileSelectionEnabled()) {
586 JFileChooser fc = getFileChooser();
587 File currentDirectory = fc.getCurrentDirectory();
589 && fc.isDirectorySelectionEnabled()
590 && !fc.isFileSelectionEnabled()
591 && fc.getFileSystemView().isFileSystem(currentDirectory)) {
661 protected DirectoryComboBoxRenderer createDirectoryComboBoxRenderer(JFileChooser fc) {
732 protected DirectoryComboBoxModel createDirectoryComboBoxModel(JFileChooser fc) {