API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf.metal. MetalFileChooserUI View Source
Author(s)
Jeff Dinkins
Since
Version
1.93 05/24/06
Serial
Hierarchy
 Object
      ComponentUI
          FileChooserUI
              BasicFileChooserUI
                  MetalFileChooserUI
Implements
Subclasses
Description
public class MetalFileChooserUI
Metal L&F implementation of a FileChooser.
See also:   
Constructors
public MetalFileChooserUI (JFileChooser filechooser)
Methods
Hide/Show inherited methods
protected void addControlButtons ()
public void clearIconCache () [Inherited From BasicFileChooserUI]
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.
protected ActionMap createActionMap ()
protected JPanel createDetailsView (JFileChooser fc)
protected DirectoryComboBoxModel createDirectoryComboBoxModel (JFileChooser fc)
protected DirectoryComboBoxRenderer createDirectoryComboBoxRenderer (JFileChooser fc)
protected MouseListener createDoubleClickListener (JFileChooser fc, JList list) [Inherited From BasicFileChooserUI]
protected FilterComboBoxModel createFilterComboBoxModel ()
protected FilterComboBoxRenderer createFilterComboBoxRenderer ()
protected JPanel createList (JFileChooser fc)
public ListSelectionListener createListSelectionListener (JFileChooser fc) [Overrides BasicFileChooserUI]
  Creates a selection listener for the list of files and directories.
protected void createModel () [Inherited From BasicFileChooserUI]
public PropertyChangeListener createPropertyChangeListener (JFileChooser fc) [Overrides BasicFileChooserUI]
publicstatic ComponentUI createUI (JComponent c) [Overrides ComponentUI]
public void ensureFileIsVisible (JFileChooser fc, File f) [Overrides BasicFileChooserUI] [Specified in FileChooserUI]
public FileFilter getAcceptAllFileFilter (JFileChooser fc) [Inherited From BasicFileChooserUI] [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 () [Inherited From BasicFileChooserUI]
protected ActionMap getActionMap ()
protected JButton getApproveButton (JFileChooser fc) [Overrides BasicFileChooserUI]
public int getApproveButtonMnemonic (JFileChooser fc) [Inherited From BasicFileChooserUI]
public String getApproveButtonText (JFileChooser fc) [Inherited From BasicFileChooserUI] [Specified in FileChooserUI]
public String getApproveButtonToolTipText (JFileChooser fc) [Inherited From BasicFileChooserUI]
public Action getApproveSelectionAction () [Inherited From BasicFileChooserUI]
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.
protected JPanel getBottomPanel ()
protected JPanel getButtonPanel ()
public Action getCancelSelectionAction () [Inherited From BasicFileChooserUI]
public Action getChangeToParentDirectoryAction () [Inherited From BasicFileChooserUI]
public String getDialogTitle (JFileChooser fc) [Inherited From BasicFileChooserUI] [Specified in FileChooserUI]
Returns the title of this dialog
protected File getDirectory () [Inherited From BasicFileChooserUI]
  Property to remember the directory that is currently selected in the UI.
public String getDirectoryName () [Overrides BasicFileChooserUI]
public JFileChooser getFileChooser () [Inherited From BasicFileChooserUI]
public String getFileName () [Overrides BasicFileChooserUI]
public FileView getFileView (JFileChooser fc) [Inherited From BasicFileChooserUI] [Specified in FileChooserUI]
public Action getGoHomeAction () [Inherited From BasicFileChooserUI]
public Dimension getMaximumSize (JComponent c) [Overrides ComponentUI]
  Returns the maximum size of the JFileChooser.
public Dimension getMinimumSize (JComponent c) [Overrides ComponentUI]
  Returns the minimum size of the JFileChooser.
public BasicDirectoryModel getModel () [Inherited From BasicFileChooserUI]
public Action getNewFolderAction () [Inherited From BasicFileChooserUI]
public Dimension getPreferredSize (JComponent c) [Overrides ComponentUI]
  Returns the preferred size of the specified JFileChooser.
public Action getUpdateAction () [Inherited From BasicFileChooserUI]
public void installComponents (JFileChooser fc) [Overrides BasicFileChooserUI]
protected void installDefaults (JFileChooser fc) [Inherited From BasicFileChooserUI]
protected void installIcons (JFileChooser fc) [Inherited From BasicFileChooserUI]
protected void installListeners (JFileChooser fc) [Overrides BasicFileChooserUI]
protected void installStrings (JFileChooser fc) [Overrides BasicFileChooserUI]
public void installUI (JComponent c) [Overrides BasicFileChooserUI]
protected boolean isDirectorySelected () [Inherited From BasicFileChooserUI]
  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.
protected void removeControlButtons ()
public void rescanCurrentDirectory (JFileChooser fc) [Overrides BasicFileChooserUI] [Specified in FileChooserUI]
protected void setDirectory (File f) [Inherited From BasicFileChooserUI]
  Property to remember the directory that is currently selected in the UI.
public void setDirectoryName (String dirname) [Overrides BasicFileChooserUI]
protected void setDirectorySelected (boolean directorySelected) [Overrides BasicFileChooserUI]
  Property to remember whether a directory is currently selected in the UI.
public void setFileName (String filename) [Overrides BasicFileChooserUI]
public void uninstallComponents (JFileChooser fc) [Overrides BasicFileChooserUI]
protected void uninstallDefaults (JFileChooser fc) [Inherited From BasicFileChooserUI]
protected void uninstallIcons (JFileChooser fc) [Inherited From BasicFileChooserUI]
protected void uninstallListeners (JFileChooser fc) [Inherited From BasicFileChooserUI]
protected void uninstallStrings (JFileChooser fc) [Inherited From BasicFileChooserUI]
public void uninstallUI (JComponent c) [Overrides BasicFileChooserUI]
public void update (Graphics g, JComponent c) [Inherited From ComponentUI]
  Notifies this UI delegate that it's time to paint the specified component.
public void valueChanged (ListSelectionEvent e)
Fields
Hide/Show inherited fields
protected int cancelButtonMnemonic [Inherited From BasicFileChooserUI]
protected String cancelButtonText [Inherited From BasicFileChooserUI]
protected String cancelButtonToolTipText [Inherited From BasicFileChooserUI]
protected Icon computerIcon [Inherited From BasicFileChooserUI]
protected Icon detailsViewIcon [Inherited From BasicFileChooserUI]
protected Icon directoryIcon [Inherited From BasicFileChooserUI]
protected int directoryOpenButtonMnemonic [Inherited From BasicFileChooserUI]
  The mnemonic keycode used for the approve button when a directory is selected and the current selection mode is FILES_ONLY.
protected String directoryOpenButtonText [Inherited From BasicFileChooserUI]
  The label text displayed on the approve button when a directory is selected and the current selection mode is FILES_ONLY.
protected String directoryOpenButtonToolTipText [Inherited From BasicFileChooserUI]
  The tooltip text displayed on the approve button when a directory is selected and the current selection mode is FILES_ONLY.
protected Icon fileIcon [Inherited From BasicFileChooserUI]
protected Icon floppyDriveIcon [Inherited From BasicFileChooserUI]
protected Icon hardDriveIcon [Inherited From BasicFileChooserUI]
protected int helpButtonMnemonic [Inherited From BasicFileChooserUI]
protected String helpButtonText [Inherited From BasicFileChooserUI]
protected String helpButtonToolTipText [Inherited From BasicFileChooserUI]
protected Icon homeFolderIcon [Inherited From BasicFileChooserUI]
protected Icon listViewIcon [Inherited From BasicFileChooserUI]
protected Icon newFolderIcon [Inherited From BasicFileChooserUI]
protected int openButtonMnemonic [Inherited From BasicFileChooserUI]
protected String openButtonText [Inherited From BasicFileChooserUI]
protected String openButtonToolTipText [Inherited From BasicFileChooserUI]
protected int saveButtonMnemonic [Inherited From BasicFileChooserUI]
protected String saveButtonText [Inherited From BasicFileChooserUI]
protected String saveButtonToolTipText [Inherited From BasicFileChooserUI]
pack-privatefinalstatic int space = "10"
protected int updateButtonMnemonic [Inherited From BasicFileChooserUI]
protected String updateButtonText [Inherited From BasicFileChooserUI]
protected String updateButtonToolTipText [Inherited From BasicFileChooserUI]
protected Icon upFolderIcon [Inherited From BasicFileChooserUI]
Nested Classes
  MetalFileChooserUI.SingleClickListener
  MetalFileChooserUI.FileRenderer
  MetalFileChooserUI.DirectoryComboBoxRenderer
  MetalFileChooserUI.IndentIcon
  MetalFileChooserUI.DirectoryComboBoxModel
Data model for a type-face selection combo-box.
  MetalFileChooserUI.FilterComboBoxRenderer
Render different type sizes and styles.
  MetalFileChooserUI.FilterComboBoxModel
Data model for a type-face selection combo-box.
  MetalFileChooserUI.DirectoryComboBoxAction
Acts when DirectoryComboBox has changed the selected item.
  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.CancelSelectionAction
Responds to a cancel request.
  BasicFileChooserUI.UpdateAction
Rescans the files in the current directory
  BasicFileChooserUI.AcceptAllFileFilter
  BasicFileChooserUI.BasicFileView
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar