API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf.basic. BasicFileChooserUI View Source
Author(s)
Jeff Dinkins
Since
Version
%i% %g%
Serial
Hierarchy
 Object
      ComponentUI
          FileChooserUI
              BasicFileChooserUI
Implements
Subclasses
Description
public class BasicFileChooserUI
Basic L&F implementation of a FileChooser.
See also:   
Constructors
public BasicFileChooserUI (JFileChooser b)
Methods
Hide/Show inherited methods
public void clearIconCache ()
public boolean contains (JComponent c, int x, int y) [Inherited From ComponentUI]
  Returns true if the specified x,y location is contained within the look and feel's defined shape of the specified component.
pack-private ActionMap createActionMap ()
protected MouseListener createDoubleClickListener (JFileChooser fc, JList list)
public ListSelectionListener createListSelectionListener (JFileChooser fc)
protected void createModel ()
public PropertyChangeListener createPropertyChangeListener (JFileChooser fc)
publicstatic ComponentUI createUI (JComponent c) [Inherited From ComponentUI]
  Returns an instance of the UI delegate for the specified component.
public void ensureFileIsVisible (JFileChooser fc, File f) [Specified in FileChooserUI]
public FileFilter getAcceptAllFileFilter (JFileChooser fc) [Specified in FileChooserUI]
Returns the default accept all file filter
public Accessible getAccessibleChild (JComponent c, int i) [Inherited From ComponentUI]
  Returns the ith Accessible child of the object.
public int getAccessibleChildrenCount (JComponent c) [Inherited From ComponentUI]
  Returns the number of accessible children in the object.
public JPanel getAccessoryPanel ()
pack-private ActionMap getActionMap ()
protected JButton getApproveButton (JFileChooser fc)
public int getApproveButtonMnemonic (JFileChooser fc)
public String getApproveButtonText (JFileChooser fc) [Specified in FileChooserUI]
public String getApproveButtonToolTipText (JFileChooser fc)
public Action getApproveSelectionAction ()
public int getBaseline (JComponent c, int width, int height) [Inherited From ComponentUI]
  Returns the baseline.
public BaselineResizeBehavior getBaselineResizeBehavior (JComponent c) [Inherited From ComponentUI]
  Returns an enum indicating how the baseline of he component changes as the size changes.
public Action getCancelSelectionAction ()
public Action getChangeToParentDirectoryAction ()
public String getDialogTitle (JFileChooser fc) [Specified in FileChooserUI]
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) [Specified in FileChooserUI]
public Action getGoHomeAction ()
pack-private InputMap getInputMap (int condition)
public Dimension getMaximumSize (JComponent c) [Inherited From ComponentUI]
  Returns the specified component's maximum size appropriate for the look and feel.
public Dimension getMinimumSize (JComponent c) [Inherited From ComponentUI]
  Returns the specified component's minimum size appropriate for the look and feel.
public BasicDirectoryModel getModel ()
public Action getNewFolderAction ()
public Dimension getPreferredSize (JComponent c) [Inherited From ComponentUI]
  Returns the specified component's preferred size appropriate for the look and feel.
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) [Overrides ComponentUI]
protected boolean isDirectorySelected ()
  Property to remember whether a directory is currently selected in the UI.
public void paint (Graphics g, JComponent c) [Inherited From ComponentUI]
  Paints the specified component appropriate for the look and feel.
public void rescanCurrentDirectory (JFileChooser fc) [Specified in FileChooserUI]
protected void setDirectory (File f)
  Property to remember the directory that is currently selected in the UI.
public void setDirectoryName (String dirname)
protected void setDirectorySelected (boolean b)
  Property to remember whether a directory is currently selected in the UI.
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) [Overrides ComponentUI]
public void update (Graphics g, JComponent c) [Inherited From ComponentUI]
  Notifies this UI delegate that it's time to paint the specified component.
Fields
Hide/Show inherited fields
protected int cancelButtonMnemonic
protected String cancelButtonText
protected String cancelButtonToolTipText
protected Icon computerIcon
protected Icon detailsViewIcon
protected Icon directoryIcon
protected int directoryOpenButtonMnemonic
  The mnemonic keycode used for the approve button when a directory is selected and the current selection mode is FILES_ONLY.
protected String directoryOpenButtonText
  The label text displayed on the approve button when a directory is selected and the current selection mode is FILES_ONLY.
protected String directoryOpenButtonToolTipText
  The tooltip text displayed on the approve button when a directory is selected and the current selection mode is FILES_ONLY.
protected Icon fileIcon
protected Icon floppyDriveIcon
protected Icon hardDriveIcon
protected int helpButtonMnemonic
protected String helpButtonText
protected String helpButtonToolTipText
protected Icon homeFolderIcon
protected Icon listViewIcon
protected Icon newFolderIcon
protected int openButtonMnemonic
protected String openButtonText
protected String openButtonToolTipText
protected int saveButtonMnemonic
protected String saveButtonText
protected String saveButtonToolTipText
protected int updateButtonMnemonic
protected String updateButtonText
protected String updateButtonToolTipText
protected Icon upFolderIcon
Nested Classes
  BasicFileChooserUI.DoubleClickListener
  BasicFileChooserUI.SelectionListener
  BasicFileChooserUI.NewFolderAction
Creates a new folder.
  BasicFileChooserUI.GoHomeAction
Acts on the "home" key event or equivalent event.
  BasicFileChooserUI.ChangeToParentDirectoryAction
  BasicFileChooserUI.ApproveSelectionAction
Responds to an Open or Save request
  BasicFileChooserUI.GlobFilter
  BasicFileChooserUI.CancelSelectionAction
Responds to a cancel request.
  BasicFileChooserUI.UpdateAction
Rescans the files in the current directory
  BasicFileChooserUI.AcceptAllFileFilter
  BasicFileChooserUI.BasicFileView
  BasicFileChooserUI.FileTransferHandler
Data transfer support for the file chooser.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar