|
Quaqua 8.0 2011-10-02 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.FileChooserUI
javax.swing.plaf.basic.BasicFileChooserUI
ch.randelshofer.quaqua.jaguar.QuaquaJaguarFileChooserUI
public class QuaquaJaguarFileChooserUI
A replacement for the AquaFileChooserUI. Provides a column view similar to the one provided with the native Aqua user interface on Mac OS X 10.2 (Jaguar).
| Nested Class Summary | |
|---|---|
protected class |
QuaquaJaguarFileChooserUI.ApproveSelectionAction
Responds to an Open or Save request |
protected class |
QuaquaJaguarFileChooserUI.BrowserSelectionListener
Selection listener for the list of files and directories. |
protected class |
QuaquaJaguarFileChooserUI.DirectoryComboBoxAction
Acts when DirectoryComboBox has changed the selected item. |
protected class |
QuaquaJaguarFileChooserUI.DirectoryComboBoxModel
Data model for a directory selection combo-box. |
protected class |
QuaquaJaguarFileChooserUI.DoubleClickListener
|
protected class |
QuaquaJaguarFileChooserUI.FilterComboBoxModel
Data model for a type-face selection combo-box. |
static class |
QuaquaJaguarFileChooserUI.FilterComboBoxRenderer
Render different type sizes and styles. |
protected class |
QuaquaJaguarFileChooserUI.NewFolderAction
Creates a new folder. |
protected class |
QuaquaJaguarFileChooserUI.SaveTextDocumentListener
|
protected class |
QuaquaJaguarFileChooserUI.SaveTextFocusListener
|
| Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicFileChooserUI |
|---|
javax.swing.plaf.basic.BasicFileChooserUI.AcceptAllFileFilter, javax.swing.plaf.basic.BasicFileChooserUI.BasicFileView, javax.swing.plaf.basic.BasicFileChooserUI.CancelSelectionAction, javax.swing.plaf.basic.BasicFileChooserUI.ChangeToParentDirectoryAction, javax.swing.plaf.basic.BasicFileChooserUI.GoHomeAction, javax.swing.plaf.basic.BasicFileChooserUI.SelectionListener, javax.swing.plaf.basic.BasicFileChooserUI.UpdateAction |
| Field Summary | |
|---|---|
protected java.lang.String |
chooseButtonText
|
| 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 | |
|---|---|
QuaquaJaguarFileChooserUI(javax.swing.JFileChooser filechooser)
|
|
| Method Summary | |
|---|---|
protected void |
addControlButtons()
|
void |
clearIconCache()
|
protected javax.swing.event.AncestorListener |
createAncestorListener(javax.swing.JFileChooser fc)
Creates an AncestorListener. |
protected javax.swing.event.TreeSelectionListener |
createBrowserSelectionListener(javax.swing.JFileChooser fc)
|
protected QuaquaJaguarFileChooserUI.DirectoryComboBoxModel |
createDirectoryComboBoxModel(javax.swing.JFileChooser fc)
|
protected java.awt.event.MouseListener |
createDoubleClickListener(javax.swing.JFileChooser fc)
|
protected QuaquaJaguarFileChooserUI.FilterComboBoxModel |
createFilterComboBoxModel()
|
protected QuaquaJaguarFileChooserUI.FilterComboBoxRenderer |
createFilterComboBoxRenderer()
|
void |
createModel()
|
java.beans.PropertyChangeListener |
createPropertyChangeListener(javax.swing.JFileChooser fc)
|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
|
void |
ensureFileIsVisible(javax.swing.JFileChooser fc,
java.io.File f)
|
javax.swing.JPanel |
getAccessoryPanel()
|
protected javax.swing.JButton |
getApproveButton(javax.swing.JFileChooser fc)
|
java.lang.String |
getApproveButtonText(javax.swing.JFileChooser fc)
|
javax.swing.Action |
getApproveSelectionAction()
|
java.lang.String |
getFileName()
|
javax.swing.filechooser.FileView |
getFileView(javax.swing.JFileChooser fc)
|
java.awt.Dimension |
getMaximumSize(javax.swing.JComponent c)
Returns the maximum size of the JFileChooser. |
java.awt.Dimension |
getMinimumSize(javax.swing.JComponent c)
Returns the minimum size of the JFileChooser. |
javax.swing.Action |
getNewFolderAction()
|
java.awt.Dimension |
getPreferredSize(javax.swing.JComponent c)
Returns the preferred size of the specified JFileChooser. |
FileSystemTreeModel |
getTreeModel()
|
void |
installComponents(javax.swing.JFileChooser fc)
|
protected void |
installDefaults(javax.swing.JFileChooser fc)
|
protected void |
installListeners(javax.swing.JFileChooser fc)
Installs listeners. |
protected void |
installStrings(javax.swing.JFileChooser fc)
|
void |
installUI(javax.swing.JComponent c)
|
protected void |
removeControlButtons()
|
void |
rescanCurrentDirectory(javax.swing.JFileChooser fc)
|
void |
setFileName(java.lang.String filename)
|
void |
uninstallComponents(javax.swing.JFileChooser fc)
|
protected void |
uninstallListeners(javax.swing.JFileChooser fc)
|
void |
uninstallUI(javax.swing.JComponent c)
|
| Methods inherited from class javax.swing.plaf.basic.BasicFileChooserUI |
|---|
createDoubleClickListener, createListSelectionListener, getAcceptAllFileFilter, getApproveButtonMnemonic, getApproveButtonToolTipText, getCancelSelectionAction, getChangeToParentDirectoryAction, getDialogTitle, getDirectory, getDirectoryName, getFileChooser, getGoHomeAction, getModel, getUpdateAction, installIcons, isDirectorySelected, setDirectory, setDirectoryName, setDirectorySelected, uninstallDefaults, uninstallIcons, uninstallStrings |
| Methods inherited from class javax.swing.plaf.ComponentUI |
|---|
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, paint, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String chooseButtonText
| Constructor Detail |
|---|
public QuaquaJaguarFileChooserUI(javax.swing.JFileChooser filechooser)
| Method Detail |
|---|
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
public void installUI(javax.swing.JComponent c)
installUI in class javax.swing.plaf.basic.BasicFileChooserUIpublic void uninstallComponents(javax.swing.JFileChooser fc)
uninstallComponents in class javax.swing.plaf.basic.BasicFileChooserUIpublic void installComponents(javax.swing.JFileChooser fc)
installComponents in class javax.swing.plaf.basic.BasicFileChooserUIpublic javax.swing.JPanel getAccessoryPanel()
getAccessoryPanel in class javax.swing.plaf.basic.BasicFileChooserUIprotected void installDefaults(javax.swing.JFileChooser fc)
installDefaults in class javax.swing.plaf.basic.BasicFileChooserUIprotected void installStrings(javax.swing.JFileChooser fc)
installStrings in class javax.swing.plaf.basic.BasicFileChooserUIprotected void installListeners(javax.swing.JFileChooser fc)
installListeners in class javax.swing.plaf.basic.BasicFileChooserUIprotected void uninstallListeners(javax.swing.JFileChooser fc)
uninstallListeners in class javax.swing.plaf.basic.BasicFileChooserUIprotected javax.swing.event.AncestorListener createAncestorListener(javax.swing.JFileChooser fc)
public void createModel()
createModel in class javax.swing.plaf.basic.BasicFileChooserUIpublic FileSystemTreeModel getTreeModel()
public void uninstallUI(javax.swing.JComponent c)
uninstallUI in class javax.swing.plaf.basic.BasicFileChooserUIprotected javax.swing.event.TreeSelectionListener createBrowserSelectionListener(javax.swing.JFileChooser fc)
public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
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.
getPreferredSize in class javax.swing.plaf.ComponentUIc - a JFileChooser
Dimension specifying the preferred
width and height of the file chooserpublic java.awt.Dimension getMinimumSize(javax.swing.JComponent c)
JFileChooser.
getMinimumSize in class javax.swing.plaf.ComponentUIc - a JFileChooser
Dimension specifying the minimum
width and height of the file chooserpublic java.awt.Dimension getMaximumSize(javax.swing.JComponent c)
JFileChooser.
getMaximumSize in class javax.swing.plaf.ComponentUIc - a JFileChooser
Dimension specifying the maximum
width and height of the file chooserpublic java.beans.PropertyChangeListener createPropertyChangeListener(javax.swing.JFileChooser fc)
createPropertyChangeListener in class javax.swing.plaf.basic.BasicFileChooserUIprotected void removeControlButtons()
protected void addControlButtons()
public java.lang.String getFileName()
getFileName in class javax.swing.plaf.basic.BasicFileChooserUIpublic void setFileName(java.lang.String filename)
setFileName in class javax.swing.plaf.basic.BasicFileChooserUIprotected QuaquaJaguarFileChooserUI.DirectoryComboBoxModel createDirectoryComboBoxModel(javax.swing.JFileChooser fc)
protected QuaquaJaguarFileChooserUI.FilterComboBoxRenderer createFilterComboBoxRenderer()
protected QuaquaJaguarFileChooserUI.FilterComboBoxModel createFilterComboBoxModel()
protected javax.swing.JButton getApproveButton(javax.swing.JFileChooser fc)
getApproveButton in class javax.swing.plaf.basic.BasicFileChooserUIpublic javax.swing.Action getApproveSelectionAction()
getApproveSelectionAction in class javax.swing.plaf.basic.BasicFileChooserUIpublic javax.swing.Action getNewFolderAction()
getNewFolderAction in class javax.swing.plaf.basic.BasicFileChooserUI
public void ensureFileIsVisible(javax.swing.JFileChooser fc,
java.io.File f)
ensureFileIsVisible in class javax.swing.plaf.basic.BasicFileChooserUIpublic java.lang.String getApproveButtonText(javax.swing.JFileChooser fc)
getApproveButtonText in class javax.swing.plaf.basic.BasicFileChooserUIpublic javax.swing.filechooser.FileView getFileView(javax.swing.JFileChooser fc)
getFileView in class javax.swing.plaf.basic.BasicFileChooserUIpublic void rescanCurrentDirectory(javax.swing.JFileChooser fc)
rescanCurrentDirectory in class javax.swing.plaf.basic.BasicFileChooserUIpublic void clearIconCache()
clearIconCache in class javax.swing.plaf.basic.BasicFileChooserUIprotected java.awt.event.MouseListener createDoubleClickListener(javax.swing.JFileChooser fc)
|
Copyright 2003-2007 (c) Werner Randelshofer. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||