Class RadianceFileChooserUI


  • public class RadianceFileChooserUI
    extends javax.swing.plaf.metal.MetalFileChooserUI
    UI for file chooser in Radiance look and feel. The BasicFileChooserUI can't be used on its own (creates an empty dialog).
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      private class  RadianceFileChooserUI.RadianceFileView
      Custom file view implementation that returns system-specific file icons.
      private static class  RadianceFileChooserUI.RadianceFooterLayout
      This class extends ButtonAreaLayout from the base class because in one of the places there is an explicit cast of the button container to that layout.
      • Nested classes/interfaces inherited from class javax.swing.plaf.metal.MetalFileChooserUI

        javax.swing.plaf.metal.MetalFileChooserUI.DirectoryComboBoxAction, javax.swing.plaf.metal.MetalFileChooserUI.DirectoryComboBoxModel, javax.swing.plaf.metal.MetalFileChooserUI.FileRenderer, javax.swing.plaf.metal.MetalFileChooserUI.FilterComboBoxModel, javax.swing.plaf.metal.MetalFileChooserUI.FilterComboBoxRenderer, javax.swing.plaf.metal.MetalFileChooserUI.SingleClickListener
      • Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicFileChooserUI

        javax.swing.plaf.basic.BasicFileChooserUI.AcceptAllFileFilter, javax.swing.plaf.basic.BasicFileChooserUI.ApproveSelectionAction, javax.swing.plaf.basic.BasicFileChooserUI.BasicFileView, javax.swing.plaf.basic.BasicFileChooserUI.CancelSelectionAction, javax.swing.plaf.basic.BasicFileChooserUI.ChangeToParentDirectoryAction, javax.swing.plaf.basic.BasicFileChooserUI.DoubleClickListener, javax.swing.plaf.basic.BasicFileChooserUI.GoHomeAction, javax.swing.plaf.basic.BasicFileChooserUI.NewFolderAction, javax.swing.plaf.basic.BasicFileChooserUI.SelectionListener, javax.swing.plaf.basic.BasicFileChooserUI.UpdateAction
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private RadianceFileChooserUI.RadianceFileView fileView
      Custom file view - for system icons on the files.
      private static int ICON_SIZE  
      • Fields inherited from class javax.swing.plaf.basic.BasicFileChooserUI

        cancelButtonMnemonic, cancelButtonText, cancelButtonToolTipText, computerIcon, detailsViewIcon, directoryIcon, directoryOpenButtonMnemonic, directoryOpenButtonText, directoryOpenButtonToolTipText, fileIcon, floppyDriveIcon, hardDriveIcon, helpButtonMnemonic, helpButtonText, helpButtonToolTipText, homeFolderIcon, listViewIcon, newFolderIcon, openButtonMnemonic, openButtonText, openButtonToolTipText, saveButtonMnemonic, saveButtonText, saveButtonToolTipText, updateButtonMnemonic, updateButtonText, updateButtonToolTipText, upFolderIcon, viewMenuIcon
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected RadianceFileChooserUI​(javax.swing.JFileChooser filechooser)
      Creates the UI delegate for the specified file chooser.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static javax.swing.plaf.ComponentUI createUI​(javax.swing.JComponent comp)  
      javax.swing.filechooser.FileView getFileView​(javax.swing.JFileChooser fc)  
      void installComponents​(javax.swing.JFileChooser fc)  
      protected void installIcons​(javax.swing.JFileChooser fc)  
      • Methods inherited from class javax.swing.plaf.metal.MetalFileChooserUI

        addControlButtons, createActionMap, createDetailsView, createDirectoryComboBoxModel, createFilterComboBoxModel, createFilterComboBoxRenderer, createList, createListSelectionListener, createPropertyChangeListener, ensureFileIsVisible, getActionMap, getApproveButton, getBottomPanel, getButtonPanel, getDirectoryName, getFileName, getMaximumSize, getMinimumSize, getPreferredSize, installListeners, installStrings, installUI, removeControlButtons, rescanCurrentDirectory, setDirectoryName, setDirectorySelected, setFileName, uninstallComponents, uninstallUI, valueChanged
      • Methods inherited from class javax.swing.plaf.basic.BasicFileChooserUI

        clearIconCache, createDoubleClickListener, createModel, getAcceptAllFileFilter, getAccessoryPanel, getApproveButtonMnemonic, getApproveButtonText, getApproveButtonToolTipText, getApproveSelectionAction, getCancelSelectionAction, getChangeToParentDirectoryAction, getDefaultButton, getDialogTitle, getDirectory, getFileChooser, getGoHomeAction, getModel, getNewFolderAction, getUpdateAction, installDefaults, isDirectorySelected, setDirectory, uninstallDefaults, uninstallIcons, uninstallListeners, uninstallStrings
      • Methods inherited from class javax.swing.plaf.ComponentUI

        contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, paint, update
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RadianceFileChooserUI

        protected RadianceFileChooserUI​(javax.swing.JFileChooser filechooser)
        Creates the UI delegate for the specified file chooser.
        Parameters:
        filechooser - File chooser.
    • Method Detail

      • createUI

        public static javax.swing.plaf.ComponentUI createUI​(javax.swing.JComponent comp)
      • getFileView

        public javax.swing.filechooser.FileView getFileView​(javax.swing.JFileChooser fc)
        Overrides:
        getFileView in class javax.swing.plaf.basic.BasicFileChooserUI
      • installIcons

        protected void installIcons​(javax.swing.JFileChooser fc)
        Overrides:
        installIcons in class javax.swing.plaf.basic.BasicFileChooserUI
      • installComponents

        public void installComponents​(javax.swing.JFileChooser fc)
        Overrides:
        installComponents in class javax.swing.plaf.metal.MetalFileChooserUI