Top Description Inners Fields Constructors Methods
com.sun.java.swing.plaf.motif

public Class MotifFileChooserUI

extends BasicFileChooserUI
Class Inheritance
Imports
javax.swing.*, javax.swing.filechooser.*, javax.swing.event.*, javax.swing.plaf.*, javax.swing.plaf.basic.*, java.awt.*, java.awt.event.MouseAdapter, .MouseEvent, java.beans.*, java.io.File, .IOException, java.util.*, sun.awt.shell.ShellFolder, sun.swing.SwingUtilities2

Motif FileChooserUI.
Author
Jeff Dinkins

Nested and Inner Type Summary

Modifier and TypeClass and Description
protected class
protected class
protected class
MotifFileChooserUI.FilterComboBoxModel

Data model for a type-face selection combo-box.

public class
MotifFileChooserUI.FilterComboBoxRenderer

Render different type sizes and styles.

protected class
protected class

Field Summary

Modifier and TypeField and Description
protected JButton
private JPanel
private static final Insets
protected JList<File>
private int
private String
private int
private String
protected JList<File>
private JLabel
protected JTextField
private int
private String
protected JComboBox<FileFilter>
private MotifFileChooserUI.FilterComboBoxModel
private int
private String
private int
private String
private static final Dimension
private static final Insets
private static Dimension
private static final int
private static final int
protected JTextField
private int
private String
private static Dimension
private static Dimension
private static Dimension
private static final Dimension
private static Dimension
private static Dimension
Inherited from javax.swing.plaf.basic.BasicFileChooserUI:
cancelButtonMnemoniccancelButtonTextcancelButtonToolTipTextcomputerIcondetailsViewIcondirectoryIcondirectoryOpenButtonMnemonicdirectoryOpenButtonTextdirectoryOpenButtonToolTipTextfileIconfloppyDriveIconhardDriveIconhelpButtonMnemonichelpButtonTexthelpButtonToolTipTexthomeFolderIconlistViewIconnewFolderIconopenButtonMnemonicopenButtonTextopenButtonToolTipTextsaveButtonMnemonicsaveButtonTextsaveButtonToolTipTextupdateButtonMnemonicupdateButtonTextupdateButtonToolTipTextupFolderIconviewMenuIcon

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
protected JScrollPane
protected JScrollPane
protected MotifFileChooserUI.FilterComboBoxModel
protected MotifFileChooserUI.FilterComboBoxRenderer
public PropertyChangeListener
public static ComponentUI
createUI(JComponent
the JFileChooser which needs a UI
c
)

Hides javax.swing.plaf.basic.BasicFileChooserUI.createUI.

Creates a BasicFileChooserUI implementation for the specified component.

private void
public void
ensureFileIsVisible(JFileChooser
the file chooser
fc
,
File
the file
f
)

Overrides javax.swing.plaf.basic.BasicFileChooserUI.ensureFileIsVisible.

Ensure the file in question is visible.

private String
private String
protected JButton
getApproveButton(JFileChooser
the file chooser
fc
)

Overrides javax.swing.plaf.basic.BasicFileChooserUI.getApproveButton.

Returns the approve button.

protected JPanel
public String
public String
public Dimension
getMaximumSize(JComponent
the component whose maximum size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components
x
)

Overrides javax.swing.plaf.ComponentUI.getMaximumSize.

Returns the specified component's maximum size appropriate for the look and feel.

public Dimension
getMinimumSize(JComponent
the component whose minimum size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components
x
)

Overrides javax.swing.plaf.ComponentUI.getMinimumSize.

Returns the specified component's minimum size appropriate for the look and feel.

private Integer
getMnemonic(String key, Locale l)

Hides javax.swing.plaf.basic.BasicFileChooserUI.getMnemonic.

Returns the mnemonic for the given key.

public Dimension
getPreferredSize(JComponent
the component whose preferred size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components
c
)

Overrides javax.swing.plaf.ComponentUI.getPreferredSize.

Returns the specified component's preferred size appropriate for the look and feel.

public void
protected void
installIcons(JFileChooser
the file chooser
fc
)

Overrides javax.swing.plaf.basic.BasicFileChooserUI.installIcons.

Installs the icons.

protected void
installStrings(JFileChooser
the file chooser
fc
)

Overrides javax.swing.plaf.basic.BasicFileChooserUI.installStrings.

Installs the strings.

public void
private void
public void
public void
setDirectoryName(String
the file name
dirname
)

Overrides javax.swing.plaf.basic.BasicFileChooserUI.setDirectoryName.

Sets the directory name.

public void
setFileName(String
the file name
filename
)

Overrides javax.swing.plaf.basic.BasicFileChooserUI.setFileName.

Sets the file name.

public void
protected void
uninstallIcons(JFileChooser
the file chooser
fc
)

Overrides javax.swing.plaf.basic.BasicFileChooserUI.uninstallIcons.

Uninstalls the icons.

public void
Inherited from javax.swing.plaf.basic.BasicFileChooserUI:
clearIconCachecreateDoubleClickListenercreateListSelectionListenercreateModelgetAcceptAllFileFiltergetAccessoryPanelgetApproveButtonMnemonicgetApproveButtonTextgetApproveButtonToolTipTextgetApproveSelectionActiongetCancelSelectionActiongetChangeToParentDirectoryActiongetDefaultButtongetDialogTitlegetDirectorygetFileChoosergetFileViewgetGoHomeActiongetModelgetNewFolderActiongetUpdateActioninstallDefaultsinstallListenersisDirectorySelectedsetDirectorysetDirectorySelecteduninstallDefaultsuninstallListenersuninstallStrings