javax.swing.plaf.metal

Class MetalFileChooserUI.SingleClickListener

protected class MetalFileChooserUI.SingleClickListener extends MouseAdapter

A mouse listener for the {@link JFileChooser}. This listener is used for editing filenames.
Constructor Summary
SingleClickListener(JList list)
Creates a new listener.
Method Summary
voidmouseClicked(MouseEvent e)
Receives notification of a mouse click event.

Constructor Detail

SingleClickListener

public SingleClickListener(JList list)
Creates a new listener.

Parameters: list the directory/file list.

Method Detail

mouseClicked

public void mouseClicked(MouseEvent e)
Receives notification of a mouse click event.

Parameters: e the event.