javax.swing.plaf.basic
Class BasicFileChooserUI.DoubleClickListener

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by java.awt.event.MouseAdapter sample code for java.awt.event.MouseAdapter definition code for java.awt.event.MouseAdapter 
      extended by javax.swing.plaf.basic.BasicFileChooserUI.DoubleClickListener
All Implemented Interfaces:
MouseListener sample code for java.awt.event.MouseListener definition code for java.awt.event.MouseListener , EventListener sample code for java.util.EventListener definition code for java.util.EventListener
Enclosing class:
BasicFileChooserUI sample code for javax.swing.plaf.basic.BasicFileChooserUI definition code for javax.swing.plaf.basic.BasicFileChooserUI

protected class BasicFileChooserUI.DoubleClickListener
extends MouseAdapter sample code for java.awt.event.MouseAdapter definition code for java.awt.event.MouseAdapter


Constructor Summary
BasicFileChooserUI.DoubleClickListener sample code for javax.swing.plaf.basic.BasicFileChooserUI.DoubleClickListener.BasicFileChooserUI.DoubleClickListener(javax.swing.JList) definition code for javax.swing.plaf.basic.BasicFileChooserUI.DoubleClickListener.BasicFileChooserUI.DoubleClickListener(javax.swing.JList) (JList sample code for javax.swing.JList definition code for javax.swing.JList  list)
           
 
Method Summary
 void mouseClicked sample code for javax.swing.plaf.basic.BasicFileChooserUI.DoubleClickListener.mouseClicked(java.awt.event.MouseEvent) definition code for javax.swing.plaf.basic.BasicFileChooserUI.DoubleClickListener.mouseClicked(java.awt.event.MouseEvent) (MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  e)
          Invoked when the mouse has been clicked on a component.
 void mouseEntered sample code for javax.swing.plaf.basic.BasicFileChooserUI.DoubleClickListener.mouseEntered(java.awt.event.MouseEvent) definition code for javax.swing.plaf.basic.BasicFileChooserUI.DoubleClickListener.mouseEntered(java.awt.event.MouseEvent) (MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  e)
          The JList used for representing the files is created by subclasses, but the selection is monitored in this class.
 
Methods inherited from class java.awt.event.MouseAdapter sample code for java.awt.event.MouseAdapter definition code for java.awt.event.MouseAdapter
mouseExited sample code for java.awt.event.MouseAdapter.mouseExited(java.awt.event.MouseEvent) definition code for java.awt.event.MouseAdapter.mouseExited(java.awt.event.MouseEvent) , mousePressed sample code for java.awt.event.MouseAdapter.mousePressed(java.awt.event.MouseEvent) definition code for java.awt.event.MouseAdapter.mousePressed(java.awt.event.MouseEvent) , mouseReleased sample code for java.awt.event.MouseAdapter.mouseReleased(java.awt.event.MouseEvent) definition code for java.awt.event.MouseAdapter.mouseReleased(java.awt.event.MouseEvent)
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Constructor Detail

BasicFileChooserUI.DoubleClickListener sample code for javax.swing.plaf.basic.BasicFileChooserUI.DoubleClickListener(javax.swing.JList) definition code for javax.swing.plaf.basic.BasicFileChooserUI.DoubleClickListener(javax.swing.JList)

public BasicFileChooserUI.DoubleClickListener(JList sample code for javax.swing.JList definition code for javax.swing.JList  list)
Method Detail

mouseEntered sample code for javax.swing.plaf.basic.BasicFileChooserUI.DoubleClickListener.mouseEntered(java.awt.event.MouseEvent) definition code for javax.swing.plaf.basic.BasicFileChooserUI.DoubleClickListener.mouseEntered(java.awt.event.MouseEvent)

public void mouseEntered(MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  e)
The JList used for representing the files is created by subclasses, but the selection is monitored in this class. The TransferHandler installed in the JFileChooser is also installed in the file list as it is used as the actual transfer source. The list is updated on a mouse enter to reflect the current data transfer state of the file chooser.

Specified by:
mouseEntered sample code for java.awt.event.MouseListener.mouseEntered(java.awt.event.MouseEvent) definition code for java.awt.event.MouseListener.mouseEntered(java.awt.event.MouseEvent) in interface MouseListener sample code for java.awt.event.MouseListener definition code for java.awt.event.MouseListener
Overrides:
mouseEntered sample code for java.awt.event.MouseAdapter.mouseEntered(java.awt.event.MouseEvent) definition code for java.awt.event.MouseAdapter.mouseEntered(java.awt.event.MouseEvent) in class MouseAdapter sample code for java.awt.event.MouseAdapter definition code for java.awt.event.MouseAdapter

mouseClicked sample code for javax.swing.plaf.basic.BasicFileChooserUI.DoubleClickListener.mouseClicked(java.awt.event.MouseEvent) definition code for javax.swing.plaf.basic.BasicFileChooserUI.DoubleClickListener.mouseClicked(java.awt.event.MouseEvent)

public void mouseClicked(MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  e)
Description copied from class: MouseAdapter sample code for java.awt.event.MouseAdapter.mouseClicked(java.awt.event.MouseEvent) definition code for java.awt.event.MouseAdapter.mouseClicked(java.awt.event.MouseEvent)
Invoked when the mouse has been clicked on a component.

Specified by:
mouseClicked sample code for java.awt.event.MouseListener.mouseClicked(java.awt.event.MouseEvent) definition code for java.awt.event.MouseListener.mouseClicked(java.awt.event.MouseEvent) in interface MouseListener sample code for java.awt.event.MouseListener definition code for java.awt.event.MouseListener
Overrides:
mouseClicked sample code for java.awt.event.MouseAdapter.mouseClicked(java.awt.event.MouseEvent) definition code for java.awt.event.MouseAdapter.mouseClicked(java.awt.event.MouseEvent) in class MouseAdapter sample code for java.awt.event.MouseAdapter definition code for java.awt.event.MouseAdapter