javax.swing.plaf.basic
Class BasicInternalFrameUI.GlassPaneDispatcher

java.lang.Object
  extended by javax.swing.plaf.basic.BasicInternalFrameUI.GlassPaneDispatcher
All Implemented Interfaces:
MouseListener, MouseMotionListener, EventListener, MouseInputListener
Enclosing class:
BasicInternalFrameUI

protected class BasicInternalFrameUI.GlassPaneDispatcher
extends Object
implements MouseInputListener

This helper class is used to listen to the JDesktopPane's glassPane for MouseEvents. The JInternalFrame can then be selected if a click is detected on its children.


Constructor Summary
protected BasicInternalFrameUI.GlassPaneDispatcher()
           
 
Method Summary
 void mouseClicked(MouseEvent e)
          This method is called when the mouse is clicked on the glass pane.
 void mouseDragged(MouseEvent e)
          This method is called when the mouse is dragged in the glass pane.
 void mouseEntered(MouseEvent e)
          This method is called when the mouse enters the glass pane.
 void mouseExited(MouseEvent e)
          This method is called when the mouse exits the glass pane.
 void mouseMoved(MouseEvent e)
          This method is called when the mouse is moved in the glass pane.
 void mousePressed(MouseEvent e)
          This method is called when the mouse is pressed in the glass pane.
 void mouseReleased(MouseEvent e)
          This method is called when the mouse is released in the glass pane.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicInternalFrameUI.GlassPaneDispatcher

protected BasicInternalFrameUI.GlassPaneDispatcher()
Method Detail

mouseEntered

public void mouseEntered(MouseEvent e)
This method is called when the mouse enters the glass pane.

Specified by:
mouseEntered in interface MouseListener
Parameters:
e - The MouseEvent.

mouseClicked

public void mouseClicked(MouseEvent e)
This method is called when the mouse is clicked on the glass pane.

Specified by:
mouseClicked in interface MouseListener
Parameters:
e - The MouseEvent.

mouseDragged

public void mouseDragged(MouseEvent e)
This method is called when the mouse is dragged in the glass pane.

Specified by:
mouseDragged in interface MouseMotionListener
Parameters:
e - The MouseEvent.

mouseExited

public void mouseExited(MouseEvent e)
This method is called when the mouse exits the glass pane.

Specified by:
mouseExited in interface MouseListener
Parameters:
e - The MouseEvent.

mouseMoved

public void mouseMoved(MouseEvent e)
This method is called when the mouse is moved in the glass pane.

Specified by:
mouseMoved in interface MouseMotionListener
Parameters:
e - The MouseEvent.

mousePressed

public void mousePressed(MouseEvent e)
This method is called when the mouse is pressed in the glass pane.

Specified by:
mousePressed in interface MouseListener
Parameters:
e - The MouseEvent.

mouseReleased

public void mouseReleased(MouseEvent e)
This method is called when the mouse is released in the glass pane.

Specified by:
mouseReleased in interface MouseListener
Parameters:
e - The MouseEvent.