Class RadianceFileChooserUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.FileChooserUI
-
- javax.swing.plaf.basic.BasicFileChooserUI
-
- javax.swing.plaf.metal.MetalFileChooserUI
-
- org.pushingpixels.radiance.theming.internal.ui.RadianceFileChooserUI
-
public class RadianceFileChooserUI extends javax.swing.plaf.metal.MetalFileChooserUIUI for file chooser in Radiance look and feel. TheBasicFileChooserUIcan't be used on its own (creates an empty dialog).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private classRadianceFileChooserUI.RadianceFileViewCustom file view implementation that returns system-specific file icons.private static classRadianceFileChooserUI.RadianceFooterLayoutThis class extends ButtonAreaLayout from the base class because in one of the places there is an explicit cast of the button container to that layout.-
Nested classes/interfaces inherited from class javax.swing.plaf.metal.MetalFileChooserUI
javax.swing.plaf.metal.MetalFileChooserUI.DirectoryComboBoxAction, javax.swing.plaf.metal.MetalFileChooserUI.DirectoryComboBoxModel, javax.swing.plaf.metal.MetalFileChooserUI.FileRenderer, javax.swing.plaf.metal.MetalFileChooserUI.FilterComboBoxModel, javax.swing.plaf.metal.MetalFileChooserUI.FilterComboBoxRenderer, javax.swing.plaf.metal.MetalFileChooserUI.SingleClickListener
-
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.CancelSelectionAction, javax.swing.plaf.basic.BasicFileChooserUI.ChangeToParentDirectoryAction, javax.swing.plaf.basic.BasicFileChooserUI.DoubleClickListener, javax.swing.plaf.basic.BasicFileChooserUI.GoHomeAction, javax.swing.plaf.basic.BasicFileChooserUI.NewFolderAction, javax.swing.plaf.basic.BasicFileChooserUI.SelectionListener, javax.swing.plaf.basic.BasicFileChooserUI.UpdateAction
-
-
Field Summary
Fields Modifier and Type Field Description private RadianceFileChooserUI.RadianceFileViewfileViewCustom file view - for system icons on the files.private static intICON_SIZE-
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, viewMenuIcon
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRadianceFileChooserUI(javax.swing.JFileChooser filechooser)Creates the UI delegate for the specified file chooser.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static javax.swing.plaf.ComponentUIcreateUI(javax.swing.JComponent comp)javax.swing.filechooser.FileViewgetFileView(javax.swing.JFileChooser fc)voidinstallComponents(javax.swing.JFileChooser fc)protected voidinstallIcons(javax.swing.JFileChooser fc)-
Methods inherited from class javax.swing.plaf.metal.MetalFileChooserUI
addControlButtons, createActionMap, createDetailsView, createDirectoryComboBoxModel, createFilterComboBoxModel, createFilterComboBoxRenderer, createList, createListSelectionListener, createPropertyChangeListener, ensureFileIsVisible, getActionMap, getApproveButton, getBottomPanel, getButtonPanel, getDirectoryName, getFileName, getMaximumSize, getMinimumSize, getPreferredSize, installListeners, installStrings, installUI, removeControlButtons, rescanCurrentDirectory, setDirectoryName, setDirectorySelected, setFileName, uninstallComponents, uninstallUI, valueChanged
-
Methods inherited from class javax.swing.plaf.basic.BasicFileChooserUI
clearIconCache, createDoubleClickListener, createModel, getAcceptAllFileFilter, getAccessoryPanel, getApproveButtonMnemonic, getApproveButtonText, getApproveButtonToolTipText, getApproveSelectionAction, getCancelSelectionAction, getChangeToParentDirectoryAction, getDefaultButton, getDialogTitle, getDirectory, getFileChooser, getGoHomeAction, getModel, getNewFolderAction, getUpdateAction, installDefaults, isDirectorySelected, setDirectory, uninstallDefaults, uninstallIcons, uninstallListeners, uninstallStrings
-
-
-
-
Field Detail
-
fileView
private final RadianceFileChooserUI.RadianceFileView fileView
Custom file view - for system icons on the files.
-
ICON_SIZE
private static final int ICON_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent comp)
-
getFileView
public javax.swing.filechooser.FileView getFileView(javax.swing.JFileChooser fc)
- Overrides:
getFileViewin classjavax.swing.plaf.basic.BasicFileChooserUI
-
installIcons
protected void installIcons(javax.swing.JFileChooser fc)
- Overrides:
installIconsin classjavax.swing.plaf.basic.BasicFileChooserUI
-
installComponents
public void installComponents(javax.swing.JFileChooser fc)
- Overrides:
installComponentsin classjavax.swing.plaf.metal.MetalFileChooserUI
-
-