java.lang.Object | |||
↳ | javax.swing.plaf.ComponentUI | ||
↳ | javax.swing.plaf.FileChooserUI | ||
↳ | javax.swing.plaf.basic.BasicFileChooserUI |
![]() |
![]() |
Basic L&F implementation of a FileChooser.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
BasicFileChooserUI.AcceptAllFileFilter | |||||||||||
BasicFileChooserUI.ApproveSelectionAction | Responds to an Open or Save request | ||||||||||
BasicFileChooserUI.BasicFileView | |||||||||||
BasicFileChooserUI.CancelSelectionAction | Responds to a cancel request. | ||||||||||
BasicFileChooserUI.ChangeToParentDirectoryAction | |||||||||||
BasicFileChooserUI.DoubleClickListener | |||||||||||
BasicFileChooserUI.GoHomeAction | Acts on the "home" key event or equivalent event. | ||||||||||
BasicFileChooserUI.NewFolderAction | Creates a new folder. | ||||||||||
BasicFileChooserUI.SelectionListener | |||||||||||
BasicFileChooserUI.UpdateAction | Rescans the files in the current directory |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
cancelButtonMnemonic | |||||||||||
cancelButtonText | |||||||||||
cancelButtonToolTipText | |||||||||||
computerIcon | |||||||||||
detailsViewIcon | |||||||||||
directoryIcon | |||||||||||
directoryOpenButtonMnemonic | The mnemonic keycode used for the approve button when a directory is selected and the current selection mode is FILES_ONLY. | ||||||||||
directoryOpenButtonText | The label text displayed on the approve button when a directory is selected and the current selection mode is FILES_ONLY. | ||||||||||
directoryOpenButtonToolTipText | The tooltip text displayed on the approve button when a directory is selected and the current selection mode is FILES_ONLY. | ||||||||||
fileIcon | |||||||||||
floppyDriveIcon | |||||||||||
hardDriveIcon | |||||||||||
helpButtonMnemonic | |||||||||||
helpButtonText | |||||||||||
helpButtonToolTipText | |||||||||||
homeFolderIcon | |||||||||||
listViewIcon | |||||||||||
newFolderIcon | |||||||||||
openButtonMnemonic | |||||||||||
openButtonText | |||||||||||
openButtonToolTipText | |||||||||||
saveButtonMnemonic | |||||||||||
saveButtonText | |||||||||||
saveButtonToolTipText | |||||||||||
upFolderIcon | |||||||||||
updateButtonMnemonic | |||||||||||
updateButtonText | |||||||||||
updateButtonToolTipText |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Property to remember the directory that is currently selected in the UI.
| |||||||||||
Property to remember whether a directory is currently selected in the UI.
| |||||||||||
Property to remember the directory that is currently selected in the UI.
| |||||||||||
Property to remember whether a directory is currently selected in the UI.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
The mnemonic keycode used for the approve button when a directory is selected and the current selection mode is FILES_ONLY.
The label text displayed on the approve button when a directory is selected and the current selection mode is FILES_ONLY.
The tooltip text displayed on the approve button when a directory is selected and the current selection mode is FILES_ONLY.
Returns the default accept all file filter
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 the directory that is currently selected in the UI.
directory
propertyProperty to remember whether a directory is currently selected in the UI.
true
iff a directory is currently selected.Property to remember the directory that is currently selected in the UI. This is normally called by the UI on a selection event.
f | the File object representing the directory that is
currently selected |
---|
Property to remember whether a directory is currently selected in the UI. This is normally called by the UI on a selection event.
b | iff a directory is currently selected. |
---|