All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.java.swing.basic.BasicFileChooserUI

java.lang.Object
   |
   +----com.sun.java.swing.basic.BasicFileChooserUI

public class BasicFileChooserUI
extends Object
implements FileChooser. UI, ItemListener, ListSelectionListener, ActionListener, ChangeListener
A component to use for choosing a file. It is usually used through either its doDialog method as a dialog box, or through the doDialog method of an appropriate preview class.

See Also:
AudioPreview, ImagePreview, TextPreview, StandardDialog

Constructor Index

 o BasicFileChooserUI(FileChooser)

Method Index

 o actionPerformed(ActionEvent)
 o createUI(FileChooser)
 o deinstallUI(JComponent)
 o getInsets(JComponent)
 o getMaximumSize(JComponent)
 o getMinimumSize(JComponent)
 o getPreferredSize(JComponent)
 o installUI(JComponent)
 o isOK()
 o itemStateChanged(ItemEvent)
Called when some component in this dialog changes value
 o paint(Graphics, JComponent)
 o parentFrame()
 o setFilter(FileChooserFilter)
 o setPreview(Component)
 o setStyle(int)
 o stateChanged(ChangeEvent)
 o toString()
 o valueChanged(ListSelectionEvent)

Constructors

 o BasicFileChooserUI
 public BasicFileChooserUI(FileChooser b)

Methods

 o paint
 public void paint(Graphics g,
                   JComponent c)
 o getPreferredSize
 public Dimension getPreferredSize(JComponent c)
 o getMinimumSize
 public Dimension getMinimumSize(JComponent c)
 o getMaximumSize
 public Dimension getMaximumSize(JComponent c)
 o getInsets
 public Insets getInsets(JComponent c)
 o isOK
 public boolean isOK()
 o setPreview
 public void setPreview(Component p)
 o createUI
 public static FileChooser. UI createUI(FileChooser b)
 o installUI
 public void installUI(JComponent c)
 o deinstallUI
 public void deinstallUI(JComponent c)
 o valueChanged
 public void valueChanged(ListSelectionEvent e)
 o itemStateChanged
 public void itemStateChanged(ItemEvent e)
Called when some component in this dialog changes value

 o stateChanged
 public void stateChanged(ChangeEvent e)
 o actionPerformed
 public void actionPerformed(ActionEvent e)
 o parentFrame
 public JFrame parentFrame()
 o toString
 public String toString()
Overrides:
toString in class Object
 o setStyle
 public void setStyle(int style)
 o setFilter
 public void setFilter(FileChooserFilter fcf)

All Packages  Class Hierarchy  This Package  Previous  Next  Index