public class BasicFolderChooserUI extends BasicFileChooserUI implements FolderChooserUI
| Modifier and Type | Class and Description |
|---|---|
class |
BasicFolderChooserUI.NavigationTextFieldListener |
BasicFileChooserUI.AcceptAllFileFilter, BasicFileChooserUI.BasicFileView, BasicFileChooserUI.CancelSelectionAction, BasicFileChooserUI.ChangeToParentDirectoryAction, BasicFileChooserUI.DoubleClickListener, BasicFileChooserUI.GoHomeAction, BasicFileChooserUI.NewFolderAction, BasicFileChooserUI.SelectionListener, BasicFileChooserUI.UpdateAction| Modifier and Type | Field and Description |
|---|---|
protected JButton |
_approveButton |
protected JPanel |
_buttonPanel |
protected JButton |
_cancelButton |
protected JTree |
_fileSystemTree |
protected JPanel |
_navigationPanel |
protected JTextField |
_navigationTextField |
com.jidesoft.plaf.basic.BasicFolderChooserUI.FolderChooserSelectionListener |
_selectionListener |
protected FolderToolBar |
_toolbar |
protected JScrollPane |
_treeScrollPane |
cancelButtonMnemonic, cancelButtonText, cancelButtonToolTipText, computerIcon, detailsViewIcon, directoryIcon, directoryOpenButtonMnemonic, directoryOpenButtonText, directoryOpenButtonToolTipText, fileIcon, floppyDriveIcon, hardDriveIcon, helpButtonMnemonic, helpButtonText, helpButtonToolTipText, homeFolderIcon, listViewIcon, newFolderIcon, openButtonMnemonic, openButtonText, openButtonToolTipText, saveButtonMnemonic, saveButtonText, saveButtonToolTipText, updateButtonMnemonic, updateButtonText, updateButtonToolTipText, upFolderIcon, viewMenuIcon| Constructor and Description |
|---|
BasicFolderChooserUI(FolderChooser chooser) |
| Modifier and Type | Method and Description |
|---|---|
protected JPanel |
createButtonPanel() |
protected JPanel |
createNavigationPanel() |
PropertyChangeListener |
createPropertyChangeListener(JFileChooser fc) |
protected JComponent |
createToolbar() |
static ComponentUI |
createUI(JComponent c) |
void |
ensureFileIsVisible(JFileChooser fc,
File f) |
Action |
getApproveSelectionAction() |
Component |
getDefaultFocusComponent()
Return the default focus component inside the FolderChooser.
|
void |
installComponents(JFileChooser chooser) |
protected void |
installListeners(JFileChooser fc) |
static boolean |
isFileSystem(File f)
Checks if
f represents a real directory or file as opposed to a special folder such as
"Desktop". |
void |
rescanCurrentDirectory(JFileChooser fc) |
void |
setNavigationFieldVisible(boolean navigationFieldVisible) |
void |
uninstallComponents(JFileChooser chooser) |
protected void |
uninstallListeners(JFileChooser fc) |
protected void |
updateToolbarButtons()
Updates toolbar button status depending on current selection status
|
clearIconCache, createDoubleClickListener, createListSelectionListener, createModel, getAcceptAllFileFilter, getAccessoryPanel, getApproveButton, getApproveButtonMnemonic, getApproveButtonText, getApproveButtonToolTipText, getCancelSelectionAction, getChangeToParentDirectoryAction, getDefaultButton, getDialogTitle, getDirectory, getDirectoryName, getFileChooser, getFileName, getFileView, getGoHomeAction, getModel, getNewFolderAction, getUpdateAction, installDefaults, installIcons, installStrings, installUI, isDirectorySelected, setDirectory, setDirectoryName, setDirectorySelected, setFileName, uninstallDefaults, uninstallIcons, uninstallStrings, uninstallUIcontains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint, updateprotected FolderToolBar _toolbar
protected JTree _fileSystemTree
protected JScrollPane _treeScrollPane
protected JButton _approveButton
protected JButton _cancelButton
protected JTextField _navigationTextField
protected JPanel _buttonPanel
protected JPanel _navigationPanel
public com.jidesoft.plaf.basic.BasicFolderChooserUI.FolderChooserSelectionListener _selectionListener
public BasicFolderChooserUI(FolderChooser chooser)
public static ComponentUI createUI(JComponent c)
public void installComponents(JFileChooser chooser)
installComponents in class BasicFileChooserUIpublic Component getDefaultFocusComponent()
protected JPanel createButtonPanel()
protected JPanel createNavigationPanel()
public void setNavigationFieldVisible(boolean navigationFieldVisible)
public void rescanCurrentDirectory(JFileChooser fc)
rescanCurrentDirectory in class BasicFileChooserUIpublic void ensureFileIsVisible(JFileChooser fc, File f)
ensureFileIsVisible in class BasicFileChooserUIprotected JComponent createToolbar()
protected void updateToolbarButtons()
public void uninstallComponents(JFileChooser chooser)
uninstallComponents in class BasicFileChooserUIprotected void installListeners(JFileChooser fc)
installListeners in class BasicFileChooserUIprotected void uninstallListeners(JFileChooser fc)
uninstallListeners in class BasicFileChooserUIpublic PropertyChangeListener createPropertyChangeListener(JFileChooser fc)
createPropertyChangeListener in class BasicFileChooserUIpublic static boolean isFileSystem(File f)
f represents a real directory or file as opposed to a special folder such as
"Desktop". Used by UI classes to decide if a folder is selectable when doing directory choosing.f - a File objecttrue if f is a real file or directory.public Action getApproveSelectionAction()
getApproveSelectionAction in class BasicFileChooserUICopyright © 2017. All rights reserved.