|
|||||||||
| 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
com.birosoft.liquid.FileChooserBasicUI
public class FileChooserBasicUI
| Nested Class Summary | |
|---|---|
protected class |
FileChooserBasicUI.DirectoryComboBoxAction
Acts when DirectoryComboBox has changed the selected item. |
protected class |
FileChooserBasicUI.DirectoryComboBoxModel
Data model for a type-face selection combo-box. |
protected class |
FileChooserBasicUI.FileRenderer
|
protected class |
FileChooserBasicUI.FilterComboBoxModel
Data model for a type-face selection combo-box. |
class |
FileChooserBasicUI.FilterComboBoxRenderer
Render different type sizes and styles. |
protected class |
FileChooserBasicUI.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 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 | |
|---|---|
FileChooserBasicUI(javax.swing.JFileChooser filechooser)
|
|
| Method Summary | |
|---|---|
protected void |
addControlButtons()
|
protected javax.swing.ActionMap |
createActionMap()
|
protected javax.swing.JPanel |
createDetailsView(javax.swing.JFileChooser fc)
|
protected FileChooserBasicUI.DirectoryComboBoxModel |
createDirectoryComboBoxModel(javax.swing.JFileChooser fc)
|
protected com.birosoft.liquid.FileChooserBasicUI.DirectoryComboBoxRenderer |
createDirectoryComboBoxRenderer(javax.swing.JFileChooser fc)
|
protected FileChooserBasicUI.FilterComboBoxModel |
createFilterComboBoxModel()
|
protected FileChooserBasicUI.FilterComboBoxRenderer |
createFilterComboBoxRenderer()
|
protected javax.swing.JPanel |
createList(javax.swing.JFileChooser fc)
|
javax.swing.event.ListSelectionListener |
createListSelectionListener(javax.swing.JFileChooser fc)
Creates a selection listener for the list of files and directories. |
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)
|
protected javax.swing.ActionMap |
getActionMap()
|
protected javax.swing.JButton |
getApproveButton(javax.swing.JFileChooser fc)
|
protected javax.swing.JPanel |
getBottomPanel()
|
protected javax.swing.JPanel |
getButtonPanel()
|
java.lang.String |
getDirectoryName()
|
java.lang.String |
getFileName()
|
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. |
java.awt.Dimension |
getPreferredSize(javax.swing.JComponent c)
Returns the preferred size of the specified JFileChooser. |
void |
installComponents(javax.swing.JFileChooser fc)
|
protected void |
installListeners(javax.swing.JFileChooser fc)
|
protected void |
installStrings(javax.swing.JFileChooser fc)
|
void |
installUI(javax.swing.JComponent c)
|
protected void |
removeControlButtons()
|
void |
rescanCurrentDirectory(javax.swing.JFileChooser fc)
|
void |
setDirectoryName(java.lang.String dirname)
|
protected void |
setDirectorySelected(boolean directorySelected)
Property to remember whether a directory is currently selected in the UI. |
void |
setFileName(java.lang.String filename)
|
void |
uninstallComponents(javax.swing.JFileChooser fc)
|
void |
uninstallUI(javax.swing.JComponent c)
|
void |
valueChanged(javax.swing.event.ListSelectionEvent e)
|
| Methods inherited from class javax.swing.plaf.basic.BasicFileChooserUI |
|---|
clearIconCache, createDoubleClickListener, createModel, getAcceptAllFileFilter, getAccessoryPanel, getApproveButtonMnemonic, getApproveButtonText, getApproveButtonToolTipText, getApproveSelectionAction, getCancelSelectionAction, getChangeToParentDirectoryAction, getDialogTitle, getDirectory, getFileChooser, getFileView, getGoHomeAction, getModel, getNewFolderAction, getUpdateAction, installDefaults, installIcons, isDirectorySelected, setDirectory, uninstallDefaults, uninstallIcons, uninstallListeners, 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 |
| Constructor Detail |
|---|
public FileChooserBasicUI(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.BasicFileChooserUIprotected javax.swing.JPanel getButtonPanel()
protected javax.swing.JPanel getBottomPanel()
protected 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 javax.swing.ActionMap getActionMap()
protected javax.swing.ActionMap createActionMap()
protected javax.swing.JPanel createList(javax.swing.JFileChooser fc)
protected javax.swing.JPanel createDetailsView(javax.swing.JFileChooser fc)
public javax.swing.event.ListSelectionListener createListSelectionListener(javax.swing.JFileChooser fc)
createListSelectionListener in class javax.swing.plaf.basic.BasicFileChooserUIfc - a JFileChooser
ListSelectionListenerpublic void uninstallUI(javax.swing.JComponent c)
uninstallUI in class javax.swing.plaf.basic.BasicFileChooserUIpublic 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 void ensureFileIsVisible(javax.swing.JFileChooser fc,
java.io.File f)
ensureFileIsVisible in class javax.swing.plaf.basic.BasicFileChooserUIpublic void rescanCurrentDirectory(javax.swing.JFileChooser fc)
rescanCurrentDirectory in class javax.swing.plaf.basic.BasicFileChooserUIpublic 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 void setDirectorySelected(boolean directorySelected)
setDirectorySelected in class javax.swing.plaf.basic.BasicFileChooserUIdirectorySelected - if a directory is currently selected.public java.lang.String getDirectoryName()
getDirectoryName in class javax.swing.plaf.basic.BasicFileChooserUIpublic void setDirectoryName(java.lang.String dirname)
setDirectoryName in class javax.swing.plaf.basic.BasicFileChooserUIprotected com.birosoft.liquid.FileChooserBasicUI.DirectoryComboBoxRenderer createDirectoryComboBoxRenderer(javax.swing.JFileChooser fc)
protected FileChooserBasicUI.DirectoryComboBoxModel createDirectoryComboBoxModel(javax.swing.JFileChooser fc)
protected FileChooserBasicUI.FilterComboBoxRenderer createFilterComboBoxRenderer()
protected FileChooserBasicUI.FilterComboBoxModel createFilterComboBoxModel()
public void valueChanged(javax.swing.event.ListSelectionEvent e)
protected javax.swing.JButton getApproveButton(javax.swing.JFileChooser fc)
getApproveButton in class javax.swing.plaf.basic.BasicFileChooserUI
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||