Module java.desktop

Class BasicFileChooserUI.BasicFileView

java.lang.Object
javax.swing.filechooser.FileView
javax.swing.plaf.basic.BasicFileChooserUI.BasicFileView
Enclosing class:
BasicFileChooserUI

protected class BasicFileChooserUI.BasicFileView extends FileView
A basic file view.
  • Field Details Link icon

  • Constructor Details Link icon

    • BasicFileView Link icon

      public BasicFileView()
      Constructs a BasicFileView.
  • Method Details Link icon

    • clearIconCache Link icon

      public void clearIconCache()
      Clears the icon cache.
    • getCachedIcon Link icon

      public Icon getCachedIcon(File f)
      Returns the cached icon for the file.
      Parameters:
      f - the file
      Returns:
      the cached icon for the file
    • cacheIcon Link icon

      public void cacheIcon(File f, Icon i)
      Caches an icon for a file.
      Parameters:
      f - the file
      i - the icon
    • isHidden Link icon

      public Boolean isHidden(File f)
      Returns whether or not a file is hidden.
      Parameters:
      f - the file
      Returns:
      whether or not a file is hidden