APIdia Launch Partner
Top Description Inners Fields Constructors Methods
com.sun.java.swing.plaf.gtk

pack-priv Class GTKFileChooserUI

extends SynthFileChooserUI
Class Inheritance
Imports
java.awt.AWTKeyStroke, .BorderLayout, .Component, .Container, .Dimension, .FlowLayout, .GridBagConstraints, .GridBagLayout, .GridLayout, .Insets, .KeyboardFocusManager, java.awt.event.ActionEvent, .KeyEvent, .MouseAdapter, .MouseEvent, .MouseListener, java.beans.PropertyChangeEvent, .PropertyChangeListener, java.io.File, .IOException, java.text.MessageFormat, java.util.ArrayList, .Comparator, .HashSet, .Locale, .Set, .Vector, javax.accessibility.AccessibleContext, javax.swing.AbstractAction, .AbstractListModel, .Action, .ActionMap, .Box, .BoxLayout, .ComboBoxModel, .DefaultListCellRenderer, .DefaultListSelectionModel, .Icon, .JButton, .JComboBox, .JComponent, .JFileChooser, .JLabel, .JList, .JOptionPane, .JPanel, .JRootPane, .JScrollPane, .JSplitPane, .JTextField, .KeyStroke, .ListSelectionModel, .SwingUtilities, .TransferHandler, .UIManager, javax.swing.border.EmptyBorder, javax.swing.event.ListDataEvent, .ListDataListener, .ListSelectionEvent, .ListSelectionListener, javax.swing.filechooser.FileFilter, .FileSystemView, .FileView, javax.swing.plaf.ActionMapUIResource, .ComponentUI, javax.swing.plaf.basic.BasicDirectoryModel, javax.swing.table.JTableHeader, .TableCellRenderer, sun.awt.shell.ShellFolder, sun.swing.FilePane, .SwingUtilities2, sun.swing.plaf.synth.SynthFileChooserUI

GTK FileChooserUI.
Authors
Leif Samuelsson, Jeff Dinkins

Nested and Inner Type Summary

Modifier and TypeClass and Description
protected class
protected class
GTKFileChooserUI.DirectoryComboBoxAction

Acts when DirectoryComboBox has changed the selected item.

protected class
GTKFileChooserUI.DirectoryComboBoxModel

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

pack-priv class
protected class
protected class
GTKFileChooserUI.FilterComboBoxModel

Data model for filter combo-box.

public class
private class
protected class
private class
private class
protected class
private class
private class
GTKFileChooserUI.NewFolderAction

Creates a new folder.

private class
protected class

Field Summary

Modifier and TypeField and Description
private JPanel
private Action
private JPanel
private static final Insets
private int
private String
private String
private JComboBox<File>
private Action
private GTKFileChooserUI.DirectoryComboBoxModel
private JList<File>
private GTKFileChooserUI.GTKDirectoryListModel
private JList<File>
private JTextField
private int
private String
private GTKFileChooserUI.GTKFileView
private JComboBox<FileFilter>
private GTKFileChooserUI.FilterComboBoxModel
private int
private String
private int
private String
private PropertyChangeListener
private static final Dimension
private static Dimension
private static final int
private static final int
private GTKFileChooserUI.GTKDirectoryModel
private Action
private int
private String
private String
private String
private String
private String
private String
private String
private JLabel
private int
private String
private static Dimension
private static Dimension
private boolean
private int
private String
private String
private String
private String
private String
private JPanel
private boolean
private boolean
private static final Dimension
private static Dimension

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
protected ActionMap
protected GTKFileChooserUI.DirectoryComboBoxModel
protected JScrollPane
protected MouseListener
protected JScrollPane
protected GTKFileChooserUI.FilterComboBoxModel
protected GTKFileChooserUI.FilterComboBoxRenderer
public ListSelectionListener
protected void
public static ComponentUI
createUI(JComponent c)

Hides sun.swing.plaf.synth.SynthFileChooserUI.createUI.

Creates a BasicFileChooserUI implementation for the specified component.

protected void
protected void
protected void
protected void
protected void
protected void
protected void
public void
public JPanel
public Action
public String
getFileName()

Implements abstract sun.swing.plaf.synth.SynthFileChooserUI.getFileName.

Returns the file name.

public FileView
public Dimension
getMaximumSize(JComponent x)

Overrides javax.swing.plaf.ComponentUI.getMaximumSize.

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

public Dimension
getMinimumSize(JComponent x)

Overrides javax.swing.plaf.ComponentUI.getMinimumSize.

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

private int
getMnemonic(String key, Locale l)

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

Returns the mnemonic for the given key.

public BasicDirectoryModel
public Action
public Dimension
getPreferredSize(JComponent c)

Overrides javax.swing.plaf.ComponentUI.getPreferredSize.

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

public void
protected void
protected void
protected void
protected void
public void
public void
public void
public void
setFileName(String fileName)

Implements abstract sun.swing.plaf.synth.SynthFileChooserUI.setFileName.

Sets the file name.

protected void
protected void
public void
private void
Inherited from sun.swing.plaf.synth.SynthFileChooserUI:
clearIconCachecreatePropertyChangeListenerdoSelectedFilesChangedgetApproveButtongetCancelButtongetContextgetContextgetFileNameCompletionActionpaintpaintpaintBorderuninstallComponentsuninstallDefaultsupdate