Spec-Zone .ru
спецификации, руководства, описания, API
|
|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.plaf.ComponentUI | +--javax.swing.plaf.FileChooserUI | +--javax.swing.plaf.basic.BasicFileChooserUI | +--javax.swing.plaf.metal.MetalFileChooserUI
Metal L&F implementation of a FileChooser.
Inner Class Summary | |
protected class |
MetalFileChooserUI.DirectoryComboBoxAction
Acts when DirectoryComboBox has changed the selected item. |
protected class |
MetalFileChooserUI.DirectoryComboBoxModel
Data model for a type-face selection combo-box. |
protected class |
MetalFileChooserUI.FileRenderer
|
protected class |
MetalFileChooserUI.FilterComboBoxModel
Data model for a type-face selection combo-box. |
class |
MetalFileChooserUI.FilterComboBoxRenderer
Render different type sizes and styles. |
protected class |
MetalFileChooserUI.SingleClickListener
|
Constructor Summary | |
MetalFileChooserUI(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 MetalFileChooserUI(JFileChooser filechooser)
Method Detail |
public static ComponentUI createUI(JComponent c)
public void installUI(JComponent c)
installUI
in class BasicFileChooserUI
public void uninstallComponents(JFileChooser fc)
uninstallComponents
in class BasicFileChooserUI
public void installComponents(JFileChooser fc)
installComponents
in class BasicFileChooserUI
protected JPanel getButtonPanel()
protected JPanel getBottomPanel()
protected void installStrings(JFileChooser fc)
installStrings
in class BasicFileChooserUI
protected void installListeners(JFileChooser fc)
installListeners
in class BasicFileChooserUI
protected ActionMap getActionMap()
protected ActionMap createActionMap()
protected JPanel createList(JFileChooser fc)
public void uninstallUI(JComponent c)
uninstallUI
in class BasicFileChooserUI
public Dimension getPreferredSize(JComponent c)
getPreferredSize
in class ComponentUI
public Dimension getMinimumSize(JComponent c)
getMinimumSize
in class ComponentUI
public Dimension getMaximumSize(JComponent c)
getMaximumSize
in class ComponentUI
public PropertyChangeListener createPropertyChangeListener(JFileChooser fc)
createPropertyChangeListener
in class BasicFileChooserUI
protected void removeControlButtons()
protected void addControlButtons()
public void ensureFileIsVisible(JFileChooser fc, File f)
ensureFileIsVisible
in class BasicFileChooserUI
public void rescanCurrentDirectory(JFileChooser fc)
rescanCurrentDirectory
in class BasicFileChooserUI
public String getFileName()
getFileName
in class BasicFileChooserUI
public void setFileName(String filename)
setFileName
in class BasicFileChooserUI
public String getDirectoryName()
getDirectoryName
in class BasicFileChooserUI
public void setDirectoryName(String dirname)
setDirectoryName
in class BasicFileChooserUI
protected javax.swing.plaf.metal.MetalFileChooserUI.DirectoryComboBoxRenderer createDirectoryComboBoxRenderer(JFileChooser fc)
protected MetalFileChooserUI.DirectoryComboBoxModel createDirectoryComboBoxModel(JFileChooser fc)
protected MetalFileChooserUI.FilterComboBoxRenderer createFilterComboBoxRenderer()
protected MetalFileChooserUI.FilterComboBoxModel createFilterComboBoxModel()
public void valueChanged(ListSelectionEvent e)
protected JButton getApproveButton(JFileChooser fc)
getApproveButton
in class BasicFileChooserUI
|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.