javax.swing.plaf.basic

Class BasicInternalFrameUI.GlassPaneDispatcher

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.
Method Summary
voidmouseClicked(MouseEvent e)
This method is called when the mouse is clicked on the glass pane.
voidmouseDragged(MouseEvent e)
This method is called when the mouse is dragged in the glass pane.
voidmouseEntered(MouseEvent e)
This method is called when the mouse enters the glass pane.
voidmouseExited(MouseEvent e)
This method is called when the mouse exits the glass pane.
voidmouseMoved(MouseEvent e)
This method is called when the mouse is moved in the glass pane.
voidmousePressed(MouseEvent e)
This method is called when the mouse is pressed in the glass pane.
voidmouseReleased(MouseEvent e)
This method is called when the mouse is released in the glass pane.

Method Detail

mouseClicked

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

Parameters: e The MouseEvent.

mouseDragged

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

Parameters: e The MouseEvent.

mouseEntered

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

Parameters: e The MouseEvent.

mouseExited

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

Parameters: e The MouseEvent.

mouseMoved

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

Parameters: e The MouseEvent.

mousePressed

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

Parameters: e The MouseEvent.

mouseReleased

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

Parameters: e The MouseEvent.