javax.swing.plaf.metal
Class MetalFileChooserUI.SingleClickListener

java.lang.Object
  extended by java.awt.event.MouseAdapter
      extended by javax.swing.plaf.metal.MetalFileChooserUI.SingleClickListener
All Implemented Interfaces:
MouseListener, EventListener
Enclosing class:
MetalFileChooserUI

protected class MetalFileChooserUI.SingleClickListener
extends MouseAdapter

A mouse listener for the JFileChooser. This listener is used for editing filenames.


Constructor Summary
MetalFileChooserUI.SingleClickListener(JList list)
          Creates a new listener.
 
Method Summary
 void mouseClicked(MouseEvent e)
          Receives notification of a mouse click event.
 
Methods inherited from class java.awt.event.MouseAdapter
mouseEntered, mouseExited, mousePressed, mouseReleased
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetalFileChooserUI.SingleClickListener

public MetalFileChooserUI.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.

Specified by:
mouseClicked in interface MouseListener
Overrides:
mouseClicked in class MouseAdapter
Parameters:
e - the event.