|
||||||||||
| 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
org.jvnet.substance.SubstanceFileChooserUI
public class SubstanceFileChooserUI
UI for file choosers in Substance look and feel.
| Nested Class Summary | |
|---|---|
protected class |
SubstanceFileChooserUI.DirectoryComboBoxAction
Acts when DirectoryComboBox has changed the selected item. |
protected class |
SubstanceFileChooserUI.DirectoryComboBoxModel
Data model for a type-face selection combo-box. |
protected class |
SubstanceFileChooserUI.FilterComboBoxModel
Data model for a type-face selection combo-box. |
class |
SubstanceFileChooserUI.FilterComboBoxRenderer
Render different type sizes and styles. |
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
SubstanceFileChooserUI(JFileChooser filechooser)
|
|
| Methods inherited from class javax.swing.plaf.ComponentUI |
|---|
contains, getAccessibleChild, getAccessibleChildrenCount, paint, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SubstanceFileChooserUI(JFileChooser filechooser)
| Method Detail |
|---|
public static ComponentUI createUI(JComponent c)
public void installUI(JComponent c)
installUI in class BasicFileChooserUIpublic void uninstallComponents(JFileChooser fc)
uninstallComponents in class BasicFileChooserUIpublic void installComponents(JFileChooser fc)
installComponents in class BasicFileChooserUIprotected void installStrings(JFileChooser fc)
installStrings in class BasicFileChooserUIprotected void installListeners(JFileChooser fc)
installListeners in class BasicFileChooserUIprotected ActionMap getActionMap()
protected ActionMap createActionMap()
protected JPanel createList(JFileChooser fc)
protected JPanel createDetailsView(JFileChooser fc)
public ListSelectionListener createListSelectionListener(JFileChooser fc)
createListSelectionListener in class BasicFileChooserUIfc - a JFileChooser
ListSelectionListenerpublic void uninstallUI(JComponent c)
uninstallUI in class BasicFileChooserUIpublic Dimension getPreferredSize(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 ComponentUIc - a JFileChooser
Dimension specifying the preferred width and
height of the file chooserpublic Dimension getMinimumSize(JComponent c)
JFileChooser.
getMinimumSize in class ComponentUIc - a JFileChooser
Dimension specifying the minimum width and
height of the file chooserpublic Dimension getMaximumSize(JComponent c)
JFileChooser.
getMaximumSize in class ComponentUIc - a JFileChooser
Dimension specifying the maximum width and
height of the file chooserpublic PropertyChangeListener createPropertyChangeListener(JFileChooser fc)
createPropertyChangeListener in class BasicFileChooserUI
public void ensureFileIsVisible(JFileChooser fc,
File f)
ensureFileIsVisible in class BasicFileChooserUIpublic void rescanCurrentDirectory(JFileChooser fc)
rescanCurrentDirectory in class BasicFileChooserUIpublic String getFileName()
getFileName in class BasicFileChooserUIpublic void setFileName(String filename)
setFileName in class BasicFileChooserUIprotected void setDirectorySelected(boolean directorySelected)
setDirectorySelected in class BasicFileChooserUIdirectorySelected - if a directory is currently selected.public String getDirectoryName()
getDirectoryName in class BasicFileChooserUIpublic void setDirectoryName(String dirname)
setDirectoryName in class BasicFileChooserUIprotected org.jvnet.substance.SubstanceFileChooserUI.DirectoryComboBoxRenderer createDirectoryComboBoxRenderer(JFileChooser fc)
protected SubstanceFileChooserUI.DirectoryComboBoxModel createDirectoryComboBoxModel(JFileChooser fc)
protected SubstanceFileChooserUI.FilterComboBoxRenderer createFilterComboBoxRenderer()
protected SubstanceFileChooserUI.FilterComboBoxModel createFilterComboBoxModel()
public void valueChanged(ListSelectionEvent e)
protected JButton getApproveButton(JFileChooser fc)
getApproveButton in class BasicFileChooserUI
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||