Spec-Zone .ru
спецификации, руководства, описания, API
JavaTM 2 Platform
Standard Edition

javax.swing.plaf.basic
Class BasicInternalFrameUI.GlassPaneDispatcher

java.lang.Object
  |
  +--javax.swing.plaf.basic.BasicInternalFrameUI.GlassPaneDispatcher
Enclosing class:
BasicInternalFrameUI

protected class BasicInternalFrameUI.GlassPaneDispatcher
extends Object
implements MouseInputListener


Constructor Summary
protected BasicInternalFrameUI.GlassPaneDispatcher()
           
 
Method Summary
 void mouseClicked(MouseEvent e)
          Ignore mouseClicked events.
 void mouseDragged(MouseEvent e)
          Ignore mouseDragged events.
 void mouseEntered(MouseEvent e)
          Forward the mouseEntered event to the underlying child container.
 void mouseExited(MouseEvent e)
          Forward the mouseExited event to the underlying child container.
 void mouseMoved(MouseEvent e)
          Forward the mouseMoved event to the underlying child container.
 void mousePressed(MouseEvent e)
          When inactive, mouse events are forwarded as appropriate either to the UI to activate the frame or to the underlying child component.
 void mouseReleased(MouseEvent e)
          Ignore mouseReleased events.
 
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

mousePressed

public void mousePressed(MouseEvent e)
When inactive, mouse events are forwarded as appropriate either to the UI to activate the frame or to the underlying child component. In keeping with the MDI messaging model (which JInternalFrame emulates), only the mousePressed event is forwarded to the UI to activate the frame. The mouseEntered, mouseMoved, and MouseExited events are forwarded to the underlying child component, using methods derived from those in Container. The other mouse events are purposely ignored, since they have no meaning to either the frame or its children when the frame is inactive.

mouseEntered

public void mouseEntered(MouseEvent e)
Forward the mouseEntered event to the underlying child container.
See Also:
mousePressed(java.awt.event.MouseEvent)

mouseMoved

public void mouseMoved(MouseEvent e)
Forward the mouseMoved event to the underlying child container.
See Also:
mousePressed(java.awt.event.MouseEvent)

mouseExited

public void mouseExited(MouseEvent e)
Forward the mouseExited event to the underlying child container.
See Also:
mousePressed(java.awt.event.MouseEvent)

mouseClicked

public void mouseClicked(MouseEvent e)
Ignore mouseClicked events.
See Also:
mousePressed(java.awt.event.MouseEvent)

mouseReleased

public void mouseReleased(MouseEvent e)
Ignore mouseReleased events.
See Also:
mousePressed(java.awt.event.MouseEvent)

mouseDragged

public void mouseDragged(MouseEvent e)
Ignore mouseDragged events.
See Also:
mousePressed(java.awt.event.MouseEvent)

JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.