com.rapidminer.gui.look.fc
Class FileChooserUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.FileChooserUI
javax.swing.plaf.basic.BasicFileChooserUI
com.rapidminer.gui.look.fc.FileChooserUI
public class FileChooserUI
- extends javax.swing.plaf.basic.BasicFileChooserUI
The UI for the extended file chooser.
- Author:
- Ingo Mierswa
| Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicFileChooserUI |
javax.swing.plaf.basic.BasicFileChooserUI.AcceptAllFileFilter, javax.swing.plaf.basic.BasicFileChooserUI.ApproveSelectionAction, javax.swing.plaf.basic.BasicFileChooserUI.BasicFileView, javax.swing.plaf.basic.BasicFileChooserUI.DoubleClickListener, javax.swing.plaf.basic.BasicFileChooserUI.GoHomeAction, javax.swing.plaf.basic.BasicFileChooserUI.SelectionListener, javax.swing.plaf.basic.BasicFileChooserUI.UpdateAction |
| Fields inherited from class javax.swing.plaf.basic.BasicFileChooserUI |
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 |
|
Constructor Summary |
FileChooserUI(javax.swing.JFileChooser filechooser)
|
| Methods inherited from class javax.swing.plaf.basic.BasicFileChooserUI |
clearIconCache, createDoubleClickListener, createListSelectionListener, createModel, getAcceptAllFileFilter, getAccessoryPanel, getApproveButtonMnemonic, getApproveButtonText, getApproveButtonToolTipText, getDialogTitle, getDirectory, getFileChooser, getGoHomeAction, getModel, getUpdateAction, installDefaults, isDirectorySelected, setDirectory, uninstallDefaults, uninstallListeners, uninstallStrings |
| Methods inherited from class javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMinimumSize, getPreferredSize, paint, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FILECHOOSER_VIEW_TYPE
public static final java.lang.String FILECHOOSER_VIEW_TYPE
- See Also:
- Constant Field Values
FILECHOOSER_VIEW_THUMBNAIL
public static final java.lang.String FILECHOOSER_VIEW_THUMBNAIL
- See Also:
- Constant Field Values
FILECHOOSER_VIEW_ICON
public static final java.lang.String FILECHOOSER_VIEW_ICON
- See Also:
- Constant Field Values
FILECHOOSER_VIEW_LIST
public static final java.lang.String FILECHOOSER_VIEW_LIST
- See Also:
- Constant Field Values
FILECHOOSER_VIEW_DETAILS
public static final java.lang.String FILECHOOSER_VIEW_DETAILS
- See Also:
- Constant Field Values
viewType
public java.lang.String viewType
backPathVector
protected java.util.Vector<java.lang.String> backPathVector
bookmarksButton
protected javax.swing.JButton bookmarksButton
fileList
protected FileList fileList
FileChooserUI
public FileChooserUI(javax.swing.JFileChooser filechooser)
createActions
protected javax.swing.ActionMap createActions()
getCancelSelectionAction
public javax.swing.Action getCancelSelectionAction()
- Overrides:
getCancelSelectionAction in class javax.swing.plaf.basic.BasicFileChooserUI
getApproveSelectionAction
public javax.swing.Action getApproveSelectionAction()
- Overrides:
getApproveSelectionAction in class javax.swing.plaf.basic.BasicFileChooserUI
getView
public java.lang.String getView()
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
installUI
public void installUI(javax.swing.JComponent c)
- Overrides:
installUI in class javax.swing.plaf.basic.BasicFileChooserUI
uninstallComponents
public void uninstallComponents(javax.swing.JFileChooser fc)
- Overrides:
uninstallComponents in class javax.swing.plaf.basic.BasicFileChooserUI
installIcons
public void installIcons(javax.swing.JFileChooser fc)
- Overrides:
installIcons in class javax.swing.plaf.basic.BasicFileChooserUI
uninstallIcons
protected void uninstallIcons(javax.swing.JFileChooser fc)
- Overrides:
uninstallIcons in class javax.swing.plaf.basic.BasicFileChooserUI
installComponents
public void installComponents(javax.swing.JFileChooser fc)
- Overrides:
installComponents in class javax.swing.plaf.basic.BasicFileChooserUI
getNewFolderAction
public javax.swing.Action getNewFolderAction()
- Overrides:
getNewFolderAction in class javax.swing.plaf.basic.BasicFileChooserUI
getButtonPanel
protected javax.swing.JPanel getButtonPanel()
getBottomPanel
protected javax.swing.JPanel getBottomPanel()
installStrings
protected void installStrings(javax.swing.JFileChooser fc)
- Overrides:
installStrings in class javax.swing.plaf.basic.BasicFileChooserUI
installListeners
protected void installListeners(javax.swing.JFileChooser fc)
- Overrides:
installListeners in class javax.swing.plaf.basic.BasicFileChooserUI
getActions
protected javax.swing.ActionMap getActions()
uninstallUI
public void uninstallUI(javax.swing.JComponent c)
- Overrides:
uninstallUI in class javax.swing.plaf.basic.BasicFileChooserUI
getMaximumSize
public java.awt.Dimension getMaximumSize(javax.swing.JComponent c)
- Overrides:
getMaximumSize in class javax.swing.plaf.ComponentUI
createPropertyChangeListener
public java.beans.PropertyChangeListener createPropertyChangeListener(javax.swing.JFileChooser fc)
- Overrides:
createPropertyChangeListener in class javax.swing.plaf.basic.BasicFileChooserUI
removeControlButtons
protected void removeControlButtons()
addControlButtons
protected void addControlButtons()
ensureFileIsVisible
public void ensureFileIsVisible(javax.swing.JFileChooser fc,
java.io.File f)
- Overrides:
ensureFileIsVisible in class javax.swing.plaf.basic.BasicFileChooserUI
rescanCurrentDirectory
public void rescanCurrentDirectory(javax.swing.JFileChooser fc)
- Overrides:
rescanCurrentDirectory in class javax.swing.plaf.basic.BasicFileChooserUI
getFileName
public java.lang.String getFileName()
- Overrides:
getFileName in class javax.swing.plaf.basic.BasicFileChooserUI
setFileName
public void setFileName(java.lang.String filename)
- Overrides:
setFileName in class javax.swing.plaf.basic.BasicFileChooserUI
setDirectorySelected
protected void setDirectorySelected(boolean directorySelected)
- Overrides:
setDirectorySelected in class javax.swing.plaf.basic.BasicFileChooserUI
getDirectoryName
public java.lang.String getDirectoryName()
- Overrides:
getDirectoryName in class javax.swing.plaf.basic.BasicFileChooserUI
setDirectoryName
public void setDirectoryName(java.lang.String dirname)
- Overrides:
setDirectoryName in class javax.swing.plaf.basic.BasicFileChooserUI
createDirectoryComboBoxRenderer
protected com.rapidminer.gui.look.fc.FileChooserUI.DirectoryComboBoxRenderer createDirectoryComboBoxRenderer(javax.swing.JFileChooser fc)
createDirectoryComboBoxModel
protected com.rapidminer.gui.look.fc.FileChooserUI.DirectoryComboBoxModel createDirectoryComboBoxModel(javax.swing.JFileChooser fc)
createFilterComboBoxRenderer
protected com.rapidminer.gui.look.fc.FileChooserUI.FilterComboBoxRenderer createFilterComboBoxRenderer()
createFilterComboBoxModel
protected com.rapidminer.gui.look.fc.FileChooserUI.FilterComboBoxModel createFilterComboBoxModel()
valueChanged
public void valueChanged(javax.swing.event.ListSelectionEvent e)
setCurrentDirectoryOfFileChooser
protected void setCurrentDirectoryOfFileChooser(java.io.File f)
getApproveButton
protected javax.swing.JButton getApproveButton(javax.swing.JFileChooser fc)
- Overrides:
getApproveButton in class javax.swing.plaf.basic.BasicFileChooserUI
getFileView
public javax.swing.filechooser.FileView getFileView(javax.swing.JFileChooser fc)
- Overrides:
getFileView in class javax.swing.plaf.basic.BasicFileChooserUI
goBack
public void goBack()
getGoBackAction
public javax.swing.Action getGoBackAction()
getChangeToParentDirectoryAction
public javax.swing.Action getChangeToParentDirectoryAction()
- Overrides:
getChangeToParentDirectoryAction in class javax.swing.plaf.basic.BasicFileChooserUI
createViewPopupMenu
public javax.swing.JPopupMenu createViewPopupMenu()
updateView
protected void updateView(java.lang.String s)
Copyright © 2001-2009 by Rapid-I