All Packages Class Hierarchy This Package Previous Next Index
Class java.awt.swing.basic.BasicFileChooserUI
java.lang.Object
|
+----java.awt.swing.plaf.ComponentUI
|
+----java.awt.swing.plaf.FileChooserUI
|
+----java.awt.swing.basic.BasicFileChooserUI
- public class BasicFileChooserUI
- extends FileChooserUI
A Basic L&F implementation of FileChooserUI.
BasicFileChooserUI.CancelAction-
BasicFileChooserUI.GoHomeAction-
BasicFileChooserUI.Listener-
BasicFileChooserUI.MkdirAction-
BasicFileChooserUI.NoFocusButton- A subclass of button that just WILL NOT accept focus
BasicFileChooserUI.OkayAction-
BasicFileChooserUI.TypeRenderer-
BasicFileChooserUI.TypesComboBoxModel-
bodyPanel-
bottomPanel-
cancelAction-
cancelButton-
directoryPaneUI-
fileChooser-
goHomeAction-
listener-
MIN_SIZE-
mkdirAction-
okayAction-
okayButton-
orientationLabel-
textField-
topPanel-
types-
typesComboBoxModel-
BasicFileChooserUI(JFileChooser)
-
buildUI()
- Builds our UI the first time it is called, does nothing
after that.
createListener()
-
createTypeRenderer()
-
createTypesComboBoxModel()
-
createUI(JComponent)
-
getMaximumSize(JComponent)
-
getMinimumSize(JComponent)
-
getPreferredSize(JComponent)
-
installAccessory(Component)
-
installUI(JComponent)
- If necessary, create this UI's various components and its
BasicDirectoryPaneUI.
mkdir(String)
-
uninstallAccessory()
-
uninstallUI(JComponent)
-
update()
-
directoryPaneUI
protected BasicDirectoryPaneUI directoryPaneUI
fileChooser
protected JFileChooser fileChooser
listener
protected BasicFileChooserUI.Listener listener
goHomeAction
protected Action goHomeAction
mkdirAction
protected Action mkdirAction
cancelAction
protected Action cancelAction
okayAction
protected Action okayAction
topPanel
protected JPanel topPanel
bottomPanel
protected JPanel bottomPanel
orientationLabel
protected JLabel orientationLabel
okayButton
protected JButton okayButton
cancelButton
protected JButton cancelButton
textField
protected JTextField textField
types
protected JComboBox types
typesComboBoxModel
protected BasicFileChooserUI.TypesComboBoxModel typesComboBoxModel
bodyPanel
protected JPanel bodyPanel
MIN_SIZE
protected static final Dimension MIN_SIZE
BasicFileChooserUI
public BasicFileChooserUI(JFileChooser b)
createUI
public static ComponentUI createUI(JComponent c)
installUI
public void installUI(JComponent c)
- If necessary, create this UI's various components and its
BasicDirectoryPaneUI. Tell the sub UI to installUI (it take's
the "Center" spot on c's contentPane), then put buttons and
fields in the appropriate places around it. Establish listeners.
- Overrides:
- installUI in class ComponentUI
installAccessory
protected void installAccessory(Component c)
uninstallAccessory
protected void uninstallAccessory()
uninstallUI
public void uninstallUI(JComponent c)
- Overrides:
- uninstallUI in class ComponentUI
getPreferredSize
public Dimension getPreferredSize(JComponent x)
- Overrides:
- getPreferredSize in class ComponentUI
getMinimumSize
public Dimension getMinimumSize(JComponent x)
- Overrides:
- getMinimumSize in class ComponentUI
getMaximumSize
public Dimension getMaximumSize(JComponent x)
- Overrides:
- getMaximumSize in class ComponentUI
update
public void update()
buildUI
protected void buildUI()
- Builds our UI the first time it is called, does nothing
after that.
createTypeRenderer
protected BasicFileChooserUI.TypeRenderer createTypeRenderer()
createTypesComboBoxModel
protected BasicFileChooserUI.TypesComboBoxModel createTypesComboBoxModel()
createListener
protected BasicFileChooserUI.Listener createListener()
mkdir
protected File mkdir(String name)
All Packages Class Hierarchy This Package Previous Next Index
Submit a bug or feature