Home » openjdk-7 » javax » swing » plaf » basic » [javadoc | source]
javax.swing.plaf.basic
public class: BasicFileChooserUI [javadoc | source]
java.lang.Object
   javax.swing.plaf.ComponentUI
      javax.swing.plaf.FileChooserUI
         javax.swing.plaf.basic.BasicFileChooserUI

Direct Known Subclasses:
    MetalFileChooserUI

Basic L&F implementation of a FileChooser.
Nested Class Summary:
protected class  BasicFileChooserUI.DoubleClickListener   
protected class  BasicFileChooserUI.SelectionListener   
protected class  BasicFileChooserUI.NewFolderAction  Creates a new folder. 
protected class  BasicFileChooserUI.GoHomeAction  Acts on the "home" key event or equivalent event. 
protected class  BasicFileChooserUI.ChangeToParentDirectoryAction   
protected class  BasicFileChooserUI.ApproveSelectionAction  Responds to an Open or Save request 
class  BasicFileChooserUI.GlobFilter   
protected class  BasicFileChooserUI.CancelSelectionAction  Responds to a cancel request. 
protected class  BasicFileChooserUI.UpdateAction  Rescans the files in the current directory 
protected class  BasicFileChooserUI.AcceptAllFileFilter   
protected class  BasicFileChooserUI.BasicFileView   
static class  BasicFileChooserUI.FileTransferHandler  Data transfer support for the file chooser. Since files are currently presented as a list, the list support is reused with the added flavor of DataFlavor.javaFileListFlavor 
Field Summary
protected  Icon directoryIcon     
protected  Icon fileIcon     
protected  Icon computerIcon     
protected  Icon hardDriveIcon     
protected  Icon floppyDriveIcon     
protected  Icon newFolderIcon     
protected  Icon upFolderIcon     
protected  Icon homeFolderIcon     
protected  Icon listViewIcon     
protected  Icon detailsViewIcon     
protected  Icon viewMenuIcon     
protected  int saveButtonMnemonic     
protected  int openButtonMnemonic     
protected  int cancelButtonMnemonic     
protected  int updateButtonMnemonic     
protected  int helpButtonMnemonic     
protected  int directoryOpenButtonMnemonic    The mnemonic keycode used for the approve button when a directory is selected and the current selection mode is FILES_ONLY.
    since: 1.4 -
 
protected  String saveButtonText     
protected  String openButtonText     
protected  String cancelButtonText     
protected  String updateButtonText     
protected  String helpButtonText     
protected  String directoryOpenButtonText    The label text displayed on the approve button when a directory is selected and the current selection mode is FILES_ONLY.
    since: 1.4 -
 
protected  String saveButtonToolTipText     
protected  String openButtonToolTipText     
protected  String cancelButtonToolTipText     
protected  String updateButtonToolTipText     
protected  String helpButtonToolTipText     
protected  String directoryOpenButtonToolTipText    The tooltip text displayed on the approve button when a directory is selected and the current selection mode is FILES_ONLY.
    since: 1.4 -
 
Constructor:
 public BasicFileChooserUI(JFileChooser b) 
Method from javax.swing.plaf.basic.BasicFileChooserUI Summary:
clearIconCache,   createActionMap,   createDoubleClickListener,   createListSelectionListener,   createModel,   createPropertyChangeListener,   createUI,   ensureFileIsVisible,   getAcceptAllFileFilter,   getAccessoryPanel,   getActionMap,   getApproveButton,   getApproveButtonMnemonic,   getApproveButtonText,   getApproveButtonToolTipText,   getApproveSelectionAction,   getCancelSelectionAction,   getChangeToParentDirectoryAction,   getDefaultButton,   getDialogTitle,   getDirectory,   getDirectoryName,   getFileChooser,   getFileName,   getFileView,   getGoHomeAction,   getInputMap,   getModel,   getNewFolderAction,   getUpdateAction,   installComponents,   installDefaults,   installIcons,   installListeners,   installStrings,   installUI,   isDirectorySelected,   rescanCurrentDirectory,   setDirectory,   setDirectoryName,   setDirectorySelected,   setFileName,   uninstallComponents,   uninstallDefaults,   uninstallIcons,   uninstallListeners,   uninstallStrings,   uninstallUI
Methods from javax.swing.plaf.FileChooserUI:
ensureFileIsVisible,   getAcceptAllFileFilter,   getApproveButtonText,   getDefaultButton,   getDialogTitle,   getFileView,   rescanCurrentDirectory
Methods from javax.swing.plaf.ComponentUI:
contains,   createUI,   getAccessibleChild,   getAccessibleChildrenCount,   getBaseline,   getBaselineResizeBehavior,   getMaximumSize,   getMinimumSize,   getPreferredSize,   installUI,   paint,   uninstallUI,   update
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.plaf.basic.BasicFileChooserUI Detail:
 public  void clearIconCache() 
 ActionMap createActionMap() 
 protected MouseListener createDoubleClickListener(JFileChooser fc,
    JList list) 
 public ListSelectionListener createListSelectionListener(JFileChooser fc) 
 protected  void createModel() 
 public PropertyChangeListener createPropertyChangeListener(JFileChooser fc) 
 public static ComponentUI createUI(JComponent c) 
    Creates a {@code BasicFileChooserUI} implementation for the specified component. By default the {@code BasicLookAndFeel} class uses {@code createUI} methods of all basic UIs classes to instantiate UIs.
 public  void ensureFileIsVisible(JFileChooser fc,
    File f) 
 public FileFilter getAcceptAllFileFilter(JFileChooser fc) 
    Returns the default accept all file filter
 public JPanel getAccessoryPanel() 
 ActionMap getActionMap() 
 protected JButton getApproveButton(JFileChooser fc) 
 public int getApproveButtonMnemonic(JFileChooser fc) 
 public String getApproveButtonText(JFileChooser fc) 
 public String getApproveButtonToolTipText(JFileChooser fc) 
 public Action getApproveSelectionAction() 
 public Action getCancelSelectionAction() 
 public Action getChangeToParentDirectoryAction() 
 public JButton getDefaultButton(JFileChooser fc) 
 public String getDialogTitle(JFileChooser fc) 
    Returns the title of this dialog
 protected File getDirectory() 
    Property to remember the directory that is currently selected in the UI.
 public String getDirectoryName() 
 public JFileChooser getFileChooser() 
 public String getFileName() 
 public FileView getFileView(JFileChooser fc) 
 public Action getGoHomeAction() 
 InputMap getInputMap(int condition) 
 public BasicDirectoryModel getModel() 
 public Action getNewFolderAction() 
 public Action getUpdateAction() 
 public  void installComponents(JFileChooser fc) 
 protected  void installDefaults(JFileChooser fc) 
 protected  void installIcons(JFileChooser fc) 
 protected  void installListeners(JFileChooser fc) 
 protected  void installStrings(JFileChooser fc) 
 public  void installUI(JComponent c) 
 protected boolean isDirectorySelected() 
    Property to remember whether a directory is currently selected in the UI.
 public  void rescanCurrentDirectory(JFileChooser fc) 
 protected  void setDirectory(File f) 
    Property to remember the directory that is currently selected in the UI. This is normally called by the UI on a selection event.
 public  void setDirectoryName(String dirname) 
 protected  void setDirectorySelected(boolean b) 
    Property to remember whether a directory is currently selected in the UI. This is normally called by the UI on a selection event.
 public  void setFileName(String filename) 
 public  void uninstallComponents(JFileChooser fc) 
 protected  void uninstallDefaults(JFileChooser fc) 
 protected  void uninstallIcons(JFileChooser fc) 
 protected  void uninstallListeners(JFileChooser fc) 
 protected  void uninstallStrings(JFileChooser fc) 
 public  void uninstallUI(JComponent c)