java.lang.Object | ||||
↳ | javax.swing.plaf.ComponentUI | |||
↳ | javax.swing.plaf.FileChooserUI | |||
↳ | javax.swing.plaf.basic.BasicFileChooserUI | |||
↳ | javax.swing.plaf.metal.MetalFileChooserUI |
Metal L&F implementation of a FileChooser.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MetalFileChooserUI.DirectoryComboBoxAction | Acts when DirectoryComboBox has changed the selected item. | ||||||||||
MetalFileChooserUI.DirectoryComboBoxModel | Data model for a type-face selection combo-box. | ||||||||||
MetalFileChooserUI.FileRenderer | |||||||||||
MetalFileChooserUI.FilterComboBoxModel | Data model for a type-face selection combo-box. | ||||||||||
MetalFileChooserUI.FilterComboBoxRenderer | Render different type sizes and styles. | ||||||||||
MetalFileChooserUI.SingleClickListener |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a selection listener for the list of files and directories.
| |||||||||||
Returns the maximum size of the
JFileChooser . | |||||||||||
Returns the minimum size of the
JFileChooser . | |||||||||||
Returns the preferred size of the specified
JFileChooser . | |||||||||||
Configures the specified component appropriate for the look and feel.
| |||||||||||
Reverses configuration which was done on the specified component during
installUI . | |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Property to remember whether a directory is currently selected in the UI.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Creates a selection listener for the list of files and directories.
fc | a JFileChooser |
---|
ListSelectionListener
Returns the maximum size of the JFileChooser
.
c | a JFileChooser |
---|
Dimension
specifying the maximum
width and height of the file chooser
Returns the minimum size of the JFileChooser
.
c | a JFileChooser |
---|
Dimension
specifying the minimum
width and height of the file chooser
Returns the preferred size of the specified
JFileChooser
.
The preferred size is at least as large,
in both height and width,
as the preferred size recommended
by the file chooser's layout manager.
c | a JFileChooser |
---|
Dimension
specifying the preferred
width and height of the file chooser
Configures the specified component appropriate for the look and feel.
This method is invoked when the ComponentUI
instance is being installed
as the UI delegate on the specified component. This method should
completely configure the component for the look and feel,
including the following:
LayoutManager
on the component if necessary.
PropertyChangeListener
on the component in order
to detect and respond to component property changes appropriately.
c | the component where this UI delegate is being installed |
---|
Reverses configuration which was done on the specified component during
installUI
. This method is invoked when this
UIComponent
instance is being removed as the UI delegate
for the specified component. This method should undo the
configuration performed in installUI
, being careful to
leave the JComponent
instance in a clean state (no
extraneous listeners, look-and-feel-specific property objects, etc.).
This should include the following:
c | the component from which this UI delegate is being removed; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components |
---|
Property to remember whether a directory is currently selected in the UI. This is normally called by the UI on a selection event.
directorySelected | if a directory is currently selected. |
---|