public class

WindowsPlacesBar

extends JToolBar
implements ActionListener PropertyChangeListener
java.lang.Object
   ↳ java.awt.Component
     ↳ java.awt.Container
       ↳ javax.swing.JComponent
         ↳ javax.swing.JToolBar
           ↳ sun.swing.WindowsPlacesBar

Class Overview

WARNING: This class is an implementation detail and is only public so that it can be used by two packages. You should NOT consider this public API.

Summary

[Expand]
Inherited Constants
From class javax.swing.JComponent
From class java.awt.Component
From interface java.awt.image.ImageObserver
From interface javax.swing.SwingConstants
[Expand]
Inherited Fields
From class javax.swing.JComponent
Public Constructors
WindowsPlacesBar(JFileChooser fc, boolean isXPStyle)
Public Methods
void actionPerformed(ActionEvent e)
Invoked when an action occurs.
Dimension getPreferredSize()
If the preferredSize has been set to a non-null value just returns it.
void propertyChange(PropertyChangeEvent e)
This method gets called when a bound property is changed.
Protected Methods
void doDirectoryChanged(File f)
[Expand]
Inherited Methods
From class javax.swing.JToolBar
From class javax.swing.JComponent
From class java.awt.Container
From class java.awt.Component
From class java.lang.Object
From interface java.awt.MenuContainer
From interface java.awt.event.ActionListener
From interface java.awt.image.ImageObserver
From interface java.beans.PropertyChangeListener
From interface javax.accessibility.Accessible

Public Constructors

public WindowsPlacesBar (JFileChooser fc, boolean isXPStyle)

Public Methods

public void actionPerformed (ActionEvent e)

Invoked when an action occurs.

public Dimension getPreferredSize ()

If the preferredSize has been set to a non-null value just returns it. If the UI delegate's getPreferredSize method returns a non null value then return that; otherwise defer to the component's layout manager.

Returns
  • the value of the preferredSize property

public void propertyChange (PropertyChangeEvent e)

This method gets called when a bound property is changed.

Parameters
e A PropertyChangeEvent object describing the event source and the property that has changed.

Protected Methods

protected void doDirectoryChanged (File f)